How to detect message within child windows ?

  • Thread starter Thread starter いらきゅ
  • Start date Start date

いらきゅ

Guest
I have 1 window and its child, I parse message like this:

PeekMessage(&Message, WinParent, 0, 0, PM_NOREMOVE);

But when arrive in the WindowProc(), the message cannot be detected within child windows, only within parent, as example if I click inside the parent window, the message is detected, but not if I click inside its child.

I tried to add:

PeekMessage(&Message, WinChild001, 0, 0, PM_NOREMOVE);

But it's not worked.

Continue reading...
 
Back
Top