jhattingh
asked on
SDI App - split views... Problem
After the wizard created my sdi app, i modified the CLeftView to be derived from CFormView. I've got it working ok, but although ClassWizard can add stuff in the message-maps tab, it can't add member variables. Why? How do I fix this?
member variables of control elements?
ASKER
Yes! e.g. I have a treectrl, and without classwizard, I have to manually create() which is a bit of a pain!
what excatly is the problem?
you can't see the treectrl in the wizzard member panel?
nil_dib
you can't see the treectrl in the wizzard member panel?
nil_dib
ASKER
Yep - totally blank.
Try rebuilding the ClassWizard file. Delete the .CLW file from the project directory & then run ClassWizard.
ASKER
Didn't work :(
Thanks all the same for your response
Thanks all the same for your response
If i understand correctly, you have derived a class for the left pane... tell me, do your class files include the AFX_DATA_MAP and AFX_DATA_INIT macros?? If not, add them and rebuild the ClassWizard file and see if the problem goes away...
ASKER
That's done it - thanks CaptainKirk. Please propose answer.
Thank you all for your help.
LWJason
Thank you all for your help.
LWJason
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks mate