please dont rip this site Prev Next

HD_ITEM info  Overview  Group

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; 

 

Members

mask
Mask flags that indicate which of the other structure members contain valid data. This member can be a combination of the following values:

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.

cxy
Width or height of item.
pszText
Pointer to item string.
hbm
Handle to item bitmap.
cchTextMax
Length of item string, in characters.
fmt
A set of bit flags that specify the item’s format.

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.

lParam
Application-defined item data.

file: /Techref/os/win/api/win32/struc/src/str09.htm, 4KB, , updated: 2000/4/7 11:20, local time: 2024/11/23 21:05,
TOP NEW HELP FIND: 
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?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://ecomorder.com/techref/os/win/api/win32/struc/src/str09.htm"> HD_ITEM</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to ecomorder.com!

 

Welcome to ecomorder.com!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .