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