joy.cpl: Corrected misplaced elements when using high DPIs

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


Lucas Zawacki <lfzawacki at gmail.com> writes:

> From: Lucas Zawacki <lfzawacki at gmail.com>
>
> 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 winehq.org



More information about the wine-devel mailing list