I've created a CCheckListBox through subclassing, but I set the default font to 12 point size for the dialog that the original listbox resides in. The listbox is ownerdrawfixed and hasstrings.
When I populate the CCheckListBox everything seems to work until all the strings have been loaded and then I get an error in debug mode and it appears to have something to do with the minimum size of the items.
I can see the dialog on screen and all the strings are visible but the size of the checkbox is small (not the size I would expect for the 12 point font).
Since I have changed the default font size for this dialog do I need to implement an override of the measureitem method? Just as a side note, if I set the dialog default font back to 8 point (the original setting) everything works fine.