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

NMLISTVIEW

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

描述

 

包含有关列表视图通知消息的信息.这种结构是一样的NM_LISTVIEW结构,但已被重命名,以适应标准命名约定.

 

FreeBASIC 语法

 

TYPE NMLISTVIEW

  hdr       AS NMHDR

  iItem     AS LONG

  iSubItem  AS LONG

  uNewState AS UINT

  uOldState AS UINT

  uChanged  AS UINT

  ptAction  AS POINT

  lParam    AS LPARAM

END TYPE

 

成员

 

hdr

 

NMHDR structure that contains information about this notification message.

 

iItem

 

Identifies the list-view item, or -1 if not used.

 

iSubItem

 

Identifies the subitem, or zero if none.

 

uNewState

 

New item state. This member is zero for notification messages that do not use it.

 

uOldState

 

Old item state. This member is zero for notification messages that do not use it.

 

uChanged

 

Set of flags that indicate the item attributes that have changed. This member is zero for notifications that do not use it. Otherwise, it can have the same values as the mask member of the LVITEM structure.

 

ptAction

 

POINT structure that indicates the location at which the event occurred. This member is undefined for notification messages that do not use it.

 

lParam

 

Application-defined value of the item. This member is undefined for notification messages that do not use it.

 

引用文件

 

CommCtrl.bi