BUG: Application Does Not Restore Window from Minimized Icon

Last reviewed: November 24, 1997
Article ID: Q150201
The information in this article applies to:
  • Microsoft Visual Basic Learning, Professional, and Enterprise Editions for Windows, version 5.0
  • Standard, Professional, and Enterprise Editions of Microsoft Visual Basic, 16-bit and 32-bit, for Windows, version 4.0

SYMPTOMS

On Windows NT 3.51, forms created with Microsoft Visual Basic do not restore their previous window state automatically when ALT+TAB is pressed or the Task List is used to activate the application. For instance, they remain minimized. However, if two subsequent attempts are made to activate the application by pressing ALT+TAB or using the Task List, the application restores its former state.

STATUS

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

MORE INFORMATION

Steps to Reproduce Problem

  1. Start a new project in Visual Basic. Form1 is created by default. To compile the program, from the File menu, choose Make EXE and click OK on the Make EXE dialog box.

  2. From File Manager, run the EXE and minimize it. Choose CTRL+ESC to bring up the Task List. Double-click Project1 to activate it. Notice that only the icon is minimized. Choose CTRL+ESC again, and double-click on Project1 again. The icon returns to the Normal WindowState.
Keywords          : PrgOther VB4ALL VB4WIN vb5all
Version           : WINDOWS:4.0
Platform          : NT WINDOWS
Issue type        : kbbug


================================================================================


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: November 24, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.