Partager via


HDM_LAYOUT (Compact 2013)

3/28/2014

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

See Also

Reference

Header Controls Messages
Header_Layout
HDLAYOUT