Gamestudio Links
Zorro Links
Newest Posts
make a complaint
by EW_bytes. 11/26/26 23:00
FXCM => AVA Trade Plugin???
by Martin_HH. 11/25/26 21:59
No connection to MT4
by Martin_HH. 11/23/26 06:38
MinMax function on History t6 file
by LucasJoshua. 11/21/26 14:28
What are you working on?
by rayp. 11/20/26 18:10
contractUpdate() is filtering if >2 rows
by mistery. 11/09/26 12:06
New Zorro version 3.15
by jcl. 11/09/26 09:24
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
0 registered members (), 15,606 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EvanTJ, rht, MaliceTheMaker, Haitao_Ren, JimSimons
19250 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 3 1 2 3
Tooltip #250276
02/07/09 00:36
02/07/09 00:36
Joined: Jul 2004
Posts: 1,710
MMike Offline OP
Serious User
MMike  Offline 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: MMike] #250290
02/07/09 06:36
02/07/09 06:36
Joined: Aug 2008
Posts: 2,838
take me down to the paradise c...
Cowabanga Offline
Expert
Cowabanga  Offline
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.

Re: Tooltip [Re: Cowabanga] #250305
02/07/09 08:57
02/07/09 08:57
Joined: Oct 2007
Posts: 5,211
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,211
İstanbul, Turkey
no it's possible. but i am not sure how to.

edit: system tray icon example: http://www.opserver.de/ubb7/ubbthreads.php?ubb=showflat&Number=221357&gonew=1#UNREAD

Last edited by Quadraxas; 02/07/09 09:18.

3333333333
Re: Tooltip [Re: Quad] #250609
02/09/09 00:37
02/09/09 00:37
Joined: Jul 2004
Posts: 1,710
MMike Offline OP
Serious User
MMike  Offline OP
Serious User

Joined: Jul 2004
Posts: 1,710
i implemented the tray already Quadraxas, and thats working fine, but the ToolTip thing... i don't know what API is...

Re: Tooltip [Re: MMike] #250632
02/09/09 08:00
02/09/09 08:00
Joined: Oct 2007
Posts: 5,211
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,211
İstanbul, Turkey
im gonna try to find it when im home.


3333333333
Re: Tooltip [Re: Cowabanga] #250659
02/09/09 09:08
02/09/09 09:08
Joined: Apr 2005
Posts: 4,506
Germany
F
fogman Offline
Expert
fogman  Offline
Expert
F

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
T
TechMuc Offline
User
TechMuc  Offline
User
T

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 smile

Re: Tooltip [Re: TechMuc] #250709
02/09/09 12:48
02/09/09 12:48
Joined: Jul 2004
Posts: 1,710
MMike Offline OP
Serious User
MMike  Offline OP
Serious User

Joined: Jul 2004
Posts: 1,710
Tech well yeah , but the windows will be a rectangle in that case.

or is there a way? to draw the yellow ballon with text, and then the black background set invisible?

in that case, it would work..

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 Offline
Expert
Cowabanga  Offline
Expert

Joined: Aug 2008
Posts: 2,838
take me down to the paradise c...
Originally Posted By: fogman
"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 Offline
Expert
EvilSOB  Offline
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
Page 1 of 3 1 2 3

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1