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