Ann: lesson 5 in Windows API level GUI programming "Window messagebasics"

Discussion in 'C++' started by Alf P. Steinbach, Jan 8, 2012.

  1. <url:
    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
     
    Alf P. Steinbach, Jan 8, 2012
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. pabbu
    Replies:
    8
    Views:
    772
    Marc Boyer
    Nov 7, 2005
  2. Scorpiion
    Replies:
    1
    Views:
    1,405
    Scorpiion
    Dec 25, 2008
  3. Alf P. Steinbach
    Replies:
    7
    Views:
    237
    Alf P. Steinbach
    Dec 20, 2011
  4. Alf P. Steinbach
    Replies:
    7
    Views:
    424
    Alf P. Steinbach
    Jan 4, 2012
  5. Replies:
    2
    Views:
    175
    bbiker
    Oct 25, 2007
Loading...

Share This Page