HDM_LAYOUT

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.

HDM_LAYOUT wParam = 0; 
lParam = (LPARAM)(HD_LAYOUT FAR*) playout;

Parameters

  • 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 Values

TRUE indicates success. FALSE indicates failure.

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 1.0 and later Commctrl.h    

Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

See Also

Header_Layout, HD_LAYOUT, HDLAYOUT

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.