Example

//-------------------------------------------------------------------
// ECLWinMetrics::IsVisible
//
// Get current state of window, and then toggle it.
//-------------------------------------------------------------------
void Sample90() {
 
ECLWinMetrics Metrics('A');      // Window metrics class
BOOL  CurrState;
 
CurrState = Metrics.IsVisible(); // Get state
Metrics.SetVisible(!CurrState);  // Set state
 
} // end sample