-
System Tray Again
OK OK OK.. I know what you are thinking - when will the Tray stuff end.
I am probably stupid, but, I can get the tray Icon alright, and the mouse capture stuff works great - THANK-YOU!...
Here is the question. I have a dialog based app generated with the MFC wizard, How do I get it to NOT put up a Task Bar item? The extended style "Tool Dialog" doesn't work, probably because the dialog was created with a parent.
Thanks.
-
Re: System Tray Again
You must set WS_EX_TOOLWINDOW and CLEAR WS_EX_APPWINDOW extended window styles.
-
Re: System Tray Again
Ok, I am with you... I tried this and it dumped on me. Where/When should I change the window styles? In the Dialog class, in the parent class?
Thanks!
-
Re: System Tray Again
Yo must add this code to OnInitDialog() function after CDialog::OnInitDialog():
ModifyStyleEx(WS_EX_APPWINDOW, WS_EX_TOOLWINDOW, 0);