newntui/discovermdi/src/qaparams.cpp
//---------------------------------------------------------------------------------------
// This public function will return the currently selected scope to run the query.
//---------------------------------------------------------------------------------------
This public function will return the currently selected scope to run the query.
This public function will return the currently selected scope to run the query .
void CQAParams::GetScope(CString & scope) {
	int sel = m_ScopeCombo.GetCurSel();
	if(sel<0) {
		scope="";
		return;
	}
	m_ScopeCombo.GetLBText(sel,scope); 
}
void CQAParams :: GetScope ( CString & scope ) { int sel = m_ScopeCombo . GetCurSel ( ) ; if ( sel < 0 ) { scope = " " ; return ; } m_ScopeCombo . GetLBText ( sel , scope ) ; }
This public function will return the currently selected scope to run the query.
This public function will return the currently selected scope to run the query .