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.
At a Glance
Header file: | Commctrl.h |
Windows CE versions: | 1.0 and later |
Related macro: | Header_Layout |
Syntax
HDM_LAYOUT wParam = 0;
lParam = (LPARAM)(HD_LAYOUT FAR*) playout;
Parameters
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 Values
TRUE indicates success. FALSE indicates failure.
See Also