HDM_LAYOUT (Windows CE 5.0)

Send Feedback

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.

HDM_LAYOUTwParam= 0;lParam = (LPARAM)(HD_LAYOUTFAR*)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 Values

TRUE indicates success. FALSE indicates failure.

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Commctrl.h.

See Also

Header Controls Messages | Header_Layout | HDLAYOUT

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.