newntui/activex/groupscombo/src/groupscomboctl.cpp
//----------------------------------------------------------------------------------
// Callback which generates event. Runs every time the selection changed or added. 
// Pass the string with groups names separated by {}.
//----------------------------------------------------------------------------------
Callback which generates event. Runs every time the selection changed or added.
Pass the string with groups names separated by {}.
Callback which generates event . Runs every time the selection changed or added . Pass the string with groups names separated by {} .
void CGroupsComboCtrl::OnGroupChanged(NMHDR* pNMHDR, LRESULT* pResult) {
NM_LISTVIEW* pNMListView = (NM_LISTVIEW*)pNMHDR;
    if( (pNMListView->uOldState&LVIS_SELECTED)!=
		(pNMListView->uNewState&LVIS_SELECTED) ) {
		   m_InSelection=TRUE;
           SetToolbarStatus();
	}
}
void CGroupsComboCtrl :: OnGroupChanged ( NMHDR * pNMHDR , LRESULT * pResult ) { NM_LISTVIEW * pNMListView = ( NM_LISTVIEW * ) pNMHDR ; if ( ( pNMListView -> uOldState & LVIS_SELECTED ) != ( pNMListView -> uNewState & LVIS_SELECTED ) ) { m_InSelection = TRUE ; SetToolbarStatus ( ) ; } }
Callback which generates event.
Callback which generates event .
// Item status changed from unselected to selected or from selected to unselected