Export (0) Print
Expand All

DM_REPOSITION message

Repositions a top-level dialog box so that it fits within the desktop area. An application can send this message to a dialog box after resizing it to ensure that the entire dialog box remains visible.


#define WM_USER              0x0400
#define DM_REPOSITION       (WM_USER+2)

Parameters

wParam

This parameter is not used and must be zero.

lParam

This parameter is not used and must be zero.

Return value

This message has no return value.

Remarks

This message has no effect if the dialog box is a child window.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Winuser.h (include Windows.h)

See also

Dialog Boxes Overview

 

 

Community Additions

ADD
Show:
© 2014 Microsoft