please dont rip this site Prev Next

LV_COLUMN info  Overview  Group

The LV_COLUMN structure contains information about a column in a list view control. This structure is also used to receive information about a column.

typedef struct _LV_COLUMN { 

    UINT mask; 

    int fmt; 

    int cx; 

    LPTSTR pszText; 

    int cchTextMax; 

    int iSubItem; 

} LV_COLUMN; 

 

Members

mask
Specifies which members of this structure contain valid information. This member can be zero, or one or more of the following values:

Value

Meaning

LVCF_FMT

The fmt member is valid.

LVCF_SUBITEM

The iSubItem member is valid.

LVCF_TEXT

The pszText member is valid.

LVCF_WIDTH

The cx member is valid.

fmt
Specifies the alignment of the column heading and the subitem text in the column. This member can be one of the following values:

Value

Meaning

LVCFMT_CENTER

Text is centered.

LVCFMT_LEFT

Text is left-aligned.

LVCFMT_RIGHT

Text is right-aligned.

The leftmost column in a list view control must be left aligned.

cx
Specifies the width, in pixels, of the column.
pszText
Pointer to a null-terminated string that contains the column heading if the structure contains information about a column. If the structure is receiving information about a column, this member specifies the address of the buffer that receives the column heading.
cchTextMax
Specifies the size, in characters, of the buffer pointed to by the pszText member. If the structure is not receiving information about a column, this member is ignored.
iSubItem
Specifies the index of subitem associated with column.

Remarks

This structure is used with the LVM_GETCOLUMN, LVM_SETCOLUMN, LVM_INSERTCOLUMN, and LVM_DELETECOLUMN messages.

See Also

LVM_DELETECOLUMN, LVM_GETCOLUMN, LVM_INSERTCOLUMN, LVM_SETCOLUMN


file: /Techref/os/win/api/win32/struc/src/str10_15.htm, 4KB, , updated: 2000/4/7 11:20, local time: 2024/12/11 16:15,
TOP NEW HELP FIND: 
3.137.165.200: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/str10_15.htm"> LV_COLUMN</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!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .