Platforms to show: All Mac Windows Linux Cross-Platform
Back to WinNotificationMBS class.
WinNotificationMBS.Constructor
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Notifications | MBS Win Plugin | 16.2 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
Creates an invisible dummy window to listen for notifications.
See also:
WinNotificationMBS.Constructor(Control as DesktopUIControl)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Notifications | MBS Win Plugin | 22.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
Takes an existing Xojo control and intercepts messages going there to listen for the notifications you are interested for.
The class keeps a reference to the control to make sure it is not destroyed before this object is destroyed.
See also:
WinNotificationMBS.Constructor(control as RectControl)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Notifications | MBS Win Plugin | 17.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
Takes an existing Xojo control and intercepts messages going there to listen for the notifications you are interested for.
The class keeps a reference to the control to make sure it is not destroyed before this object is destroyed.
See also:
WinNotificationMBS.Constructor(Window as DesktopWindow)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Notifications | MBS Win Plugin | 22.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
Takes an existing Xojo Window and intercepts messages going there to listen for the notifications you are interested for.
If you listen for global notifications sent to all windows, we prefer the other constructor.
The class keeps a reference to the window to make sure it is not destroyed before this object is destroyed.
See also:
WinNotificationMBS.Constructor(Window as window)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Notifications | MBS Win Plugin | 16.2 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
Takes an existing Xojo Window and intercepts messages going there to listen for the notifications you are interested for.
If you listen for global notifications sent to all windows, we prefer the other constructor.
The class keeps a reference to the window to make sure it is not destroyed before this object is destroyed.
See also:
WinNotificationMBS.Constructor(WindowHandle as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Notifications | MBS Win Plugin | 17.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
Takes an existing window and intercepts messages going there to listen for the notifications you are interested for.
If you listen for global notifications sent to all windows, we prefer the other constructor.
The class keeps a reference to the window to make sure it is not destroyed before this object is destroyed.
See also:
WinNotificationMBS.IsListeningFor(MessageID as Integer) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Notifications | MBS Win Plugin | 14.2 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
Returns true if we listen for this notification name or false if not.
See also:
WinNotificationMBS.IsListeningFor(name as string) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Notifications | MBS Win Plugin | 12.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
Returns true if we listen for this notification name or false if not.
See also:
WinNotificationMBS.ListenForMessage(MessageID as Integer) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Notifications | MBS Win Plugin | 14.2 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
Returns true on success and false on failure.
See also:
Some examples using this method:
WinNotificationMBS.ListenForMessage(name as string) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Notifications | MBS Win Plugin | 12.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
Returns true on success and false on failure.
See also:
WinNotificationMBS.StopListeningForMessage(MessageID as Integer) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Notifications | MBS Win Plugin | 14.2 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
See also:
Some examples using this method:
WinNotificationMBS.StopListeningForMessage(name as string) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Notifications | MBS Win Plugin | 12.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
See also:
The items on this page are in the following plugins: MBS Win Plugin.