Hi!
This code is not working properly:
No matter what the window state, wp.showCmd always returns 1.Code:VOID CALLBACK TimerProcSTMenuItAddRem(HWND hwnd,UINT uMsg,UINT_PTR idEvent,DWORD dwTime) { WINDOWPLACEMENT wp; wp.length = sizeof(WINDOWPLACEMENT); GetWindowPlacement(hwndGL, &wp); if(wp.showCmd==SW_HIDE) MessageBox(NULL,"SW_HIDE",NULL,MB_OK); }
Please Help.
Thanx.