Put ComboBox on the top of CListView
Posted on 2000-01-08
Sir, i have created a one Dialog, within that there is one CListView of Report-List type, & taken it's one member variable, called m_ListView. Now I have to put ComboBox on the top of the only one of the column of the CListView & when i traverse through the list with mouse click &/| with arrow up or down, the focus should not dispose the combobox, i.e. the combobox should remain there for lifetime of the Dialog & focus should not destroy the combobox.
Please sir provide answer, I have tried in the following manner;
first i take the rectangle of the particular column & at that place i create the new combobox, but what happen with me is that the combo box disposed automatically when i traver the rows in the list, with the ExtendedRowSelection FOCUS & it is required.
in abstract way i want to put combobox on the top of the CListView such that any effect of CListView doesn't come on the ComboBox.
Hope for +ve response.
waiting for reply.