Looks a bit confusing...
quote:
Originally posted by MSDN
MapDialogRect: http://msdn2.microsoft.com/en-us/library/ms645502.aspx
The MapDialogRect function converts the specified dialog box units to screen units (pixels). The function replaces the coordinates in the specified RECT 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.
I need to convert pixels to dialog units, not dialog units to pixels...