|
0 registered members (),
15,606
guests, and 6
spiders. |
|
Key:
Admin,
Global Mod,
Mod
|
|
|
Tooltip
#250276
02/07/09 00:36
02/07/09 00:36
|
Joined: Jul 2004
Posts: 1,710
MMike
OP
Serious User
|
OP
Serious User
Joined: Jul 2004
Posts: 1,710
|
I have the code, for putting the game windows as an icon next to the clock ( on the windows bar) but i would like to pop out, a ballon saying important events happening.. since the application its closed, it is handy to show some status when important events are ocuring..
Anyone knows hot to do it? Thanks!
I have the tray already, done, but i need the ballon API, if it exists...
Last edited by MMike; 02/09/09 13:02.
|
|
|
Re: Tooltip
[Re: Cowabanga]
#250659
02/09/09 09:08
02/09/09 09:08
|
Joined: Apr 2005
Posts: 4,506 Germany
fogman
Expert
|
Expert
Joined: Apr 2005
Posts: 4,506
Germany
|
"Well.... I'm sure you can't make it with Lite-C."
Please, if you don´t know what you´re talking about, be silent. These kind of statements are annoying.
no science involved
|
|
|
Re: Tooltip
[Re: fogman]
#250681
02/09/09 09:58
02/09/09 09:58
|
Joined: Jul 2008
Posts: 894
TechMuc
User
|
User
Joined: Jul 2008
Posts: 894
|
you could just create another hwnd via CreateWindowEx and place it the bottom right of the screen_size... Next you change the background color to yellow, draw black lines and write a text. Next important thing would be a Stay-On-The-Top Style for the windows. All in all it would be easier to do those things in an external DLL, but nevertheless it is possible in Lite-C if you know what you do 
|
|
|
Re: Tooltip
[Re: fogman]
#250718
02/09/09 13:27
02/09/09 13:27
|
Joined: Aug 2008
Posts: 2,838 take me down to the paradise c...
Cowabanga
Expert
|
Expert
Joined: Aug 2008
Posts: 2,838
take me down to the paradise c...
|
"Well.... I'm sure you can't make it with Lite-C."
Please, if you don´t know what you´re talking about, be silent. These kind of statements are annoying. I was sure that it's impossible in Lite-C! That was before i read Quadraxas's post! And stay in the subject! Now you're annoying me!
|
|
|
Re: Tooltip
[Re: Cowabanga]
#250729
02/09/09 14:29
02/09/09 14:29
|
Joined: Feb 2008
Posts: 3,232 Australia
EvilSOB
Expert
|
Expert
Joined: Feb 2008
Posts: 3,232
Australia
|
MMike, I THINK there is a way of doing it, but Ive never implemented SysTrayIcon in 3DGS, so I'll need to see your code working in order to figure out how to splice the tooltip popup message to it, please.
PS. The actual API function I'll try using is Shell_NotifyIconA using the NIF_MESSAGE flag and the NOTIFYICONDATA structure to pass the popup text.
"There is no fate but what WE make." - CEO Cyberdyne Systems Corp. A8.30.5 Commercial
|
|
|
|