National Instruments 320682C Musical Toy Instrument User Manual


 
Utility Library Chapter 8
LabWindows/CVI Standard Libraries 8-14 © National Instruments Corporation
your standalone application to be brought up in place of the Program Manager when Windows
boots. You can do this by changing the following line in your system.ini [boot] section.
shell = progman.exe
to
shell = <full-path-of-your-executable>
Alternatives in Windows 95
Under Windows 95, you can arrange for your standalone application to appear in place of the
desktop when Windows boots.
You can do this by changing the following line in your system.ini [boot] section.
shell = Explorer.exe
to
shell = <full-path-of-your-executable>
Alternatives in Windows NT
Under Windows NT, you can achieve the same results as DisableTaskSwitching by
arranging for your LabWindows/CVI application to be brought up in place of the Program
Manager and by disabling the Task Manager. You can do this by making following changes to
the registry entry for the key name,
KEY_LOCAL_MACHINE\Software\Microsoft\CurrentVersion\Winlogon
Change the value for SHELL to the pathname of your application executable.
Add a value with the name TASKMAN. Set the data to an empty string.
Preventing Interference With Real-Time Processing
Under Windows, many user actions can interfere with real-time processing. The actions in the
following list suspend the processing of events.
Moving and sizing top-level windows
Bringing down the System menu
Pressing the <Alt-Tab> key combination
You can prevent these user actions from interfering with event processing by doing all of the
following.
Call DisableTaskSwitching (or use the alternative for Windows NT mentioned in this
section).
Make all of your top-level panels non-movable and non-sizable.