J
Bin kein C-Programmierer ...
The MapDialogRect function converts (maps) the specified dialog box units to screen units (pixels). The function replaces the coordinates in the specifiedRECT structure with the converted coordinates, which allows the structure to be used to create a dialog box or position a control within a dialog box.
...
In most cases, the base units for the dialog box are the same as those retrieved by using the GetDialogBaseUnits function. If the dialog box template has the DS_SETFONT style, however, the base units are the average width and height, in pixels, of the characters in the font given by the template.