Click to See Complete Forum and Search --> : Re: Controls subclassing


Franky Braem
March 29th, 1999, 12:35 AM
You can use a new class that is derived of a base-class.


example :


class CMyButton : public CButton

{

...

};

Gregg Raber
September 29th, 1999, 05:23 PM
Yes you can. Use the wizard to create a new class and within the wizared dialog box select the class you want to inherit form. When you create a member variable from the class Wizard there will be a pull down box for the type. You can select your class from there. Hope that helps.

Gregg