BUG: Incorrectly Accessing System Menu of Hidden Form
ID: Q74564
|
The information in this article applies to:
-
Microsoft Visual Basic Standard and Professional Editions for Windows, versions 2.0, 3.0
-
Microsoft Visual Basic programming system for Windows, version 1.0
SYMPTOMS
It is possible under certain circumstances to incorrectly access the
system menu of a hidden form in Visual Basic.
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article. We are researching this problem and will
post new information here in the Microsoft Knowledge Base as it becomes
available.
MORE INFORMATION
Steps to Reproduce Problem
- Start Visual Basic, or choose New Project from the File menu.
- Set the WindowState property of Form1 to 1 (minimized).
- Enter the following line of code in the Form_Resize event
procedure of Form1:
If WindowState = 2 Then Hide 'WindowState 2 = maximized
- From the Run menu, choose Start.
- Click the Form1 icon to bring up the system menu for Form1.
- From the the Form1 system menu, choose Maximize. Form1 will maximize
and then hide.
- Press ALT+SPACE to activate the Form1 system menu.
A system menu will appear in the upper left corner of the screen, even
though Form1 is hidden.
Additional query words:
buglist1.00 buglist2.00 buglist3.00 2.00 3.00
Keywords :
Version : WINDOWS:1.0,2.0,3.0
Platform : WINDOWS
Issue type :