A
Alf P. Steinbach
<url:
http://learnwinapi.wordpress.com/2012/01/08/lesson-5-window-message-basics/>
Contents of this lesson:
This lesson’s main points:
* Windows window messages are much like C++ virtual functions.
* The packing and unpacking of messages, having messages as data,
introduces some complexity.
* Dialog procedures impose special (complex) requirements on message
handling.
Cheers & enjoy,
- Alf
http://learnwinapi.wordpress.com/2012/01/08/lesson-5-window-message-basics/>
Contents of this lesson:
The power and limits of resources.
Packed message arguments, manual unpacking.
Use a separate message handler function for each message.
Unpack arguments via undocumented message cracker macros.
Be pedantically correct: support message results.
This lesson’s main points:
* Windows window messages are much like C++ virtual functions.
* The packing and unpacking of messages, having messages as data,
introduces some complexity.
* Dialog procedures impose special (complex) requirements on message
handling.
Cheers & enjoy,
- Alf