Header_LayoutHeader_Layout*
*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.

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))
 

Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.