Re: Tooltips and MouseMove event
Peter Osucha <[email protected]> Mon, 9 Jul 2007 12:51:50 -0400
| Newsgroups | gmane.comp.windows.devel.dotnet.cx |
|---|---|
| Message-ID | <[email protected]> |
Ryan, Thanks. There are other solutions as well. I think I've come up with a workable one now. Peter -----Original Message----- From: Discussion relating to the specifics of the C# and Managed C++ languages [mailto:[email protected]] On Behalf Of Ryan Heath Sent: Monday, July 09, 2007 12:39 PM To: [email protected] Subject: Re: [DOTNET-CX] Tooltips and MouseMove event Perhaps you should only set the tooltip to a value when it differs from the tip already registered with the control. if ( ttt !=3D _tt.GetToolTip( panel1)) _tt.SetToolTip ( panel1, ttt ); Ofcourse now you can not use the tickcount in your tooltip anymore ;) HTH // Ryan =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D This list is hosted by DevelopMentor=AE http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com