导航:  Windows Controls Procedures > List View Control > Structures >

LVFOOTERITEM

上一页返回章节概述下一页

描述

 

包含页脚项目的信息.

 

FreeBASIC 语法

TYPE LVFOOTERITEM

  mask       AS UINT

  iItem      AS LONG

  pszText    AS LPWSTR

  cchTextMax AS LONG

  state      AS UINT

  stateMask  AS UINT

END TYPE

 

成员

mask

Set of flags that specify which members of this structure contain data to be set or which members are being requested. This parameter must be one of the following values:

 

LVFIF_TEXT

The pszText member is valid input from the caller or is requested and thus should be set by the receiver.

LVFIF_STATE

The state member is valid input from the caller or is requested and thus should be set by the receiver.

iItem

The index of the item.

 

pszText

A pointer to a null-terminated, Unicode buffer. The calling process is responsible for allocating the buffer.

 

cchTextMax

The number of WCHARs in the buffer pointed to by pszText, including the terminating NULL.

state

Indicates the item's state. The stateMask member indicates the valid bits of this member. Currently, state must be set to the following:

 

LVFIS_FOCUSED

Bit indicating focus state. Set if the item is in focus, otherwise cleared.

 

stateMask

Value specifying which bits of the state member will be retrieved or modified. Currently, this value must be the following:

 

LVFIS_FOCUSED

The LVFIS_FOCUSED bit of member state is valid. For example, setting this member to LVFIS_FOCUSED will cause the focus state to be retrieved to member state.

备注

 

这种结构是用ListView_GetFooterItem宏观和LVM_GETFOOTERITEM消息.

 

最低操作系统

 

Windows Vista.

 

引用文件

 

CommCtrl.bi