newntui/activex/queriescombo/src/queriescomboctl.cpp
//---------------------------------------------------------------------------
// Will remove all selections from the query list.
//---------------------------------------------------------------------------
Will remove all selections from the query list.
Will remove all selections from the query list .
void CQueriesComboCtrl::Clear()  {
   for(register i=0; i<m_ListView.GetItemCount();i++) 
     if(m_ListView.GetItemState(i,LVIS_SELECTED)!=0)
	    m_ListView.SetItemState(i,0,LVIS_SELECTED);
}
void CQueriesComboCtrl :: Clear ( ) { for ( register i = 0 ; i < m_ListView . GetItemCount ( ) ; i ++ ) if ( m_ListView . GetItemState ( i , LVIS_SELECTED ) != 0 ) m_ListView . SetItemState ( i , 0 , LVIS_SELECTED ) ; }
Will remove all selections from the query list.
Will remove all selections from the query list .