How Windows Versions 3.0 and 3.1 Activate Apps Differently
ID: Q95463
|
The information in this article applies to:
-
Microsoft Visual Basic Standard and Professional Editions for Windows, versions 2.0, 3.0
SUMMARY
When activating a multiple-window application in Windows version 3.0, only
the window that was activated comes to the top. In Windows version 3.1,
all the windows relating to the application come to the top.
Microsoft has confirmed this to be a problem in Microsoft Windows version
3.0. This problem was corrected in Microsoft Windows version 3.1.
Because many Visual Basic applications are written as multiple-window
applications, this problem is apparent when these applications are run
with both Windows versions.
MORE INFORMATIONSteps to Reproduce Problem
- Start Windows version 3.1.
- Run Visual Basic or from the File menu, choose New Project (ALT, F, N)
if Visual Basic is already running. Form1 is created by default.
- From the File menu, choose New Form (ALT, F, F) twice to create two
forms,
Form2 and Form3.
- Add the following code to Form_Load of Form1:
Sub Form_Load
Form1.Show
Form2.Show
Form3.Show
End Sub
- From the File menu, chose Make EXE File (ALT, F, K) and choose the OK
button to create an executable using the default name (PROJECT1.EXE).
- From outside the Visual Basic environment, Run PROJECT1.EXE.
- Run NOTEPAD.EXE.
- Click Form1 in PROJECT1.EXE. All three forms for PROJECT1.EXE, which
are currently being clipped by NOTEPAD.EXE, come to the top.
- Close Windows version 3.1, saving all necessary data in open
applications.
- Start Windows version 3.0.
- Repeat steps 6 through 8 to see that only Form1 comes to the top.
Additional query words:
2.00 3.10 3.00
Keywords :
Version : WINDOWS:2.0,3.0
Platform : WINDOWS
Issue type :
|