Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Minimize to System Tray?

Author
Message
Crimson X
16
Years of Service
User Offline
Joined: 28th Nov 2007
Location: New Hampshire
Posted: 19th Dec 2007 23:11
Is there a way to minimize a program to the system tray? I don't see a Dark GDK way to do it, but perhaps a regular Win32 way? Thanks for the help!
FERSIS
18
Years of Service
User Offline
Joined: 17th May 2006
Location:
Posted: 26th Dec 2007 15:00
You can use the API
Private Declare Function Shell_NotifyIcon Lib "shell32" Alias "Shell_NotifyIconA" (ByVal dwMessage As Long, pnid As NOTIFYICONDATA) As Boolean

Here is an example for Visual Basic , you can easly translate it to C++
http://www.vbcode.com/Asp/showsn.asp?theID=3591
Cheers

Login to post a reply

Server time is: 2024-10-08 15:57:48
Your offset time is: 2024-10-08 15:57:48