Platforms to show: All Mac Windows Linux Cross-Platform
Back to WindowsSystemTrayMBS class.
WindowsSystemTrayMBS.Add as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Windows System Tray | MBS Win Plugin | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
Returns true if successfull.
You can change the Icon&Mask or the Tooltip string.
WindowsSystemTrayMBS.Modify as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Windows System Tray | MBS Win Plugin | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
Returns true if successfull.
You can change the Icon&Mask or the Tooltip string.
WindowsSystemTrayMBS.Remove as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Windows System Tray | MBS Win Plugin | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
Returns true if successfull.
WindowsSystemTrayMBS.SetFocus as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Windows System Tray | MBS Win Plugin | 7.4 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
May be useful to call as cleanup after some context menu was shown.
WindowsSystemTrayMBS.SetIconFile(IconFile as FolderItem, IconID as Integer) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Windows System Tray | MBS Win Plugin | 7.4 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
Returns true on success and false on failure.
What image depths are used and supported depends on the Windows version.
IconID = 0 points to the first icon in the file.
The icon file can be .ico, .exe, .dll or similar files with windows icon resource.
Some examples using this method:
WindowsSystemTrayMBS.SetIconPicture(Icon as picture, Mask as picture) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Windows System Tray | MBS Win Plugin | 7.4 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
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.
Some examples using this method:
The items on this page are in the following plugins: MBS Win Plugin.