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 Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

resizing check boxes

Status
Not open for further replies.

daz321

Programmer
May 31, 2002
17
GB
Is it possible to resize the tick box part of a check box?
 
The easy answer is no! The standard tickbox is built into windows.
You could have a go at faking it though. Create 2 bitmaps, one with a big cross on it and the other exactly the same, but without the cross.
Put the cross on the form and hide it, then put the blank bitmap exactly over the top of it. Put some code behind the 2 bitmaps to hide and show them when they are clicked and you have done it! Instant(ish) fakie tickboxes!

B ----------------------------------
Ben O'Hara
bo104@westyorkshire.pnn.police.uk
----------------------------------
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top