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.

DarkBASIC Professional Discussion / Minimize to System tray.

Author
Message
Clbembry
19
Years of Service
User Offline
Joined: 10th Dec 2006
Location: Minnesota
Posted: 15th Sep 2008 03:18
K I'm thinking about making a Calender type program. I want it to alert you about upcoming events from your system tray.

I did a search here and found the DLL, but it doesn't work with Vista which is what I have.

Any ideas?
Clbembry
19
Years of Service
User Offline
Joined: 10th Dec 2006
Location: Minnesota
Posted: 10th Oct 2008 22:33
I'd really like some help with this. I need it to minimize to the system tray for the program to be useful.
Ian G
18
Years of Service
User Offline
Joined: 3rd Jun 2008
Location: SSM, Canada
Posted: 10th Oct 2008 22:47 Edited at: 10th Oct 2008 22:47
Check out this thread

http://forum.thegamecreators.com/?m=forum_view&t=51995&b=8

[Edit]
Is that the one that didn't work?
Clbembry
19
Years of Service
User Offline
Joined: 10th Dec 2006
Location: Minnesota
Posted: 10th Oct 2008 23:26
Yes that is the one that didn't work. Whenever I ran it, it would say balloons can't be used on Vista.
Ian G
18
Years of Service
User Offline
Joined: 3rd Jun 2008
Location: SSM, Canada
Posted: 10th Oct 2008 23:39
Did the program crash, or was the tray tip text "You cannot use balloons on this operating system". I suspect part of the problem is that within the demo code, it checks if the OS is XP or 2000, anything else is rejected (


Maybe add another if statement such as


That might work, otherwise it's the DLL and I don't know of any others.
Clbembry
19
Years of Service
User Offline
Joined: 10th Dec 2006
Location: Minnesota
Posted: 11th Oct 2008 20:01
K that worked. Is there any way to delete the window when it gets minimized to the system tray however?
Roxas
20
Years of Service
User Offline
Joined: 11th Nov 2005
Location: http://forum.thegamecreators.com
Posted: 12th Oct 2008 14:44
hide window.

Clbembry
19
Years of Service
User Offline
Joined: 10th Dec 2006
Location: Minnesota
Posted: 12th Oct 2008 21:12
Yes that hides the window but doesn't send it to the system tray...
Roxas
20
Years of Service
User Offline
Joined: 11th Nov 2005
Location: http://forum.thegamecreators.com
Posted: 16th Oct 2008 14:34
The dll should make you a system tray icon at start..

Clbembry
19
Years of Service
User Offline
Joined: 10th Dec 2006
Location: Minnesota
Posted: 19th Oct 2008 02:59 Edited at: 19th Oct 2008 03:00
oh.

Login to post a reply

Server time is: 2026-06-10 03:29:40
Your offset time is: 2026-06-10 03:29:40