3270 Applet Does Not Return to a Normal State

Last reviewed: March 19, 1998
Article ID: Q171375

The information in this article applies to:

  • Microsoft SNA Server, versions 3.0 and 3.0 Service Pack 1 (SP1)

SYMPTOMS

When you close the 3270 Applet (Win3270.exe) while the application is in a minimized or maximized state, you can no longer restore the window to normal.

CAUSE

When creating the windows with a SetWindowPlacement(), the applet uses the correct, restored window positions, but uses the saved window state. This causes the restored window position to be lost, and on subsequent restores, the applet is left in a maximized or minimized position.

STATUS

Microsoft has confirmed this to be a problem in SNA Server and Clients version 3.0 and Server Pack 1. This problem was corrected in the latest SNA Server version 3.0 U.S. Service Pack. For information on obtaining this Service Pack, query on the following word in the Microsoft Knowledge Base (without the spaces):

   S E R V P A C K

MORE INFORMATION

With the fix applied, the window is created in a normal state, and then a WM_SYSCOMMAND() message is posted with either SC_MAXIMIZE() or SC_MINIMIZE() if necessary. Using this method, the normal positions are not lost. This has a visible effect in that when the applet is started, the window appears briefly in the restored position before going to the maximized or minimized state.

Keywords          : sna3270 snawin3x snawin95 snawinnt kbfix3.00.sp2 kbnetwork
Version           : 3.0
Issue type        : kbbug
Solution Type     : kbfix


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


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: March 19, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.