Header_Layout
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_LAYOUT
message.
BOOL Header_Layout(
|
hwndHD, |
|
|
playout |
|
|
); |
|
Parameters
hwndHD
Handle to the
header control.
playout
Pointer to an
HD_LAYOUT
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_LAYOUT, HDM_LAYOUT