BUG: Form Covers Windows TaskBar Even If Set as "Always on Top"

ID: Q184343


The information in this article applies to:
  • Microsoft Visual Basic Learning, Professional, and Enterprise Editions for Windows, version 6.0
  • Microsoft Visual Basic Control Creation, Learning, Professional, and Enterprise Editions for Windows, version 5.0
  • Microsoft Visual Basic Standard, Professional, and Enterprise Editions, 16-bit and 32-bit, for Windows, version 4.0
  • Microsoft Visual Basic Standard and Professional Editions for Windows, version 3.0


SYMPTOMS

When displaying a Visual Basic form, the Windows 95, Windows 98, or Windows NT Taskbar is covered by the form even though the "Always on Top" property of the Taskbar is checked.


CAUSE

This problem occurs when the form's WindowState property is set to Maximized and the form's MaxButton property is set to False.


RESOLUTION

To work around this problem, set the form's MaxButton property to True at design-time.


STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available.


MORE INFORMATION

Steps to Reproduce Behavior

  1. Create a new Visual Basic project. Form1 is created by default.


  2. Set the MaxButton property of Form1 to "False".


  3. Set the WindowState property of Form1 to "2 - Maximized".


  4. Run the sample.


RESULT: The Windows Taskbar is covered by the form, which completely fills the screen.

Additional query words: kbForms kbVBp400bug kbVBp500bug kbVBp300bug kbVBp kbDSupport kbDSD
kbVBp300BUG kbVBp600bug

Keywords : kbGrpVB
Version :
Platform : WINDOWS
Issue type : kbbug


Last Reviewed: January 5, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.