# GetWindowDisplaySetting

void GetWindowDisplaySetting (int *visible, int *zoomState);

## Purpose

Indicates how the user of your application wants the initial application window to display. The values that GetWindowDisplaySetting returns reflect the display options the user sets for the program in Microsoft Windows shells, such as Windows Explorer.

Linux This function is not supported.

### 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);

}

## Parameters

Output
Name | Type | Description
visible | integer | Indicates whether the user wanted the initial panel to appear when your application starts. 0 = hide window 1 = display window
zoomState | integer | If the visible parameter is set to 1, this parameter specifies how the user wants the initial panel to appear. ATTR_NO_ZOOM = normal display ATTR_MINIMIZE ATTR_MAXIMIZE

## Return Value

None.