Click to See Complete Forum and Search --> : Shell_NotifyIcon without dialog nor MFC (VC++ 6) ?
mikoil
May 20th, 2006, 12:48 AM
How can I do it? :)
I made a simple project which only has the msg loop in the WinMain function. Do I have to create a dialog box? How can I handle the tray messages?
Thanks ! :thumb: ;)
Notsosuperhero
May 20th, 2006, 01:13 AM
Have a look at the stuff in this thread: Tray Icon (http://www.codeguru.com/forum/showthread.php?t=383702)
mikoil
May 20th, 2006, 01:32 PM
Doesn't really help me because my project has no window (dialog box) at all.. Do I have to create one just for the tray icon? I try to belive not :)
kirants
May 20th, 2006, 01:59 PM
yes. You have to, you can have a hidden window. And of course you would need a message loop to dispatch the messages
mikoil
May 20th, 2006, 02:11 PM
Oh. OK then, thanks a lot :)
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.