1. tooltip for rect request
- Posted by tone.skoda at siol.net May 24, 2002
- 413 views
This is a multi-part message in MIME format. ------=_NextPart_000_0047_01C20344.F2881820 charset="iso-8859-2" I want to have more tooltips in one window, setHintEx() with additional = argument: tooltip_rect. How to do this, or will you Derek add this = feature cause I'm not too familiar with Win32Lib internal stuff? ------=_NextPart_000_0047_01C20344.F2881820 charset="iso-8859-2" <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-2"> <META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>I want to have more tooltips in = one=20 window, <FONT face=3DArial size=3D2>setHintEx() with additional = argument:=20 tooltip_rect. </FONT>How to do this, or will you Derek add this feature=20 cause I'm not too familiar with Win32Lib internal=20 ------=_NextPart_000_0047_01C20344.F2881820--
2. Re: tooltip for rect request
- Posted by Derek Parnell <ddparnell at bigpond.com> May 24, 2002
- 368 views
----- Original Message ----- From: tone.skoda at siol.net Subject: tooltip for rect request I want to have more tooltips in one window, setHintEx() with additional argument: tooltip_rect. How to do this, or will you Derek add this feature cause I'm not too familiar with Win32Lib internal stuff? --------------- Hi Tone, I'm not sure of what you are asking for. What do you mean by "more tooltips in one window"? As far as I know, a control can only have one tooltip at a time. Are you wanting to set the text dynamically? For example, would you like win32lib to call one of your routines to get the text to display, whenever a tooltip is about to display? I can do that. What do you mean by "tooltip_rect"? Do you want to set the position of the tooltip dynamically? I can do that too, if you want. Can you give me some examples of what you are hoping to achieve? -------------- Derek.
3. Re: tooltip for rect request
- Posted by tone.skoda at siol.net May 24, 2002
- 388 views
I draw polyline in window, each point in polylne is drawn as a little circle. I want to display different tooltip for each cirlce (point) in polyline. One of the tooltip structures has rect member so it should be possible. I tried a little but failed. ----- Original Message ----- From: "Derek Parnell" <ddparnell at bigpond.com> To: "EUforum" <EUforum at topica.com> Subject: Re: tooltip for rect request > > ----- Original Message ----- > From: tone.skoda at siol.net > To: EUforum > Sent: Saturday, May 25, 2002 1:03 AM > Subject: tooltip for rect request > > > > I want to have more tooltips in one window, setHintEx() with additional > argument: tooltip_rect. How to do this, or will you Derek add this feature > cause I'm not too familiar with Win32Lib internal stuff? > > --------------- > Hi Tone, > I'm not sure of what you are asking for. > > What do you mean by "more tooltips in one window"? As far as I know, a > control can only have one tooltip at a time. Are you wanting to set the text > dynamically? For example, would you like win32lib to call one of your > routines to get the text to display, whenever a tooltip is about to display? > I can do that. > > What do you mean by "tooltip_rect"? Do you want to set the position of the > tooltip dynamically? I can do that too, if you want. > > Can you give me some examples of what you are hoping to achieve? > > -------------- > Derek. > > > >
4. Re: tooltip for rect request
- Posted by Derek Parnell <ddparnell at bigpond.com> May 24, 2002
- 443 views
----- Original Message ----- From: <tone.skoda at siol.net> To: "EUforum" <EUforum at topica.com> Subject: Re: tooltip for rect request > > I draw polyline in window, each point in polylne is drawn as a little > circle. I want to display different tooltip for each cirlce (point) in > polyline. > > One of the tooltip structures has rect member so it should be possible. I > tried a little but failed. > Thanks Tone. I understand now. I've coded into the library this morning the ability to set the tooltip text at the time Windows want's to display it. So I imagine that you can use this facility to do what you are after. I'll build a small demo program to show you what it can do. ------------ Derek.