How To Define Private Messages for Application Use (86835)
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 Q86835 SUMMARY
In the Microsoft Windows environment, an application can define a private
message for its own use without calling the RegisterWindowMessage API.
Message numbers between 0x8000 and 0xBFFF are reserved for this purpose.
For Windows NT and Windows 95, the system defines a new message WM_APP
(value 0x8000). Applications can make use of the range WM_APP through
0xBFFF for private messages without conflict. The only requirement is that
the .EXE file must be marked version 4.0 (use the linker switch
/subsystem:windows,4.0). Windows NT 3.5 and 3.51 and Windows 95 will run
applications marked version 4.0.
Modification Type: | Minor | Last Reviewed: | 7/11/2005 |
---|
Keywords: | kbhowto kbWndw KB86835 |
---|
|