EndDeferWindowPos  149TEPG 

The EndDeferWindowPos function simultaneously updates the position and size of one or more windows in a single screen-refreshing cycle.

BOOL EndDeferWindowPos(

    HDWP hWinPosInfo

// handle to internal structure

   );

 

 

Parameters

hWinPosInfo

Identifies a multiple-window - position structure that contains size and position information for one or more windows. This internal structure is returned by the BeginDeferWindowPosMHDBLW function or by the most recent call to the DeferWindowPos17FGVWE function.

 

Return Values

If the function succeeds, the return value is nonzero.

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

Remarks

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

See Also

BeginDeferWindowPos, DeferWindowPos, WM_WINDOWPOSCHANGED, WM_WINDOWPOSCHANGING