Hi, I have a code which sets the tooltip for a Winforms Controls in the standard way like this :-
Tooltip tooltip = new tooltip();
toolTip.SetToolTip(control, text);
In the same application, there is a Window which is rendering a movie of some Images at 5 Frame per second using Direct3D SDK. Now, when the Movie is being rendered i.e. when it is in PLAY mode, the tooltips never appear. As soon as I pause the Movie, the tooltips start appearing.
- CASE 1:
As a workaround I did the following change to the code -
Tooltip tooltip = new tooltip();
toolTip.InitialDelay = 50;
toolTip.SetToolTip(control, text);
Now, as soons as I introduce an INITIAL DELAY the tooltips are rendered irrespective of the Movie is playing or not ?
- CASE 2:
If I do not put the Initial Delay and instead subscribe to OnMouseHover event of the control and then put the above two lines of code explicitly in the even handler, then also tooltips are not lost. They appear normally. But, this not a standard practice of showing tooltips.
Can anybody correct me in what is going wrong here in Tooltips rendering ? I am using .Net 2.0 & C#.