newntui/activex/queriescombo/src/queriescomboctl.cpp
//----------------------------------------------------------------------------------------
// Set the new name for the server variable which must contain selection with which this
// component works.
//----------------------------------------------------------------------------------------
Set the new name for the server variable which must contain selection with which this
component works.
Set the new name for the server variable which must contain selection with which this component works .
void CQueriesComboCtrl::SetSelection(LPCTSTR lpszNewValue)  {
CString oldList=m_QueriesList;
	m_Selection=lpszNewValue;
    FormQueriesList();
	if(oldList!=m_QueriesList) Update();
}
void CQueriesComboCtrl :: SetSelection ( LPCTSTR lpszNewValue ) { CString oldList = m_QueriesList ; m_Selection = lpszNewValue ; FormQueriesList ( ) ; if ( oldList != m_QueriesList ) Update ( ) ; }
Set the new name for the server variable which must contain selection with which this
component works.
Set the new name for the server variable which must contain selection with which this component works .