BUG: The sizing grip does not work correctly on a Maximized Windows Form with a StatusBar control (822486)
The information in this article applies to:
- Microsoft Visual Basic .NET (2003)
- Microsoft Visual Basic .NET (2002)
- Microsoft Visual C# .NET (2003)
- Microsoft Visual C# .NET (2002)
SYMPTOMSWhen a Microsoft Windows Form with a status bar control is
maximized, there may be a sizing grip on the lower-right corner of the status
bar. When you try to move this sizing grip, the status bar does not dock to the
bottom of the Windows Form.WORKAROUNDTo work around this bug, disable the sizing grip of the
status bar when the Windows Form is maximized. To do this, add the following
code in the Form1_Resize event handler. Microsoft Visual Basic .NET CodeIf Me.WindowState = FormWindowState.Maximized Then
StatusBar1.SizingGrip = False
End If
Microsoft Visual C# .NET Codeif (this.WindowState == FormWindowState.Maximized)
statusBar1.SizingGrip = false;
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed in the "Applies to" section.REFERENCESFor more information about the StatusBar control, visit the following Microsoft Developer Network (MSDN)
Web site:
Modification Type: | Minor | Last Reviewed: | 2/3/2006 |
---|
Keywords: | kbvs2005doesnotapply kbvs2005swept kbvs2002sp1sweep kbCodeSnippet kbWindowsForms kbStatBar kbControl kbbug KB822486 kbAudDeveloper |
---|
|