Platforms to show: All Mac Windows Linux Cross-Platform

Back to WindowsPropertiesMBS class.

WindowsPropertiesMBS.Close

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Windows MBS Win Plugin 17.5 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Closes properties.

Same as destructor.

WindowsPropertiesMBS.Commit

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Windows MBS Win Plugin 17.5 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Commits values.

Optional as window properties are set directly.
LastError and LastErrorMessage are set.

WindowsPropertiesMBS.Constructor(Win as DesktopWindow)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Windows MBS Win Plugin 22.0 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Retrieves an object that represents a specific window's collection of properties, which allows those properties to be queried or set.

Requires Windows 7 or Windows Server 2008 R2 or newer.

An application can use this function to obtain access to a window's property store so that it can set an explicit Application User Model ID (AppUserModelID) in the System.AppUserModel.ID property.

Raises FunctionNotFoundException if function is not available, PlatformNotSupportedException if not running on Windows, NilObjectException if window is nil or invalid and UnsupportedOperationException if Window properties can't be queried.

See also:

WindowsPropertiesMBS.Constructor(Win as Window)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Windows MBS Win Plugin 17.5 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Retrieves an object that represents a specific window's collection of properties, which allows those properties to be queried or set.

Requires Windows 7 or Windows Server 2008 R2 or newer.

An application can use this function to obtain access to a window's property store so that it can set an explicit Application User Model ID (AppUserModelID) in the System.AppUserModel.ID property.

Raises FunctionNotFoundException if function is not available, PlatformNotSupportedException if not running on Windows, NilObjectException if window is nil or invalid and UnsupportedOperationException if Window properties can't be queried.

See also:

WindowsPropertiesMBS.Count as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Windows MBS Win Plugin 17.5 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Queries number of values.
Example
dim w as new WindowsPropertiesMBS(self)

// show all keys with values
dim c as integer = w.count
for i as integer = 0 to c-1
dim k as string = w.key(i)
MsgBox k+" "+w.Value(k)
next

LastError and LastErrorMessage are set.

WindowsPropertiesMBS.Key(Index as Integer) as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Windows MBS Win Plugin 17.5 ❌ No ✅ Yes ❌ No ❌ No Desktop only
The key with given index.

Index from 0 to Count-1.
Keys are passed as UUID followed by property ID.
LastError and LastErrorMessage are set.

WindowsPropertiesMBS.Value(Key as String) as Variant

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows MBS Win Plugin 17.5 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Set or query property value.
Example
dim w as new WindowsPropertiesMBS(self)

// show all keys with values
dim c as integer = w.count
for i as integer = 0 to c-1
dim k as string = w.key(i)
MsgBox k+" "+w.Value(k)
next

Keys are passed as UUID followed by property ID.
LastError and LastErrorMessage are set.
(Read and Write computed property)

WindowsPropertiesMBS.Values as Dictionary

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Windows MBS Win Plugin 20.0 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Queries all values as dictionary.

The dictionary is a copy, so changes to the dictionary are not going back to the window.

The items on this page are in the following plugins: MBS Win Plugin.


The biggest plugin in space...