Microsoft KB Archive/103608

From BetaArchive Wiki

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

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


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.


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.


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.


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:

Last Reviewed: April 17, 1995
© 1999 Microsoft Corporation. All rights reserved. Terms of Use.