Windows Message Loop
references:
excellent post
Message
windows message is just integers
#define WM_INITDIALOG 0x0110
#define WM_COMMAND 0x0111
#define WM_LBUTTONDOWN 0x0201
....
messages are often used to communicate between windows
event like keyboard typing, mouse moving, etc will trigger the system send a message to correspond window …
more ...