How does one begin to program system tray applications? I assume that we don't need a CFrameWnd class at all and we only initialize a CWinApp class. I still have no idea how to begin. Also, google searches do not give me the info i need. There are many headers out there which i can use but i'm keen on learning it.
How does one begin to program system tray applications?
Could you please define "system tray application." If this is what I understand, this is an application like any other one, with just a system tray icon added and handled properly. So a good starting point is to develop your application without system tray icon, and add the icon support later.
Last edited by Igor Vartanov; May 22nd, 2011 at 04:05 AM.
Thank you ejmw, hypheni, Skizmo and Igor for replying and sorry for the late reply!
Igor, that's a very appropriate sketch of what i've done. I just need to incorporate the system tray icon.
Update: The icon appears in the tray (i'm using IDI_QUESTION because i haven't designed an .ico yet) but quickly disappears as soon as i roll the mouse over it.
I still need more info unfortunately so i'd be extremely grateful for any leads.
Thanks.
Search the forum for "system tray" and "tray icon", and you're gonna find lots of code snippets. But Shell_NotifyIcon should be carefully read first anyway.
* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.