CDialogImpl::MapDialogRect

BOOL MapDialogRect( LPRECT lpRect );

Return Value

Nonzero if the update succeeds; 0 if the update fails. To get extended error information, call GetLastError.

Parameters

lpRect

Points to a CRect object or RECT structure that is to receive the client coordinates of the update that encloses the update region.

Remarks

Converts (maps) the dialog-box units of the specified rectangle 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.

CDialogImpl OverviewClass Members

See Also

MapDialogRect in the Platform SDK.