message_handler_t Class Reference
Detailed DescriptionClass that manages a message handling function attched to a win32 HWND. Definition at line 30 of file windows_message_handler.hpp. Member Typedef Documentation
Function prototype for the message handling function.
Definition at line 43 of file windows_message_handler.hpp. Constructor & Destructor Documentation
Member Function Documentation
Attach the message handler to the window with a specific string handle. A given string handle can be attached to a window at most once, attempting to re-install a handler with the same string handle on a given window is an error. Attempting to install a message handler to two windows at the same time is an error. Note that the ProcName template argument is a const char*, which requires a very specific coding style to be used by clients. The string being passed must be staticly defined, but cannot be a string literal, as the following example demonstrates:
Definition at line 66 of file windows_message_handler.hpp.
Definition at line 71 of file windows_message_handler.hpp.
Definition at line 74 of file windows_message_handler.hpp.
|