Auto Minimize to Tray on Startup

Problems compiling? Don't understand the source code? Don't know how to code your feature? Post here.

Moderator: Moderators

Locked
Gratch06
Posts: 141
Joined: 2003-05-25 01:48
Location: USA

Auto Minimize to Tray on Startup

Post by Gratch06 » 2003-10-07 23:11

Is there a way to make DC++ auto minimize to tray on startup? I found the MainFrame::onSize(...) function, but it seems that the Minimize, Restore, Exit, etc. commands are handled more on an OS level and the program has minimal control on initiating them. Am I missing something really obvious? My reason for wanting this is so that I can run DC++ on system startup more seamlessly without it taking up my screen (set it up and forget it).

-Gratch06

GargoyleMT
DC++ Contributor
Posts: 3212
Joined: 2003-01-07 21:46
Location: .pa.us

Post by GargoyleMT » 2003-10-09 12:13

Well, a truly obvious thing to try is to adjust the "Run" box on the shortcut to "Minimized" instead of "Normal Window". I'd assume, though, that you can just send minimized message to your window to get it to minimize itself...

Twink
Posts: 436
Joined: 2003-03-31 23:31
Location: New Zealand

Post by Twink » 2003-10-10 19:09

setting it to minimized in the shortcut works, however all the hubs do end up sized to be their titlebars only

Locked