|
Overview |
|
|
|
Group |
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| Yes
| Win32s
| Yes
| Import Library
|
| Header File
| commctrl.h
| Unicode
| No
| Platform Notes
| None
|
|
|
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(
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
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
More Online Helps
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|