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

NMLVGETINFOTIP

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

描述

 

包含所有者需要查找由虚拟列表视图控件请求的项的信息.此结构与LVN_ODFINDITEM通知消息.

 

FreeBASIC 语法

 

TYPE NMLVGETINFOTIPW

  hdr        AS NMHDR

  dwFlags    AS DWORD

  pszText    AS LPWSTR

  cchTextMax AS LONG

  iItem      AS LONG

  iSubItem   AS LONG

  lParam     AS LPARAM

END TYPE

 

成员

hdr

NMHDR structure that contains information on this notification message.

dwFlags

Either zero or LVGIT_UNFOLDED. See Remarks.

 

pszText

Address of a string buffer that receives any additional text information. If dwFlags is zero, this member will contain the existing item text. In this case, you should append any additional text onto the end of this string. The size of this buffer is specified by the cchTextMax structure.

cchTextMax

Size, in characters, of the buffer pointed to by pszText. Although you should never assume that this buffer will be of any particular size, the INFOTIPSIZE value can be used for design purposes.

iItem

Zero-based index of the item to which this structure refers.

iSubItem

One-based index of the subitem to which this structure refers. If this member is zero, the structure is referring to the item and not a subitem. This member is not currently used and will always be zero.

lParam

Application-defined value associated with the item. This member is not currently used and will always be zero.

 

备注

 

当当前显示的文本被截断时,该项目被折叠.如果LVGIT_UNFOLDED返回在dwFlags,已显示该项的全文,所以不需要显示在工具提示.

 

引用文件

 

CommCtrl.bi