|
|
|
|
SetDisplayOutput
Sets the output device(s) for the display
Declaration
N_int32 NAPI GA_initFuncs::SetDisplayOutput(
N_int32 device)
Parameters
device |
Device flags for the displays to make active (GA_OutputFlagsType) |
Return Value
Flags of previously active devices or -1 on error.
Description
This function allows the application to switch the currently active display between the CRT, LCD or TV etc. Check that the mode information indicates that LCD display or TVOut display is supported before trying to switch to that display mode or this function will fail. You can also combine the flags together so that SetDisplayOutput(gaOUTPUT_CRT | gaOUTPUT_LCD) will switch to simultaneous display on both the LCD and CRT display (assuming the device supports this mode of operation; if not it will fail). Likewise SetDisplayOutput(gaOUTPUT_CRT | gaOUTPUT_TV) will display on both the CRT display and TVOut connector. Please check the GA_OutputFlagsType for the list of valid identifiers that can be passed to this function.
Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com