timber
May 12th, 1999, 05:15 PM
Hi,
I have created, using the MFC class wizard, a form (dialog). In adding my code I have noticed no destructor created by the class wizard. Because I have created a object using the 'new' keyword in the constructor, I need to 'delete' the object using a destructor. Do I add my own destructor? When trying to do this and after typing the symbol '~' in the cpp file VC++ inserts '_AfxCbtFilterHook' in front of the symbol. Is this normal behavior?
Steve P.
I have created, using the MFC class wizard, a form (dialog). In adding my code I have noticed no destructor created by the class wizard. Because I have created a object using the 'new' keyword in the constructor, I need to 'delete' the object using a destructor. Do I add my own destructor? When trying to do this and after typing the symbol '~' in the cpp file VC++ inserts '_AfxCbtFilterHook' in front of the symbol. Is this normal behavior?
Steve P.