Get the state of the Data Display control.
BOOL GetDataDisplay( int nValType )
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
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 }
origin.h