MoO_coW
Member
- Jul 14, 2000
- 486
- 0
Well im working on a program in MFC to draw a house and im having a bit of a problem, im working on making a toolbar for it to spice it up a bit but im having a problem with one line of code.
when i put CToolBarCtrl m_TB; into my header file i get the bellow errors pluss a few more that have to do with m_TB. Does anyone have any idea on why this isnt working or know of a good discusion board that could help me out? I dont know anyone that knows how to program in MFC really so I dont have any help. Thanks
error : syntax error : missing ';' before identifier 'm_TB'
error : 'CToolBarCtrl' : missing storage-class or type specifiers
error : 'm_TB' : missing storage-class or type specifiers
error : 'm_TB' : undeclared identifier
error : syntax error : missing ';' before identifier 'm_TB'
error : 'CToolBarCtrl' : missing storage-class or type specifiers
error : 'm_TB' : missing storage-class or type specifiers
when i put CToolBarCtrl m_TB; into my header file i get the bellow errors pluss a few more that have to do with m_TB. Does anyone have any idea on why this isnt working or know of a good discusion board that could help me out? I dont know anyone that knows how to program in MFC really so I dont have any help. Thanks
error : syntax error : missing ';' before identifier 'm_TB'
error : 'CToolBarCtrl' : missing storage-class or type specifiers
error : 'm_TB' : missing storage-class or type specifiers
error : 'm_TB' : undeclared identifier
error : syntax error : missing ';' before identifier 'm_TB'
error : 'CToolBarCtrl' : missing storage-class or type specifiers
error : 'm_TB' : missing storage-class or type specifiers
Last edited: