The information in this article applies to:
SYMPTOMS
A Visual Basic application running under Windows 95 or Windows 98 is unable
to use SendKeys to send an ALT+TAB key sequence to the operating system.
The application can use SendKeys to send an ALT+TAB key sequence to the
operating system when the application is running under Windows version 3.x,
Windows for Workgroups, or Windows NT. CAUSEWindows 95 and Windows 98 handle the processing of the ALT+TAB key sequence differently. When you press the ALT+TAB key sequence, Windows 95 and Windows 98 handles it immediately rather than placing it in the message queue as Windows 3.x, Windows for Workgroups, and Windows NT do. Therefore, placing the ALT+TAB sequence in the message queue by using SendKeys does not produce the desired behavior. RESOLUTION
Modify any application that programmatically sends an ALT+TAB key sequence
to the Windows 95 or Windows 98 operating systems. STATUSThis behavior is by design. It is not a problem with Visual Basic. It is a difference in the behavior of Windows 95 and Windows 98. By design, Windows 95 and Windows 98 handle the ALT+TAB keystroke sequence differently. MORE INFORMATIONSteps to Reproduce the Behavior
Under Windows 3.x, Windows for Workgroups, or Windows NT "ALT+TAB Sent" is displayed in the Debug Window (if the Debug Window is visible, and an application's title appears in the center of the screen and then disappears when that application becomes active. Additional query words: kbVBp400 kbVBp300 kbVBp200 kbVBp100 kbVBp kbDSupport kbdsd Alt Tab Send Win95 Win98 kbNoKeyWord
Keywords : kbGrpVB |
Last Reviewed: January 5, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |