Reputation: 5434
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.
Upvotes: 2
Views: 1025
Reputation: 104524
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...
Upvotes: 1