Microsoft DirectX 9.0

CBaseControlWindow::get_Visible

The get_Visible method retrieves the current window visibility.

Syntax

HRESULT get_Visible(
    long *pVisible
);

Parameters

pVisible

Pointer to an Automation Boolean flag (0 is off, –1 is on).

Return Value

Returns an HRESULT value.

Remarks

This member function returns –1 if the window has the WS_VISIBLE style; 0 otherwise.

See Also