THIS CHAPTER FOCUSES on the window manager, starting with some basic design points and then introducing some code to illustrate the various types of modality and then investigating ways we can harness the design of Windows modal loops to accomplish some neat tricks. Nonprogrammers are welcome to skip to the next chapter when the subject matter here becomes a bit too technical.
TO UNDERSTAND THIS properly, it helps to know where
WM_MOUSEMOVE messages come from.
When the hardware mouse reports an interrupt, indicating that the physical mouse has moved, Windows determines which thread should receive the mouse move message and sets a flag on that thread’s input queue that ...