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

LVTILEINFO

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

描述

 

提供在列表视图控件中显示平铺视图中的项的信息.

 

FreeBASIC 语法

 

TYPE LVTILEINFO

  cbSize    AS UINT

  iItem     AS LONG

  cColumns  AS UINT

  puColumns AS PUINT

#if _WIN32_WINNT = &h0602

  piColFmt  AS LONG PTR

#endif

END TYPE

 

成员

cbSize

The size of the LVTILEINFO structure.

iItem

The item for which the information is retrieved or set.

cColumns

The number of data columns displayed for this item. When retrieving information, initialize this value to the size of the puColumns array. On return, the member is set to the number of columns actually set for the item.

puColumns

A pointer to an array of column indices, specifying which columns are displayed for this item, and the order of those columns. When retrieving information, allocate an array large enough to hold the greatest number of columns expected.

piColFmt

A pointer to an array of column formats (for example, LVCFMT_LEFT), one for each of the columns specified in puColumns. When retrieving information, allocate an array large enough to hold the greatest number of column formats expected.

 

备注

 

在平铺视图中,项目名称显示在图标右侧.你可以指定额外的子项(详细信息视图中的列对应的),将显示在项目名称下面的线.的puColumns数组包含的子项的索引将显示.指标应大于0,因为0的子项,项目名称,已经显示.

 

列的信息,也可以设置在LVITEM结构创建列表项时.

 

最低操作系统

 

Windows XP.

 

引用文件

 

CommCtrl.bi