Page 1 of 1

PointOut() command

Posted: Sat Feb 03, 2007 7:55 pm
by netmaestro
I made a library command called PointOut. What it does is gently point something out without being insistent (not modal). It is useful for showing gadget-specific help tips, advising of a new status, describing contents of pictures, really the possibilities are endless. Here's a small demo showing some right-click help:

http://www.networkmaestro.com/testpointout.exe

I don't know if anyone beyond me is going to be interested in it, but if you want it you're welcome to it:

http://www.networkmaestro.com/PointOut.zip

Usage: PointOut(WindowID, GadgetID, text.s [,timeoutsecs] )

It will point at the gadget you specify, located on the WindowID. Timeout is optional, there is a close link on it.

Posted: Sat Feb 03, 2007 8:28 pm
by Derek
I'm sure I'll find a use for it, thanks.

p.s. nice picture :lol:

Posted: Fri Feb 09, 2007 5:04 am
by Amundo
Very nice, netmaestro, thanks for sharing.

Is this specific to any Win versions, or will (might) it work with all?

Posted: Fri Feb 09, 2007 5:09 am
by netmaestro
It uses gdiplus, so on XP/Vista it'll be no problem, but for other OS's you'd have to distribute gdiplus.dll with your app. It's 1.6 mb and freely distributable.

Posted: Fri Feb 09, 2007 10:08 am
by Max
HEY, netmaestro, do you never sleep?
:shock: :o

Posted: Fri Feb 09, 2007 12:15 pm
by mskuma
Nice idea - but I wonder why it wants to connect to your web site?

Posted: Fri Feb 09, 2007 2:43 pm
by netmaestro
Web site? There's no network stuff in there at all.

Wait - you mean the demo program! It pulls the granny picture .gif off my server instead of using includebinary for size reasons.

Posted: Sat Feb 10, 2007 1:03 am
by mskuma
Right - the granny makes sense. I didn't see that until I let the firewall connect. Thanks.

Posted: Sat Feb 10, 2007 1:06 am
by netmaestro

Code: Select all

gif$="http://www.networkmaestro.com/gramma.gif"
url$ = "about:<html><body scroll='no' leftmargin='0' topmargin='0'><img src='"+gif$+"'></img></body></html>"
ContainerGadget(4,210,110,204,235,#PB_Container_Double)
WebGadget(3, 0, 0, 200, 232, url$ )