Contents Index Topic Contents | ||
Previous Topic: Header_InsertItem Next Topic: Header_OrderToIndex |
Header_Layout
BOOL Header_Layout( hwndHD, playout );Retrieves the correct size and position of a header control within the parent window. You can use this macro or send the HDM_LAYOUT message explicitly.
- Returns TRUE if successful, or FALSE otherwise.
- hwndHD
- Handle to the header control.
- playout
- Address of an HDLAYOUT 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.
The Header_Layout macro is defined as follows:
#define Header_Layout(hwndHD, playout) \ (BOOL)SendMessage((hwndHD), HDM_LAYOUT, 0, \ (LPARAM)(PLHDLAYOUT)(playout))
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.