BUG: Using ALT+ENTER to Switch Between Window & Full Screen

Last reviewed: April 17, 1995
Article ID: Q103608
The information in this article applies to:
  • Microsoft FoxPro for MS-DOS, versions 2.0, 2.5, 2.5a, 2.5b, 2.6

SYMPTOMS

When you are running FoxPro for MS-DOS in an MS-DOS session within Microsoft Windows, pressing ALT+ENTER to switch to full-screen mode causes the System menu pad to be selected.

CAUSE

This behavior occurs because Windows captures the ALT+ENTER key combination and passes the ALT key to FoxPro. FoxPro therefore behaves as though the ALT key was pressed and activates the System menu pad.

WORKAROUND

You can prevent the ALT+ENTER key combination from activating the System menu pad by using PIF Editor to edit the program information file for the MS-DOS session (the default PIF file is DOSPRMT.PIF) and selecting the Alt+Enter check box under Reserve Shortcut Keys. (To access this option, choose the Advanced button in PIF Editor.) This prevents Windows from intercepting the ALT+ENTER key combination. If this option is selected, however, you cannot switch between the windowed and full-screen modes. It is possible to specify the initial state of an MS-DOS session by selecting the Full Screen or Windowed option in PIF Editor.

STATUS

Microsoft has confirmed this to be a problem in FoxPro versions 2.0, 2.5, 2.5a, 2.5b, and 2.6 for MS-DOS. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.


Additional reference words: FoxDos window alt enter pif buglist2.00
buglist2.50
buglist2.50a buglist2.50b buglist2.60 2.00 2.50 2.50a 2.50b 2.60
KBCategory: kbprg kbbuglist
KBSubcategory:


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