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 12:20, local time: 2024/8/24 05:44,
3.145.18.107: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://piclist.com/tecHREF/os/win/api/win32/struc/src/str09.htm"> HD_ITEM</A> |
Did you find what you needed? |
![]() o List host: MIT, Site host massmind.org, Top posters @none found - Page Editors: James Newton, David Cary, and YOU! * Roman Black of Black Robotics donates from sales of Linistep stepper controller kits. * Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters. * Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated! * Contributors: Richard Seriani, Sr. |
Welcome to piclist.com! |
.