MapDialogRect function user32

int MapDialogRect(
  1. int hDlg,
  2. Pointer<RECT> lpRect
)

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.

BOOL MapDialogRect(
  HWND   hDlg,
  LPRECT lpRect
);

Implementation

int MapDialogRect(int hDlg, Pointer<RECT> lpRect) =>
    _MapDialogRect(hDlg, lpRect);