Quick change of class of custom control?
-
If you have a standard dialog control and you've done some code for it, but then find a custom control that's based on that, is there an easy way to make the control be of that new class, eg I've done something with a listview but if i wanted to try the alternate shaded row control, can I quickly/easily do that, or is it going to get so messy it's best to start with a new custom control? http://www.codeproject.com/listctrl/coloredlistctrl.asp[^]
-
If you have a standard dialog control and you've done some code for it, but then find a custom control that's based on that, is there an easy way to make the control be of that new class, eg I've done something with a listview but if i wanted to try the alternate shaded row control, can I quickly/easily do that, or is it going to get so messy it's best to start with a new custom control? http://www.codeproject.com/listctrl/coloredlistctrl.asp[^]
In fact I just changed the class type in the dialog header file in one line and it worked just fine. I suppose that's because in this case, the class is just the base class with an overridden draw/erase method