The SystemTray
-
-
I want to create a program without any windows... Just an icon in the systemtray with a menu (when someone rightclicks the icon). Just like the well-known (I think) nail.exe. I can't find any help in MSDN. Can anyone help me? :confused: Sprudling :-D
You need to look at the following articles (from MSDN) Jeff Richter - November 97 Q&A Win32 - explains how to control the visibility of an application's main window; Paul DiLascia - March 1996 Q&A C++ - explains the basics of tray icons ----------------------- Reg : "Well, what Jesus blatantly fails to appreciate is that it's the meek who are the problem."
-
I want to create a program without any windows... Just an icon in the systemtray with a menu (when someone rightclicks the icon). Just like the well-known (I think) nail.exe. I can't find any help in MSDN. Can anyone help me? :confused: Sprudling :-D
http://www.codeproject.com/useritems/trayicons.asp Is a pretty straight forward use putting an app in the system tray. ModifyStyleEx(WS_EX_APPWINDOW, WS_EX_TOOLWINDOW); Will make your window not appear on the taskbar or in the Alt tab menu choices. make it reappear ModifyStyleEx(WS_EX_TOOLWINDOW, WS_EX_APPWINDOW); should get you started, or get you finished. Ryan
-
I want to create a program without any windows... Just an icon in the systemtray with a menu (when someone rightclicks the icon). Just like the well-known (I think) nail.exe. I can't find any help in MSDN. Can anyone help me? :confused: Sprudling :-D