Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

Retrieves the correct header control size and position within the parent window. This message retrieves the header control size and position within a specified rectangle. This message is used to determine the appropriate dimensions for a new header control to occupy the specified rectangle. You can send this message explicitly or use the Header_Layoutmacro.

Syntax

HDM_LAYOUT 
wParam = 0; 

lParam = (LPARAM)(HD_LAYOUT FAR*) 
playout;

Parameters

wParam

Not used.

playout

Pointer to an HDLAYOUTstructure. The prcmember specifies the rectangle coordinates, and the pwposmember receives the size and position for the header control within the rectangle.

Return Value

TRUE indicates success. FALSE indicates failure.

Requirements

Header commctrl.h
Windows Embedded CE Windows CE 1.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also