Header_Layout  62K90NU 

The Header_Layout macro retrieves the size and position of a header control within a given rectangle. This macro is used to determine the appropriate dimensions for a new header control that is to occupy the given rectangle. You can use this macro or explicitly send the HDM_LAYOUT25PL6W5 message.

BOOL Header_Layout(

    hwndHD,

 

    playout

 

   );

 

 

Parameters

hwndHD

Handle to the header control.

playout

Pointer to an HD_LAYOUTF.DPM3 structure. The prc member specifies the coordinates of a rectangle, and the pwpos member receives the size and position for the header control within the rectangle.

 

Return Values

If the operation succeeds, the return value is TRUE.

If the operation fails, the return value is FALSE.

Remarks

The Header_Layout macro is defined as follows:

#define Header_Layout(hwndHD, playout) \

    (BOOL)SendMessage((hwndHD), HDM_LAYOUT, 0, \

    (LPARAM)(HD_LAYOUT FAR*)(playout))

 

See Also

HD_LAYOUTF.DPM3, HDM_LAYOUT25PL6W5