|
-
September 8th, 1999, 10:34 AM
#1
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.
-
September 8th, 1999, 10:40 AM
#2
Re: System Tray Again
You must set WS_EX_TOOLWINDOW and CLEAR WS_EX_APPWINDOW extended window styles.
-
September 8th, 1999, 11:08 AM
#3
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!
-
September 8th, 1999, 11:26 AM
#4
Re: System Tray Again
Yo must add this code to OnInitDialog() function after CDialog::OnInitDialog():
ModifyStyleEx(WS_EX_APPWINDOW, WS_EX_TOOLWINDOW, 0);
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|