views:

44

answers:

1

I have a window that's a CHILD window of another window. For reasons beyond me, NC_HITTEST never gets called on it, no mouse events are called for it (but rather reach its parent window).

Why is that? I want that child window to process his own mouse clicks.

+1  A: 

NC_HITTEST is not likely a message you want to be catching for mouse events. You want to be catching WM_MOUSEMOVE, WM_LBUTTONDOWN, etc...

selbie
I said not even a HITTEST message arrives at my window- of course I know you don't catch mouse events with this message. I was just wondering why no messages, including the mouse messages you've mentioned above simply never reach my child window, but rather the parent window!
Ron M.