How can I get Area of checkbox ?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hellow , all

How can I acquire the area where it is drawn to checkBox that changes
externals by CheckState such as CheckBox and RadioButton?

SystemInformation.MenuCheckSize ???

Thank you,

Ken
 
ken,

Windows doesn't privide API to get this info. MenuCheckSize is for menu
check boxes only. AFAIK Windows (at least Win XP) uses symbols from the
Marlett font to draw these images. I believe I read somewhere that the size
of the check area of check boxes and radio button has been hardcoded and
hasn't change since win95 (the latter I cannot confirm), so you can you
measure the size on the screen and hope that this is true and won't change
:)

BTW why do you need that it could be possible that you can get away without
this information?
 
Back
Top