-
System Tray Problem
I've docked my program to the system tray. and whenever the icon gets double-clicked a dialog appears. But when I minimize the dialog box (I've set the dialog to close when the minimize button gets pressed) and reopen it, the dialog it isn't focused. I've tried enablewindow(). If anyone knows a function or anything that can activate a dialog box. could please reply thanks.
cal.
-
-
Doesn't work
I've tried that it just makes the bar on the start menu flash, it doesn't make the dialog box active thanks anyway.
cal
-
>>I've tried that it just makes the bar on the start menu flash<<
If you'd mentioned this in your original post it would have been clearer what the problem was and you wouldn't have had to wait so long before someone suggested you try ShowWindow. :)
-
Nope
that does'nt work either.
cal.
-
How are you using ShowWindow?
Code:
ShowWindow(myHwnd,SW_RESTORE);
-
reply
I've tried them all (SW_SHOW/SW_SHOWNORMAL/SW_RESTORE.etc) they all don't work i'm gonna have to take the whole minimize thing out because i dn't think it's actually possible.
cal
-
>>i dn't think it's actually possible.
Not that I have anything to contribute, but I'd just like to point out that lots of programs do it... like Norton Antivirus, MSN Messenger, volume control... I think it probably IS possible :)