Huw Davies huw@codeweavers.com wrote:
- checkBoxWidth = 12 * GetDeviceCaps( hDC, LOGPIXELSX ) / 96 + 1;
- checkBoxHeight = 12 * GetDeviceCaps( hDC, LOGPIXELSY ) / 96 + 1;
Are you sure that user32 is really supposed to scale the buttons? Could that be that it's only new comctl32 implementation should do this kind of thing? Scaling the buttons has the potential of completely distorting the dialog layout, and I really would like to see some tests for this behaviour (even a standalone application would be acceptable).