I use :
– Windows 7
– VS2010 SP1
– Framework 4
– Winforms
– MDI Parent
– StatusStrip
My main form is MDI parent with a StatusStrip that contains 6 StatusLabels.
When the main form is maximised, the tooltips from the StatusStrip start flashing.
It only seems to happen when the form is maximised.
I am thinking if it has to do with the operating system task bar and the space between them.
The code that I use is very simple :
Me.lblServer.ToolTipText = myServer.Name 'lblServer is a StatusLabel
I tried also to set the tooltip by myself in lblServer_MouseHover:
ToolTip.SetToolTip(lblServer, myServer.Name)
but lblServer is not a control, so it is impossible to do it that way.
Does anyone have an idea how to work around this problem?
Thanks
So the solution for the problem is:
Add a ToolTip in your form.
Be sure that property OwnerDrawn=False.
Then add this code in the StatusLabel (lblServer) events:
Thanks for the help.