BeerFizz
Technical User
- Jan 23, 2004
- 28
Hi Guys,
I would like to build a very simple custom control derived from CButton. I want the control to be "ownerdraw" so it has to use autoload (I suppose). The control is very simple, press it, it changes bit images and stays down, press it again and it changes images again and comes back up. I want to have numerous controls like this on my dialog, so I suppose it should also be in the control tool bar.
I have spent over a day messing with this and all attempts so far have been disasterous
Any help would be much appreciated.
Thanks
Phil
I would like to build a very simple custom control derived from CButton. I want the control to be "ownerdraw" so it has to use autoload (I suppose). The control is very simple, press it, it changes bit images and stays down, press it again and it changes images again and comes back up. I want to have numerous controls like this on my dialog, so I suppose it should also be in the control tool bar.
I have spent over a day messing with this and all attempts so far have been disasterous
Any help would be much appreciated.
Thanks
Phil