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]
Printable View
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]
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!