Posted on 1998-08-19
I have a little problem in my actual project:
I have a very simple dialog which uses a dynamically created
CListBox(because of reusing the code), and everything works
fine. Now i tried to change that to a CCheckListBox, because
its features would make everything a bit more pretty.
Take a look at this code snippet:
CSelectDialog : public CDialog()
when cListBox' type is CListBox, everything works fine,
but if it is a CCheckListBox i get a gpf, occuring
in CCheckListBox::PreMeasureItem(), and an internal mfc
structure (AFX_CHECK_DATA) contains an invalid pointer.
Does anyone have had an error like this yet?
I am short at time, i hope i'll get soon some hints :o)
Thank you in advance