|
-
May 14th, 1999, 11:47 AM
#1
Checkboxes
Does anyone know how to put a different image in a check box when it is checked other than a tick?
I would like to have 1's and 0's instead.
Please email replies to [email protected]
-
May 23rd, 1999, 10:19 PM
#2
Re: Checkboxes
1) Create a CButton derived class.
2) Create a member variable to store the state.
3) Use the OnPaint member to draw the bitmap.
I think you will have to create regular buttons
(not checkboxes) with the Ownerdrawn feature
enabled,in the resource editor if you want to use it...
Anywho..that's what I'd prolly do.
If you have trouble figuring out the code, e-mail me.
HTH!
Bye!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|