Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Custom Control

Status
Not open for further replies.

BeerFizz

Technical User
Jan 23, 2004
28
0
0
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
 
Hi,

Just a thought but couldn't you use a TriState Check Box for this?

--
Regards,

William
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top