ListView控制消息
ListView控制消息
ListView控制消息是提供给父窗口或其他窗口通过发消息来控制ListView窗口本身.
ListView控件提供给了以下消息来让外部程序控制自身:
ListView_ApproximateViewRect
:
ListView_Arrange
:
ListView_CancelEditLabel
:
ListView_CreateDragImage
:
ListView_DeleteAllItems
: 删除所有节点
ListView_DeleteColumn
: 删除一列
ListView_DeleteItem
: 删除一个节点
ListView_EditLabel
: 编辑节点的文本
ListView_EnableGroupView
:
ListView_EnsureVisible
:
ListView_FindItem
: 查找节点
ListView_GetBkColor
: 获取背景色
ListView_GetBkImage
: 获取背景图片
ListView_GetCallbackMask
:
ListView_GetCheckState
: 获取选中状态
ListView_GetColumn
: 获取一列
ListView_GetColumnOrderArray
:
ListView_GetColumnWidth
: 获取列宽
ListView_GetCountPerPage
:
ListView_GetEditControl
: 获取编辑框控件
ListView_GetEmptyText
:
ListView_GetExtended
ListViewStyle
:
ListView_GetFocusedGroup
:
ListView_GetFooterInfo
:
ListView_GetFooterItem
:
ListView_GetFooterItemRect
:
ListView_GetFooterRect
:
ListView_GetGroupCount
:
ListView_GetGroupHeaderImageList
:
ListView_GetGroupInfo
:
ListView_GetGroupInfoByIndex
:
ListView_GetGroupMetrics
:
ListView_GetGroupRect
:
ListView_GetGroupState
:
ListView_GetHeader
:
ListView_GetHotCursor
:
ListView_GetHotItem
:
ListView_GetHoverTime
:
ListView_GetImageList
: 获取图标链表
ListView_GetInsertMark
:
ListView_GetInsertMarkColor
:
ListView_GetInsertMarkRect
:
ListView_GetISearchString
:
ListView_GetItem
: 获取节点
ListView_GetItemCount
: 获取所有节点的个数(行数)
ListView_GetItemIndexRect
:
ListView_GetItemPosition
: 获取节点的行号
ListView_GetItemRect
:
ListView_GetItemSpacing
:
ListView_GetItemState
:
ListView_GetItemText
: 获取节点文本
ListView_GetNextItem
: 获取下一个被选中的节点
ListView_GetNextItemIndex
: 获取下一个节点的索引
ListView_GetNumberOfWorkAreas
:
ListView_GetOrigin
:
ListView_GetOutlineColor
:
ListView_GetSelectedColumn
:
ListView_GetSelectedCount
: 获取被选中的个数
ListView_GetSelectionMark
:
ListView_GetStringWidth
: 获取文本的宽度
ListView_GetSubItemRect
:
ListView_GetTextBkColor
: 获取文本的背景颜色
ListView_GetTextColor
: 获取文本颜色
ListView_GetTileInfo
:
ListView_GetTileViewInfo
:
ListView_GetToolTips
:
ListView_GetTopIndex
:
ListView_GetUnicodeFormat
:
ListView_GetView
:
ListView_GetViewRect
:
ListView_GetWorkAreas
:
ListView_HasGroup
:
ListView_HitTest
: 获取当前被点击的节点的句柄
ListView_HitTestEx
:
ListView_InsertColumn
: 插入一列
ListView_InsertGroup
:
ListView_InsertGroupSorted
:
ListView_InsertItem
: 插入一行
ListView_InsertMarkHitTest
:
ListView_IsGroupViewEnabled
:
ListView_IsItemVisible
:
ListView_MapIDToIndex
:
ListView_MapIndexToID
:
ListView_MoveGroup
:
ListView_MoveItemToGroup
:
ListView_RedrawItems
:
ListView_RemoveAllGroups
:
ListView_RemoveGroup
:
ListView_Scroll
:
ListView_SetBkColor
:
ListView_SetBkImage
: 设置背景图片
ListView_SetCallbackMask
:
ListView_SetCheckState
: 设置选中状态
ListView_SetColumn
:
ListView_SetColumnOrderArray
:
ListView_SetColumnWidth
: 设置列的宽度
ListView_SetExtended
:
ListViewStyle
:
ListView_SetExtendedListViewStyleEx
: 设置扩展风格
ListView_SetGroupHeaderImageList
:
ListView_SetGroupInfo
:
ListView_SetGroupMetrics
:
ListView_SetGroupState
:
ListView_SetHotCursor
:
ListView_SetHotItem
:
ListView_SetHoverTime
:
ListView_SetIconSpacing
:
ListView_SetImageList
:
ListView_SetInfoTip
:
ListView_SetInsertMark
:
ListView_SetInsertMarkColor
:
ListView_SetItem
:
ListView_SetItemCount
:
ListView_SetItemCountEx
:
ListView_SetItemIndexState
:
ListView_SetItemPosition
:
ListView_SetItemPosition32
:
ListView_SetItemState
:
ListView_SetItemText
:
ListView_SetOutlineColor
:
ListView_SetSelectedColumn
:
ListView_SetSelectionMark
:
ListView_SetTextBkColor
:
ListView_SetTextColor
:
ListView_SetTileInfo
:
ListView_SetTileViewInfo
:
ListView_SetToolTips
:
ListView_SetUnicodeFormat
:
ListView_SetView
:
ListView_SetWorkAreas
:
ListView_SortGroups
:
ListView_SortItems
:
ListView_SortItemsEx
:
ListView_SubItemHitTest
:
ListView_SubItemHitTestEx
:
ListView_Update