How To Nonzero Return from SendMessage() with HWND_BROADCAST (102588)
The information in this article applies to:
- Microsoft Platform Software Development Kit (SDK) 1.0
- Microsoft Windows Software Development Kit (SDK) 3.1
This article was previously published under Q102588 SUMMARY
The SendMessage() function calls the window procedure for the
specified window and does not return until that window has processed
the message and returned a value. Applications can send messages to
all top-level windows in the system by specifying HWND_BROADCAST as
the first parameter to the SendMessage() function. In doing so,
however, applications lose access to the return values resulting from
the SendMessage() call to each of the top-level windows.
Modification Type: | Minor | Last Reviewed: | 7/11/2005 |
---|
Keywords: | kbhowto kbWndw KB102588 |
---|
|