Hello!
In an application I have a Form View with a list control (m_ctrlList) in it, among others. The list control is set to report style. There is also a combo box that is supposed to show up, whenever I click particular items in the list control. The combo box is hence created as a child of the list control.
So far so good. The combo box shows where and when i want it.Code:dwStyle = WS_BORDER|WS_CHILD|WS_VISIBLE|CBS_DROPDOWNLIST; m_ctrlCombo.Create(dwStyle, r, &m_ctrlList, IDC_INPUT_COMBO);
Now I want to handle a selection change of the combo box within the form view class and there's my problem: Since the combo box is a child of the list control the form view class doesn't get a message when the selection is changed...
I inserted a message map entry like this:
Any ideas?Code:ON_CBN_SELCHANGE(IDC_INPUT_COMBO, &CInputView::OnCbnSelchangeInputCombo)




Reply With Quote