Platforms to show: All Mac Windows Linux Cross-Platform

WinNotificationMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Notifications MBS Win Plugin 12.1 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
This is a class to send broadcast message to all windows applications listening for this notification.

If you have several applications, you can send notifications from one to another.

Windows Desktop application: Sending and receiving notification works.
Windows Console application: Sending works.
Windows Web application: Sending works. Receives notification of own application, but of others.

This class is useful to tell other instance of your application or other application about something. Like for example whether background process is done.

On Mac OS X you can use NSNotificationMBS class for similar functionality.

With 14.2 plugins we added possibility to listen for any windows broadcast message. Like for example for WM_TIMECHANGE.

  • event GotNotification(Message as Integer, Name as string, Value1 as Integer, Value2 as Integer, byref Result as Integer, byref Handled as boolean)
  • property WindowHandle as Integer
  • 12 methods
  • 3 shared methods
    • shared method SendMessage(byref result as Integer, MessageID as Integer, Value1 as Integer = 0, Value2 as Integer = 0, TimeOut as Integer = 10) as boolean
    • shared method SendMessage(name as string, Value1 as Integer = 0, Value2 as Integer = 0, TimeOut as Integer = 10) as boolean
    • shared method SendMessageToWindow(WindowHandle as Integer, byref result as Integer, MessageID as Integer, Value1 as Integer = 0, Value2 as Integer = 0, TimeOut as Integer = 10) as boolean

This class has no sub classes.

Some examples using this class:

Blog Entries

Xojo Developer Magazine

Release notes

  • Version 17.1

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


WinMouseFilterMBS   -   WinPhotoAcquireDeviceSelectionDialogMBS


The biggest plugin in space...