I am using a similar way to create the combo box in the list control. The list control is placed on a property page. Now the problem is after the combo box recieves killfocus message the whole property sheet(Wizard) closes.
But the same code works fine with a dialog based application.
hope you are doing the following
Posted by vijaymohite
on 08/26/2004 11:44am
Even I'm using this list control in one of the propertypage, i'm not getting such a problem.
Possible reason could be, you may not be handling OnKillFocus() in the class which is derived form CComboBox.
Hope you still need this solution.. otherwise somebody else may find it useful..
Since reading this article I have now managed to implement an edit control and a datetime picker as cells in the ListCtrl, I do however have one other problem.
I now need to be able to TAB between the editable cells. I only have a ListCtrl with two columns, the first is a fieldname row and the second is where the user enters their data.
Having to require the user to click on each cell before things become active, is proving a time consuming action, specially if the ListCtrl contains a lot of rows. What I would rather do is to allow the user to tab from the control and then have the focus set into the next control down.
I use the InPlaceList on top of a rather small listCtrl. If the InPlaceList is larger than the height of the listCtrl the lower entries are clipped.
Any hint for forcing a non-clipping?
When using the parent of the listCtrl as the parent for the InPlaceList, the complete list is visible, but the message flow does not work properly.