共用方式為


EndDeferWindowPos

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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

Syntax

BOOL EndDeferWindowPos( 
  HDWP hWinPosInfo 
);

Parameters

  • hWinPosInfo
    [in] 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

Nonzero indicates success. Zero indicates failure. To get extended error information, call GetLastError.

Remarks

In Windows Embedded CE, the EndDeferWindowPos function sends the WM_WINDOWPOSCHANGED message to each window identified in the internal structure. It does not send a WM_WINDOWPOSCHANGING message.

Requirements

Header winuser.h
Windows Embedded CE Windows CE 2.10 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

DeferWindowPos
BeginDeferWindowPos
Windows Functions