Console App & Systray Icon

This is a discussion on Console App & Systray Icon within the Windows Programming forums, part of the Platform Specific Boards category; Hi! Is it possible to put console application into system tray? If it is, how to do it? Thanks....

  1. #1
    Code Warrior
    Join Date
    Nov 2001
    Posts
    669

    Question Console App & Systray Icon

    Hi!

    Is it possible to put console application into system tray?

    If it is, how to do it?

    Thanks.
    Current projects:
    1) User Interface Development Kit (C++)
    2) HTML SDK (C++)
    3) Classes (C++)
    4) INI Editor (Delphi)

  2. #2
    btq
    btq is offline
    julie lexx... btq's Avatar
    Join Date
    Jun 2002
    Posts
    161
    hmm...I recall bein at a friends house doing this a year ago or so. I think we made a
    wrapper for it: a windows-application calling CreateProcess
    creating the console window, and using FindWindowEx or something like that to get a hold of the console window,
    showing and hidin it as we doubleclicked the icon in the systray.
    I think this is what we did, but I don't really recall and it
    wasn't me codin it.
    I don't have the code here and it is in asm but if you want
    I might be able to get it for you ?

    /btq
    ...viewlexx - julie lexx

  3. #3
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,831
    The system tray icon sends messages to it's control task when anything happens, you do not directly have a message processing loop in a console app.
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

  4. #4
    Code Warrior
    Join Date
    Nov 2001
    Posts
    669
    Thanks for you replys. I already figure it out.
    Current projects:
    1) User Interface Development Kit (C++)
    2) HTML SDK (C++)
    3) Classes (C++)
    4) INI Editor (Delphi)

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Console App w/ Threads and Events?
    By sean in forum C# Programming
    Replies: 1
    Last Post: 07-02-2004, 01:16 AM
  2. Need help migrating console app to windows app
    By DelphiGuy in forum C++ Programming
    Replies: 1
    Last Post: 03-14-2004, 07:05 PM
  3. systray app to get IP Address
    By bonkey in forum Windows Programming
    Replies: 17
    Last Post: 09-19-2003, 09:10 AM
  4. Project Builder console app
    By Luigi in forum C++ Programming
    Replies: 0
    Last Post: 12-28-2002, 07:57 PM
  5. Turning a Console APP into Windows.
    By Darkflame in forum C++ Programming
    Replies: 3
    Last Post: 09-14-2001, 04:10 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21