Prev Next
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
file: /Techref/os/win/api/win32/mac/src/mac00_21.htm, 2KB, , updated: 2000/4/7 11:19, local time: 2024/11/14 00:35,
|
| ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://linistepper.com/Techref/os/win/api/win32/mac/src/mac00_21.htm"> Header_Layout</A> |
Did you find what you needed?
|
|