What is the difference between WM_ACTIVATEAPP and WM_ACTIVATE

  • Thread starter Thread starter Academia
  • Start date Start date
A

Academia

Want to be sure I understand the difference between WM_ACTIVATEAPP and
WM_ACTIVATE.

Is it true that:

WM_ACTIVATEAPP is sent/received only if the other window is in a different
app?



and

WM_ACTIVATE is sent/received only if the other window is in the same app?





Thanks
 
Want to be sure I understand the difference between WM_ACTIVATEAPP and
WM_ACTIVATE.

Is it true that:
WM_ACTIVATEAPP is sent/received only if the other window is in a different
app?

That's what the documentation says.
and
WM_ACTIVATE is sent/received only if the other window is in the same app?

No, as far as I can see, the documentation doesn't say that.

A quick test with Spy++ shows that a window gets both when it's
activated from a different application.

Dave
 
Back
Top