2.2.4.38.44 Project::IsVisible

Description

Check a control window to see if it is currently shown. Origin's control windows are those that you can access from the View menu, like Project Explorer, Script Window etc.

Syntax

BOOL IsVisible( int nWinID = CWT_PROJECT_EXPLORER )

Parameters

nWinID
[input]Control window's ID, can be one of the followings
CWT_PROJECT_EXPLORER,
CWT_SCRIPT_WINDOW,
CWT_CODE_BUILDER,
CWT_RESULTS_LOG,

Return

True when success, else false.

Examples

EX1

void Project_IsVisible_ex1()
{
    BOOL bOK = Project.IsVisible(); // return TRUE if Project Explorer is Open.
}

Remark

See Also

Header to Include

origin.h