SAMPLE: Preventing Windows from Switching TasksLast reviewed: April 7, 1997Article ID: Q80822 |
3.00 3.10
WINDOWS
kbprg kbfile
The information in this article applies to:
SUMMARYCertain types of applications, such as security applications and possibly some setup programs, require the ability to disable task switching under Windows. To disable task switching, the program must prevent the user from accessing the Task List, using mouse or keystroke combinations to switch to other applications, and so forth. The NOSWITCH application in the Microsoft Software Library demonstrates how an application can disable the task switch. Download NOSWITCH.EXE, a self-extracting file, from the Microsoft Software Library (MSL) on the following services:
MORE INFORMATIONNOSWITCH demonstrates how an application can disable task switching. The application must take the following four steps to disable task switching:
There is a simpler, more limited, method to disable task switching. If the application is run as a maximized window, then step 2 above is enough to prevent switching tasks. However, the application must prevent the window from being restored or minimized. The limitation to this method is that the application must run as a maximized window.
|
Additional reference words: 3.00 3.10 softlib NOSWITCH.EXE
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |