mIRC Home    About    Download    Register    News    Help

Print Thread
#193702 24/01/08 12:47 PM
Joined: Jun 2003
Posts: 4
M
Self-satisified door
OP Offline
Self-satisified door
M
Joined: Jun 2003
Posts: 4
hi

does anyone know which control is used by mirc to display those systray tips ? or is it some custom control ? could use that in some projects.

i like the way they get cascaded when there are more than 1 tips at a time

thx in advance

Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
/help $tip

Note that you usually want to set it up as:

/noop $tip(properties)

That will prevent it from returning a value, which you usually don't want it to do.


Invision Support
#Invision on irc.irchighway.net
Riamus2 #193714 24/01/08 03:16 PM
Joined: Jun 2003
Posts: 4
M
Self-satisified door
OP Offline
Self-satisified door
M
Joined: Jun 2003
Posts: 4
i didnt want to know how to show tips.. i wanted to know which "control" khaled used to display it

Joined: Dec 2002
Posts: 2,962
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,962
Using the Windows API you would use the Shell_NotifyIcon() function (see Using Tooltip Controls for examples). In .NET this is available as the System.Windows.Forms.NotifyIcon.ShowBalloonTip() method).


Spelling mistakes, grammatical errors, and stupid comments are intentional.
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
Sorry, misunderstood your question.


Invision Support
#Invision on irc.irchighway.net
Joined: Apr 2004
Posts: 871
Sat Offline
Hoopy frood
Offline
Hoopy frood
Joined: Apr 2004
Posts: 871
Yes, it's a completely custom control. mIRC uses the class name "mIRC_Tip" for it. mIRC does all the drawing, too.


Saturn, QuakeNet staff

Link Copied to Clipboard