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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. moving dialog to system tray

moving dialog to system tray

Scheduled Pinned Locked Moved C / C++ / MFC
linuxjsonhelpquestion
2 Posts 2 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.
  • R Offline
    R Offline
    rajeevktripathi
    wrote on last edited by
    #1

    Hi All I have a dialog based application, want to add feature that application should go to System Tray when cross(x) button of dialog is clicked, For This; I have used NOTIFYICONDATA and Shell_NotifyIcon( ) API, also in the OnCancel() handler used void ShowWindow(SW_HIDE); to fide the dilaog, now what is my problem that this SA_HIDE hides the application immediately, but I want to make this happening as dialog is going to system tray as per in GTalk and some other applications.... Please suggest me the answer for this .... Waiting for your replies... THANKS

    H 1 Reply Last reply
    0
    • R rajeevktripathi

      Hi All I have a dialog based application, want to add feature that application should go to System Tray when cross(x) button of dialog is clicked, For This; I have used NOTIFYICONDATA and Shell_NotifyIcon( ) API, also in the OnCancel() handler used void ShowWindow(SW_HIDE); to fide the dilaog, now what is my problem that this SA_HIDE hides the application immediately, but I want to make this happening as dialog is going to system tray as per in GTalk and some other applications.... Please suggest me the answer for this .... Waiting for your replies... THANKS

      H Offline
      H Offline
      Hamid Taebi
      wrote on last edited by
      #2

      See System Tray Icons - Minimize Your Application to the SysTray[^] does helpful?


      WhiteSky


      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