Platforms to show: All Mac Windows Linux Cross-Platform
Back to Window class.
Window.SetWindowIconMBS(Type as Integer, File as FolderItem, IconID as Integer) as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Windows | MBS Win Plugin | 7.4 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
Returns true on success and false on failure.
What image depths are used and supported depends on the Windows version.
Type is 0 for a small icon and 1 for a big icon.
See also:
Some examples using this method:
Window.SetWindowIconMBS(Type as Integer, Icon as Picture, Mask as Picture) as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Windows | MBS Win Plugin | 7.4 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
The mask picture ist converted to black/white.
What image depths are used and supported depends on the Windows version.
Returns true on success and false on failure.
Possible values for type:
ICON_BIG = 1 | Set the large icon for the window. |
ICON_SMALL = 0 | Set the small icon for the window. |
See also:
Some examples using this method:
The items on this page are in the following plugins: MBS Win Plugin.