winapi - Default button size? -
how create button control (with createwindow
of button
window class) has standard system-wide size (especially height) that's consistent rest of windows applications? should of course take dpi account , other settings.
remark: using
use_cw_default
width , height results in 0, 0 size button, that's not solution.
this msdn has say: design specifications , guidelines - visual design: layout.
the default size of button 50x14 dlus, can calculated pixels using examples shown getdialogbaseunits.
the mapdialogrect function seems calculation you.
Comments
Post a Comment