2.1.27.5 GetDataDisplay


Description

Get the state of the Data Display control.

Syntax

BOOL GetDataDisplay( int nValType )

Parameters

nValType
[input] the state of Data Display control

Return

if nValType = DD_SHOW, return TRUE if the Data Display control is visible, otherwise FALSE

if nValType = DD_DOCK, return TRUE if the Data Display control is dock, otherwise FALSE

Examples

EX1

void GetDataDisplay_ex1()
{
    if( !GetDataDisplay(DD_SHOW) )
        SetDataDisplay(DD_SHOW, TRUE);

    if( GetDataDisplay(DD_DOCK) ) // Data display is dock now
        SetDataDisplay(DD_DOCK, FALSE); // change to floating
    else
        SetDataDisplay(DD_DOCK, TRUE); // change to dock
}

Remark

See Also

Header to Include

origin.h

Reference