WM_MOVING message

Sent to a window that the user is moving. By processing this message, an application can monitor the position of the drag rectangle and, if needed, change its position.

A window receives this message through its WindowProc function.

#define WM_MOVING                       0x0216

Parameters

wParam

This parameter is not used.

lParam

A pointer to a RECT structure with the current position of the window, in screen coordinates. To change the position of the drag rectangle, an application must change the members of this structure.

Return value

Type: LRESULT

An application should return TRUE if it processes this message.

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

Reference

WM_MOVE

WM_SIZING

Conceptual

Windows

Other Resources

RECT