Page 18 - DCAP408_WEB_PROGRAMMING
P. 18

Windows Programming




                    Notes














                                   //The Message Processing Function

                                   Called by Windows to  manage all the messages for a specified window that aren’t queued,
                                   which involves those initiated in the message loop in WinMain().



                                     Did u know?  The queued messages are mostly those caused by user input from either the
                                     mouse or the keyboard.
                                   The non-queued messages for which Windows calls your WindowProc() function directly, are
                                   either messages that your program formed, usually as a result of getting a message from the
                                   queue and then dispatching it, or messages that are related with window management—like
                                   managing menus and scrollbars, or resizing the window.//















































          12                                LOVELY PROFESSIONAL UNIVERSITY
   13   14   15   16   17   18   19   20   21   22   23