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

ID: Q184343


The information in this article applies to:


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          : 
Version           : 
Platform          : WINDOWS 
Issue type        : kbbug 

Last Reviewed: June 23, 1999