Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

EndDeferWindowPos function

Simultaneously updates the position and size of one or more windows in a single screen-refreshing cycle.

Syntax


BOOL WINAPI EndDeferWindowPos(
  _In_ HDWP hWinPosInfo
);

Parameters

hWinPosInfo [in]

Type: HDWP

A handle to a multiple-window – position structure that contains size and position information for one or more windows. This internal structure is returned by the BeginDeferWindowPos function or by the most recent call to the DeferWindowPos function.

Return value

Type:

Type: BOOL

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero. To get extended error information, call GetLastError.

Remarks

The EndDeferWindowPos function sends the WM_WINDOWPOSCHANGING and WM_WINDOWPOSCHANGED messages to each window identified in the internal structure.

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)

Library

User32.lib

DLL

User32.dll

See also

Reference
BeginDeferWindowPos
DeferWindowPos
WM_WINDOWPOSCHANGED
WM_WINDOWPOSCHANGING
Conceptual
Windows

 

 

Show:
© 2017 Microsoft