HDM_LAYOUT
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_Layout macro.
Syntax
HDM_LAYOUT wParam = 0;
lParam = (LPARAM)(HD_LAYOUT FAR*) playout;
Parameters
- wParam
Not used.
- playout
Pointer to an HDLAYOUT structure. The prc member specifies the rectangle coordinates, and the pwpos member 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 |