Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. The SystemTray

The SystemTray

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestion
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Sprudling
    wrote on last edited by
    #1

    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

    M L 3 Replies Last reply
    0
    • S Sprudling

      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

      M Offline
      M Offline
      Mike Burston
      wrote on last edited by
      #2

      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."

      1 Reply Last reply
      0
      • S Sprudling

        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

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        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

        1 Reply Last reply
        0
        • S Sprudling

          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

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          u can get help in MSDN pls search for Shell_NotifyIcon.Lot of info .

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups