The HD_ITEM structure contains information about an item in a header control.
typedef struct _HD_ITEM { hdi UINT mask; int cxy; LPTSTR pszText; HBITMAP hbm; int cchTextMax; int fmt; LPARAM lParam; } HD_ITEM;
Value |
Meaning |
HDI_BITMAP |
The hbm member is valid. |
HDI_FORMAT |
The fmt member is valid. |
HDI_HEIGHT |
The cxy member is valid and specifies the height of the item. |
HDI_LPARAM |
The lParam member is valid. |
HDI_TEXT |
The pszText and cchTextMax members are valid. |
HDI_WIDTH |
The cxy member is valid and specifies the width of the item. |
This member can include one of the following text justification flags. You can use the HDF_JUSTIFYMASK mask to isolate the text justification portion of the fmt member.
Value |
Meaning |
HDF_CENTER |
Centers the contents of the item. |
HDF_LEFT |
Left aligns the contents of the item. |
HDF_RIGHT |
Right aligns the contents of the item. |
The preceding value is combined with one of the following values:
Value |
Meaning |
HDF_BITMAP |
The item displays a bitmap. |
HDF_OWNERDRAW |
The owner window of the header control draws the item. |
HDF_STRING |
The item displays a string. |
In addition, on Hebrew or Arabic systems you can specify the HDF_RTLREADING
flag to display text using right-to-left reading order.
file: /Techref/os/win/api/win32/struc/src/str09.htm, 4KB, , updated: 2000/4/7 11:20, local time: 2024/11/23 21:05,
3.129.67.248:LOG IN
|
©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://ecomorder.com/techref/os/win/api/win32/struc/src/str09.htm"> HD_ITEM</A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
Welcome to ecomorder.com! |
.