joy.cpl: Corrected misplaced elements when using high DPIs

Alexandre Julliard julliard at
Mon Aug 13 10:27:38 CDT 2012

Lucas Zawacki <lfzawacki at> writes:

> From: Lucas Zawacki <lfzawacki at>
> Fixes bug #31316
> joy.cpl uses CreateWindow and SetWindowPos to draw some elements
> and the hardcoded coordinates where wrong when the dpi was set to anything
> bigger than 96px in winecfg. My approach to solve is normalize the
> coordinates based on the dialog window size.

You probably want to use MapDialogRect instead.

Alexandre Julliard
julliard at

More information about the wine-devel mailing list