I try to hook it with several messages
but only WM_ACTIVATE gets executedCode:if(wParam==0) { pcwp=(CWPSTRUCT*)lp; switch(pcwp->messgae) { case WM_SIZE: case WM_CLOSE: case WM_ACTIVATE: boolVar=TRUE; break; } }
and It seems my hook only applies to the main windows, not all windows on desktop
Thanks




Reply With Quote