描述
包含有关LVN_GETDISPINFO或LVN_SETDISPINFO通知消息.这种结构是一样的LV_DISPINFO结构,但已改名以符合标准命名约定.
FreeBASIC 语法
TYPE NMLVDISPINFOW hdr AS NMHDR item AS LVITEMW END TYPE |
成员
hdr
NMHDR structure that contains information about this notification message.
item
LVITEM structure that identifies the item or subitem. The structure either contains or receives information about the item. The mask member contains a set of bit flags that specify which item attributes are relevant. For more information on the available bit flags, see LVITEM.
备注
如果LVITEM结构接收项目文本的pszText和cchTextMax成员指定地址和缓冲区大小.你可以将文本复制到缓冲区或分配一个字符串的pszText成员的地址.在后一种情况下,你不能改变或删除字符串,直到相应的项目文本被删除或两个额外的LVN_GETDISPINFO邮件已发送.
如果你正在处理的LVN_GETDISPINFO消息,你可以在LVITEM结构mask成员设置LVIF_DI_SETITEM旗.这告诉操作系统存储请求的列表项信息,而不是再次请求它.列表视图控件的LVS_REPORT风格,这个标志只适用于第一个(子项目0)列的信息.控件不会存储信息的子项.
引用文件
CommCtrl.bi


