GIDForums  

Go Back   GIDForums > Computer Programming Forums > C++ Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 12-Feb-2007, 07:38
earamsey earamsey is offline
New Member
 
Join Date: Feb 2007
Posts: 1
earamsey is on a distinguished road

Minimizing Any Program to System Tray


How do I write an application, in either C++ or C#, that will add another button to, inaddition to minimize button, that will minimize to system any application to system tray?

thanks,
  #2  
Old 14-Feb-2007, 15:26
killzone killzone is offline
Junior Member
 
Join Date: Nov 2006
Posts: 66
killzone is an unknown quantity at this point

Re: Minimizing Any Program to System Tray


Try using Visual C++ 6
Check in the toolbox there should be something about tray icons.

I also remember C# had a much more convenient way of tray icons.

If you have MFC you could use :
CPP / C++ / C Code:
CSystemTray m_TrayIcon;   // Member variable of some class

// in some member function maybe...
m_TrayIcon.Create(pParentWnd, WM_MY_NOTIFY, "Click here", 
                  hIcon, nTrayIconID);

check out this article on the Code Project :
codeproject.com/shell/systemtray.asp
 
 

Recent GIDBlogNot selected for officer school by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
BOOKEEPING program, HELP!! yabud C Programming Language 10 17-Nov-2006 03:48
Help with a complex program lordfuoco C++ Forum 5 24-Jun-2006 06:03
How to read particular memory location ? realnapster C Programming Language 10 10-May-2006 09:11
Q: Executing commands from within a C Program using system() gaoanyu C Programming Language 2 15-Dec-2005 07:01
How to minimize a application to the system tray? Thomas555 C++ Forum 12 20-May-2005 13:35

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 09:51.


vBulletin, Copyright © 2000 - 2010, Jelsoft Enterprises Ltd.