windows_programming_notes.nbk: Home | Index | Next Page: windows class registration | Previous Page: WindowProc


 windows

Windows classes need to be registered before they can be used (built-in windows classes don't). This tells the operating system about your window.

windows class registration

After the windows class has been registered, instances of the window can be created.

windows creation

The operating system interacts with a window by sending it messages. A function is required to decode these messages and perform any actions required in response. The address of this function is part of the information provided to windows during registration.

windows message decoding

If you don't respond to the WM_DESTROY message, your window won't be destroyed and your program will not close.

windows destruction

An attempt to list all the messages a user created window might see:


windows_programming_notes.nbk: Home | Index | Next Page: windows class registration | Previous Page: WindowProc


Notebook exported on Monday, 7 July 2008, 18:56:50 PM Eastern Daylight Time