I use the following code to create a Label in the status strip when a child window is open.
Public Sub StatusStripPanelAdd(ByVal lCount As Integer, ByVal sImage As System.Drawing.Image, ByRef sText As String, ByVal sender As Object, ByVal e As System.EventArgs)
With (StatusStrip2)
.Items.Add(sText, sImage)
End With
Dim MyOwner As System.Windows.Forms.ToolStrip = StatusStrip2.Items.Item(lCount).Owner
Dim MyValue As System.Windows.Forms.ToolStripItem = StatusStrip2.Items(lCount)
Dim AccLabel As Object = MyValue
Dim MyStripLabel As ToolStripStatusLabel = AccLabel
MyStripLabel.BorderStyle = Border3DStyle.RaisedOuter
MyStripLabel.LinkBehavior = LinkBehavior.HoverUnderline
End Sub
My problem is that label is not raised outer or the behavior of the label is not HoverUnderLine. Is there anybody to know how i can make the status label to beraisedouter or to be HoverUnderLine? I write my code in vb.net.