Utility Library Chapter 8
LabWindows/CVI Standard Libraries 8-40 © National Instruments Corporation
Parameters
Output visible integer 0, if window is to be hidden;
1, if window is to be displayed.
zoomState integer ATTR_NO_ZOOM—normal
display;
ATTR_MINIMIZE
ATTR_MAXIMIZE.
Return Value
None
Example
If you want to honor the user’s display options, put the following code where you display your
initial panel.
int showWindow, zoomState;
GetWindowDisplaySetting (&showWindow, &zoomState);
/* load panel or create panel) */
if (showWindow){
SetPanelAttribute (panel, ATTR_WINDOW_ZOOM, zoomState);
SetPanelAttribute (panel, ATTR_VISIBLE, 1);
}
InitCVIRTEint status = InitCVIRTE (void *hInstance, char *argv[], void *reserved);
Purpose
This function performs initialization of the CVI Run-Time Engine. It is needed only in
executables or DLLs that are linked using an external compiler. Otherwise, it is harmless.
Note: In LabWindows/CVI version 4.0.1, this function was expanded from one to three
parameters. Executables and DLLs created with the one-parameter version of the
function will continue to work properly.