newntui/discovermdi/src/qaparams.cpp
//-----------------------------------------------------------------------
// This private function will show or hide all controls on the settings
// page depending on the show flag.
//-----------------------------------------------------------------------
This private function will show or hide all controls on the settings
page depending on the show flag.
This private function will show or hide all controls on the settings page depending on the show flag .
void CQAParams::ShowSettingsPage(BOOL show) {
	int nCmd = show?SW_SHOW:SW_HIDE;
	m_ScopeTitle.ShowWindow(nCmd);
	m_ScopeCombo.ShowWindow(nCmd);
	m_PropertiesTitle.ShowWindow(nCmd);
	m_Properties.ShowWindow(nCmd);
	m_Properties.EnableWindow(false);
}
void CQAParams :: ShowSettingsPage ( BOOL show ) { int nCmd = show ? SW_SHOW : SW_HIDE ; m_ScopeTitle . ShowWindow ( nCmd ) ; m_ScopeCombo . ShowWindow ( nCmd ) ; m_PropertiesTitle . ShowWindow ( nCmd ) ; m_Properties . ShowWindow ( nCmd ) ; m_Properties . EnableWindow ( false ) ; }
This private function will show or hide all controls on the settings
page depending on the show flag.
This private function will show or hide all controls on the settings page depending on the show flag .