How to calculate width and height of check mark of CButton created with BS_CHECKBOX?
I need to resize this button if text not get in client area of button.
If I use simple button I calculate width and height of text by using DrawText with nFormat value DT_CALCRECT, but with button with BS_CHECKBOX flag DrawText not calculating text's width correctly...
Can I calculate width and height of this check mark? Or this value stored in Registry?
If I can't I need to use my own check mark in owner draw button... :-(