Xojo Conferences
MBSSep2018MunichDE
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

WinNotificationMBS.Constructor
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Notifications MBS Win Plugin 16.2 No Yes No Yes, Windows only No
Function: The default constructor.
Notes: Creates an invisible dummy window to listen for notifications.

See also:

Feedback, Comments & Corrections

WinNotificationMBS.Constructor(control as RectControl)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Notifications MBS Win Plugin 17.0 No Yes No No No
Function: The control constructor.
Notes:
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:

Feedback, Comments & Corrections

WinNotificationMBS.Constructor(Window as window)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Notifications MBS Win Plugin 16.2 No Yes No No No
Function: The window constructor.
Notes:
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:

Feedback, Comments & Corrections

WinNotificationMBS.Constructor(WindowHandle as Integer)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Notifications MBS Win Plugin 17.1 Yes Yes Yes No No
Function: The window constructor.
Notes:
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:

Feedback, Comments & Corrections

WinNotificationMBS.IsListeningFor(MessageID as Integer) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Notifications MBS Win Plugin 14.2 No Yes No Yes, Windows only No
Function: Whether this object is listening for the given message ID.
Example:
dim w as new WinNotificationMBS

const WM_TIMECHANGE = &h001E
if w.ListenForMessage(WM_TIMECHANGE) then
MsgBox str(w.IsListeningFor(WM_TIMECHANGE))
end if
Notes: Returns true if we listen for this notification name or false if not.

See also:

Feedback, Comments & Corrections

WinNotificationMBS.IsListeningFor(name as string) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Notifications MBS Win Plugin 12.1 No Yes No Yes, Windows only No
Function: Whether this object is listening for the given notification.
Example:
dim w as new WinNotificationMBS

if w.ListenForMessage("Hello") then
MsgBox str(w.IsListeningFor("Hello"))
end if
Notes: Returns true if we listen for this notification name or false if not.

See also:

Feedback, Comments & Corrections

WinNotificationMBS.ListenForMessage(MessageID as Integer) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Notifications MBS Win Plugin 14.2 No Yes No Yes, Windows only No
Function: Listens for given notification message id.
Notes: Returns true on success and false on failure.

See also:

Feedback, Comments & Corrections

WinNotificationMBS.ListenForMessage(name as string) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Notifications MBS Win Plugin 12.1 No Yes No Yes, Windows only No
Function: Listens for given notification name.
Notes: Returns true on success and false on failure.

See also:

Feedback, Comments & Corrections

WinNotificationMBS.StopListeningForMessage(MessageID as Integer) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Notifications MBS Win Plugin 14.2 No Yes No Yes, Windows only No
Function: Stops listening for a given message ID.
Example:
dim w as new WinNotificationMBS

const WM_TIMECHANGE = &h001E
if w.ListenForMessage(WM_TIMECHANGE) then
if w.StopListeningForMessage(WM_TIMECHANGE) then
MsgBox "OK"
end if
end if

See also:

Feedback, Comments & Corrections

WinNotificationMBS.StopListeningForMessage(name as string) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Notifications MBS Win Plugin 12.1 No Yes No Yes, Windows only No
Function: Stops listening for a given notification name.
Example:
dim w as new WinNotificationMBS

if w.ListenForMessage("Hello") then
if w.StopListeningForMessage("Hello") then
MsgBox "OK"
end if
end if

See also:

Feedback, Comments & Corrections

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





Links
MBS Xojo PDF Plugins