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. MFC tray icon

MFC tray icon

Scheduled Pinned Locked Moved C / C++ / MFC
c++helpquestion
3 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.
  • C Offline
    C Offline
    charu123
    wrote on last edited by
    #1

    Hi, I have an application where an icon is created in the systray when the program is executed . On click of the icon the apllication is launched again. What i want is tht when the program is executed only the systray icon is shown n the dialog box is not launched. only when i click on the icon the dialog box should be launched.. I am calling the functions to show the icon in the initdialog function, How do i hide the dialog box so tht it doesnt pop up till i clickon the icon in the systray. Please someone help me out wid this. thanks U get wht u Give

    R 2 2 Replies Last reply
    0
    • C charu123

      Hi, I have an application where an icon is created in the systray when the program is executed . On click of the icon the apllication is launched again. What i want is tht when the program is executed only the systray icon is shown n the dialog box is not launched. only when i click on the icon the dialog box should be launched.. I am calling the functions to show the icon in the initdialog function, How do i hide the dialog box so tht it doesnt pop up till i clickon the icon in the systray. Please someone help me out wid this. thanks U get wht u Give

      R Offline
      R Offline
      RadiumBall
      wrote on last edited by
      #2

      Try this link: The project suggested here is not related to what you are expecting but the application can do just what you want ie hide into sys tray and then pop back on your cammand. http://www.codeproject.com/internet/afdialer.asp[^]

      1 Reply Last reply
      0
      • C charu123

        Hi, I have an application where an icon is created in the systray when the program is executed . On click of the icon the apllication is launched again. What i want is tht when the program is executed only the systray icon is shown n the dialog box is not launched. only when i click on the icon the dialog box should be launched.. I am calling the functions to show the icon in the initdialog function, How do i hide the dialog box so tht it doesnt pop up till i clickon the icon in the systray. Please someone help me out wid this. thanks U get wht u Give

        2 Offline
        2 Offline
        224917
        wrote on last edited by
        #3

        You will have to start you application with your dialogbox as hidden. This[^] article's has the tip to do it.


        suhredayan
        There is no spoon.

        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