when i double-click on tray-icon it not appears as ACTIVATED window. Any1 knows how to correct this?
Posted on 2001-04-05 18:48:00 by unknow
I fix it this way (i use a dialog .. not a window): call ShowWindow,hWnd,5 ; SW_SHOW call ShowWindow,hWnd,9 ; SW_RESTORE call UpdateWindow,hWnd Any better method?
Posted on 2001-04-05 18:58:00 by unknow
you need to add a line to your code here it is: .if ax==IDM_RESTORE invoke ShowWindow,hWnd,SW_RESTORE invoke SetForegroundWindow,hWnd <-- add this line
Posted on 2001-04-05 19:16:00 by smurf