المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Another Tooltip question



C# Programming
11-18-2009, 03:52 AM
I implemented the Tooltip.Show(String, IWin32Window, Point, Int32) in "OnMouseMove", such that I could specify the position where tooltip is shown, the only problem I have with this method is that tooltip displays as the mouse is moving.

I tried to use Tooltip.SetToolTip for which I could specify "AutomaticDelay" so that the tooltip will be displayed when mouse is stopped for seconds. But in this method tooltip will be positioned in the center of the associated control.

So I registered ToolTip.Draw event, but I didn't find where to change the Tooltip display position.




Thanks,