BUG: Minimized FoxPro Screen Cannot Be Restored in Windows 95

ID: Q129753

The information in this article applies to:

SYMPTOMS

In FoxPro, operating on the Windows 95 beta, if you use the mouse to minimize the screen, the screen cannot be restored.

If a screen is minimized by using the "minimize" selection on the right side of the title bar (the underscore), the screen cannot be restored by double-clicking the title bar or by clicking the restore selection portion on the screen (the tiled windows icon). If the screen is minimized by clicking the minimize selection, the Restore function (CTRL+F5) available under the FoxPro Icon on the right side of the title bar does not restore the screen.

If you press CTRL+F9 to minimize the screen, you can restore the screen by either pressing CTRL+F5 or by clicking the restore selection. The screen functions normally if you use only the keys to minimize and restore.

However, if you press CTRL+F9 to minimize the screen and then use the mouse to restore it. Then you either use the mouse or press CTRL+F9 to minimize the screen again, all the objects and text clear from the screen as though a CLEAR command had been issued.

RESOLUTION

Do not use the mouse to the minimize or restore the screen.

STATUS

Microsoft has confirmed this to be a problem 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

Build a screen in the Screen Builder and add, at least, a push button. Then follow the steps in the following examples.

Example One

1. Run the screen.

2. Press CTRL+F9 to minimize the screen. Then press CTRL+F5 to restore

   the screen.

3. Use the mouse to minimize the screen.

4. Attempt to restore the screen by pressing CTRL+F9, by double-clicking

   the screen's title bar, or by clicking the restore selection of
   the title bar.

5. Observe that the screen does not respond.

6. Press ESC to stop the screen program.

Example Two

1. Run the screen.

2. Press CTRL+F9 to minimize the screen.

3. Use the mouse to restore the screen by clicking the title bar to

   restore the selection.

4. Press CTRL+F9 to attempt to minimize the screen.

5. Observe that the screen (user defined) clears.

Example Three

1. Run the screen.

2. Press CTRL+F9 to minimize the screen.

3. Use the mouse to restore the screen by double-clicking the title bar.

4. Press CTRL+F9 to minimize the screen.

5. Observe that the screen minimizes.

Additional reference words: FoxWin 2.60a buglist2.60a KBCategory: kbprg kbbuglist KBSubcategory: FxprgGeneral

Last Reviewed: June 27, 1995