Going to the System Tray

Started by
4 comments, last by MadProgrammer 22 years, 10 months ago
How can i make my program be only an icon in the system tray? There are many programs that do this, so i know it is possible. Thanks. MadProgrammer
Advertisement
Have a look at the Shell_NotifyIcon() function in MSDN for adding icons to the system tray. Then use ShowWindow( hWnd, SW_HIDE ) to hide your window and taskbar button.

War Worlds - A 3D Real-Time Strategy game in development.
hello
go to my site
then to tutorials-->windows-->system tray
in the end of the page you can download two source codes..
the second is cooler IMHO

check it out
good luck

Arkon
[QSoft Systems]
thanks!

i checked your site, but you didn''t have any tutorials on direct play 8. email me or put up a post if you ever make one.

thanks again.

MadProgrammer@bigfoot.com
i got the icon to go to the system tray, but i am having some trouble making the little pop up menu appear. the resources of the projects you can download off your site are messed up. there is an error in the resource.h file that ms vc generates itself. i am trying to find a fix, but not having any luck.

could you explain the popup menu thingy again, plz

MadProgrammer
why did you mention dx 8??
you wanted sys tray stuff, no?

anyway maybe because the .rc file is in hebrew
i mean the language code...but everything else is in english
hmm
you don''t really need a resource for that project
it was just for an icon or something not so important to you now..

just see how the stuff work and copy/paste to your program

Arkon
[QSoft Systems]

This topic is closed to new replies.

Advertisement