Click here to Skip to main content
15,922,894 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: speed: loading bitmap Pin
Anonymous25-Oct-02 12:55
Anonymous25-Oct-02 12:55 
GeneralRe: speed: loading bitmap Pin
Paul M Watt25-Oct-02 21:19
mentorPaul M Watt25-Oct-02 21:19 
GeneralTemplate confusion Pin
Todd Smith25-Oct-02 8:09
Todd Smith25-Oct-02 8:09 
GeneralRe: Template confusion Pin
Navin25-Oct-02 10:30
Navin25-Oct-02 10:30 
Generalmapping and unmapping a resource Pin
Tom Wright25-Oct-02 7:36
Tom Wright25-Oct-02 7:36 
Generalflexgrid Pin
Anthony988725-Oct-02 7:05
Anthony988725-Oct-02 7:05 
QuestionDon't show all resource icons in explorer? Pin
Anonymous25-Oct-02 6:00
Anonymous25-Oct-02 6:00 
AnswerRe: Don't show all resource icons in explorer? Pin
Anonymous25-Oct-02 22:08
Anonymous25-Oct-02 22:08 
Generalhtmlhelp question Pin
ns25-Oct-02 5:59
ns25-Oct-02 5:59 
GeneralRe: htmlhelp question Pin
Ravi Bhavnani25-Oct-02 7:02
professionalRavi Bhavnani25-Oct-02 7:02 
GeneralRe: htmlhelp question Pin
Atlantys25-Oct-02 7:06
Atlantys25-Oct-02 7:06 
GeneralRe: htmlhelp question Pin
Ravi Bhavnani25-Oct-02 7:13
professionalRavi Bhavnani25-Oct-02 7:13 
GeneralRe: htmlhelp question Pin
Atlantys25-Oct-02 8:20
Atlantys25-Oct-02 8:20 
GeneralRe: htmlhelp question Pin
Ravi Bhavnani25-Oct-02 9:32
professionalRavi Bhavnani25-Oct-02 9:32 
GeneralBad topic id? Pin
Ravi Bhavnani25-Oct-02 7:05
professionalRavi Bhavnani25-Oct-02 7:05 
GeneralRe: Bad topic id? Pin
ns25-Oct-02 7:26
ns25-Oct-02 7:26 
GeneralRe: Bad topic id? Pin
Ravi Bhavnani25-Oct-02 9:33
professionalRavi Bhavnani25-Oct-02 9:33 
GeneralWindow resizing using mouse Pin
Zakarya Shah25-Oct-02 5:58
sussZakarya Shah25-Oct-02 5:58 
GeneralRe: Window resizing using mouse Pin
Maximilien25-Oct-02 6:09
Maximilien25-Oct-02 6:09 
GeneralRe: Window resizing using mouse Pin
Paul M Watt25-Oct-02 8:09
mentorPaul M Watt25-Oct-02 8:09 
GeneralRe: Window resizing using mouse Pin
Paul M Watt25-Oct-02 8:06
mentorPaul M Watt25-Oct-02 8:06 
GeneralRe: Window resizing using mouse Pin
Maximilien25-Oct-02 8:21
Maximilien25-Oct-02 8:21 
GeneralRe: Window resizing using mouse Pin
Paul M Watt25-Oct-02 8:50
mentorPaul M Watt25-Oct-02 8:50 
I learned a lot about this stuff when I emulated the entire mouse processing logic over a remote connection. I found that every time a mouse message is called, there is a WM_NCHITTEST / WM_SETCURSOR pair that gets generated right before the WM_MOUSExxx message is processed.

The WM_NCHITTEST message is used to determine which type of message to send, non-client or normal, and the WM_SETCURSOR message is used to update the cursor as it moves over different regions of the windows display.

I have thought about writing an article about this whole process for CodeProject, but I am not sure how many people are still interested in learning the internals of Windows.

Another interesting message sequence is the chain of messages that is generated by the default message handler for WM_SYSCOMMAND.


Build a man a fire, and he will be warm for a day
Light a man on fire, and he will be warm for the rest of his life!

GeneralRe: Window resizing using mouse Pin
Shog925-Oct-02 13:13
sitebuilderShog925-Oct-02 13:13 
GeneralRe: Window resizing using mouse Pin
6545645625-Oct-02 9:32
6545645625-Oct-02 9:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.