Example
//-------------------------------------------------------------------
// ECLWinMetrics::IsRestored
//
// Get current state of window, and then toggle it.
//-------------------------------------------------------------------
void Sample95() {
ECLWinMetrics Metrics('A'); // Window metrics class
BOOL CurrState;
CurrState = Metrics.IsRestored(); // Get state
if (!CurrState)
Metrics.SetRestored(); // Set state
else
Metrics.SetMinimized();
} // end sample