newntui/activex/queriescombo/src/queriescomboctl.cpp
//-----------------------------------------------------------------------------------------
// Fire every time the selection changed or added. Pass the string with categories
// readable names separated by {}
//-----------------------------------------------------------------------------------------
Fire every time the selection changed or added. Pass the string with categories
readable names separated by {}
Fire every time the selection changed or added . Pass the string with categories readable names separated by {}
void CQueriesComboCtrl::OnQueryChanged(NMHDR* pNMHDR, LRESULT* pResult) {
NM_LISTVIEW* pNMListView = (NM_LISTVIEW*)pNMHDR;
    if( (pNMListView->uOldState&LVIS_SELECTED)!=
		(pNMListView->uNewState&LVIS_SELECTED) ) {
		   m_InSelection=TRUE;
	}
}
void CQueriesComboCtrl :: OnQueryChanged ( NMHDR * pNMHDR , LRESULT * pResult ) { NM_LISTVIEW * pNMListView = ( NM_LISTVIEW * ) pNMHDR ; if ( ( pNMListView -> uOldState & LVIS_SELECTED ) != ( pNMListView -> uNewState & LVIS_SELECTED ) ) { m_InSelection = TRUE ; } }
Fire every time the selection changed or added.
Fire every time the selection changed or added .
// Item status changed