simple question, is there any other notification or another way to get the information that my window has lost focus or has regained focus or now is on top of the Z Order?
I've only found WM_ACTIVATE, which sends a notification right before the window itself is going to gain/lose focus... so if I rightclick at the icon in on the taskbar I receive a WM_ACTIVATE -> WA_ACTIVE message. But I want to receive it only if the window really shows on top of the Z Order now (behind all topmost windows though). WM_SIZE is no solution.
Thanks for help,
Edit: Well I can somewhat solve my problem with showing and immediately hiding the child window if I click at the taskbar icon... but that's not a proper way.