June 2001
Intermediate to advanced
706 pages
24h 10m
English
SendNotifyMessage
If this function is used to send a message to a window in the same thread, the calling function halts processing until the SendNotifyMessage function returns, similar to the SendMessage function. If the message is sent to a window in a different thread, the function returns immediately:
Public Declare Function SendNotifyMessage Lib "user32" _
Alias "SendNotifyMessageA" _
(ByVal hwnd As Long, ByVal Msg As Long, _
ByVal wParam As Long, ByVal lParam As Long) As Longhwnd
The handle of the target window, or HWND_BROADCAST
if the message is to be sent to all top-level windows in the system
wMsg
The message to send to the target window
wParam
The first parameter of the message
lParam
The second parameter of the message
This function returns only an error status (zero on failure, nonzero on success) and no other information.
Read now
Unlock full access