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

LVTILEVIEWINFO

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

描述

 

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

 

FreeBASIC 语法

TYPE LVTILEVIEWINFO

  cbSize        AS UINT

  dwMask        AS DWORD

  dwFlags       AS DWORD

  sizeTile      AS SIZE

  cLines        AS LONG

  rcLabelMargin AS RECT

END TYPE

 

成员

cbSize

Size of the LVTILEVIEWINFO structure.

dwMask

Mask that determines which members are valid. This member may be one of the following values.

 

LVTVIM_TILESIZE

sizeTile is valid, or dwFlags contains LVTVIF_EXTENDED.

LVTVIM_COLUMNS

cLines is valid.

LVTVIM_LABELMARGIN

rcLabelMargin is valid.

dwFlags

Flags that determines how the tiles are sized in tile view. This member may be one of the following values.

 

LVTVIF_AUTOSIZE

Size the tiles automatically.

LVTVIF_EXTENDED

Windows Vista. Set extended tiles view. LVTVIM_TILESIZE must be set in dwMask.

LVTVIF_FIXEDWIDTH

Apply a fixed width to the tiles.

LVTVIF_FIXEDHEIGHT

Apply a fixed height to the tiles.

LVTVIF_FIXEDSIZE

Apply a fixed height and width to the tiles.

sizeTile

Size of an individual tile. Values for dimensions not specified as fixed in dwFlags are ignored.

cLines

Maximum number of text lines in each item label, not counting the title.

rcLabelMargin

RECT that contains coordinates of the label margin.

 

备注

 

默认情况下,瓷砖的尺寸自动确定.申请一个固定的尺寸,在sizeTile正确的值或值的供应和dwFlags设置相应的标志.为显示的所有行提供足够的垂直空间.如果一行不符合允许的水平空间,则用省略号终止.

 

最低操作系统

 

Windows XP.

 

引用文件

 

CommCtrl.bi