List-View Control Reference
This Section Contains Information About The Programming Elements Used with List-View Controls.
Overviews
List-view controls
A List-View Control IS A Window That Displays a Collection of Items; Each Item Consists of An Icon and A Label.
Macros
ListView_ApproximateViewRect
.
ListView_arrange
......................
Listview_canceleditlabel
.
ListView_createdragimage
Creates a Drag Image List for the specified item. You can use this macro or send the lvm_createdragimage message.
Listview_deleteallItems
Removes All Items from a list-view control. You can use this macro or send the lvm_deleteallitems message explicitly.
Listview_deletecolumn
Removes a column from a list-view control. You can use this macro or send the lvm_deletecolumn message explicitly.
Listview_deleteItem
Removes An item from a list-view control. You can use this macro or send the lvm_deleteitem message expedition explicitly.
Listview_editlabel
Begins in-view item's text. The message Implicitly Selects and focuses the specified item. You can use this macro or send the lvm_editlabel message explicitly.
Listview_enablegroupview
Enables or disables WHETHER THE ITEMS IN A Group. You can use this macro or send the LVM_ENABLEGROUPVIEW MESSAGE EXPLICITLY.
Listview_ensurevisible
Ensures that a list-view item is either entirely or partially visible, scrolling the list-view control if necessary. You can use this macro or send the LVM_ENSUREVISIBLE message explicitly.ListView_FindItem
Searches for a list-view item with the specified characteristics. You can use this macro or send the lvm_findItem Message Explicitly.
Listview_getbkcolor
Retrieves The Background Color of a List-View Control. You can Use this macro or send the lvm_getbkcolor message explicitly.
Listview_getbkimage
Retrieves The Background Image in a List-View Control. You can use this macro or send the lvm_getbkimage message expedition.
Listview_getcallbackmask
Retrieves The Callback Mask for a list-view control. You can use this macro or send the lvm_getcallbackmask message evicitly.
ListView_getcheckstate
DETERMINES IF AN ITEM IN A List-View Control IS SELECTED. THIS SHOULD BE Used Only for List-View Controls That Have The LVS_EX_CHECKBOXESSTYLE.
Listview_getcolumn
Retrieves The attributes of a list-view control's column. You can use this macro or send the lvm_getcolumn message explicitly.
Listview_getcolumnrarray
Retrieves the current left-to-right order of columns in a list-view control. You can use this macro or send the lvm_getcolumnrarRay Message Explicitly.
Listview_getcolumnwidth
Retrieves the width of a column in report or list view. You can use this macro or send the LVM_GETCOLUMNWIDTH MESSAGE EXPLICITLY.
Listview_getcountperpage
Calculates the number of items that can fit vertically in the visible area of a list-view control when in list or report view. Only fully visible items are counted. You can use this macro or send the LVM_GETCOUNTPERPAGE message explicitly.
Listview_geteditcontrol
Retrieves The Handle to Edit Control Being Used to Edit A List-View Item's Text. You can use this macro or send the lvm_geteditcontrol message explicitly.listview_getextendedListViewStyle
RETRIEVES The Extended Styles That Are Currently in Use for a Given List-View Control. You can use this macro or send the lvm_getextendedlistViewStyle Message Explicitly.
Listview_getgroupInfo
Retrieves Group Information. You can use this macro or send the lvm_getgroupinfo message explicitly.
Listview_getgroupmetrics
.
Listview_getheader
Retrieves The Handle to the Header Control Used by a list-view control. You can use this macro or send the lm_getheader message explicitly.
Listview_gethotcursor
Retrieves The Hcursor Used WHEN THE POINTER IS over An Item While Hot Tracking is enabled. You can use this macro or send the lvm_gethotcursor message expedition explicitly.
Listview_gethotitem
Retrieves the index of the hot item. You can use this macro or send the lvm_gethotitem message evicitly.
Listview_gethovertime
Retrieves The Amount of Time That The Mouse Cursor Must Hover Over An Item Before IT IS SELECTED. You can use this macro or send the lm_gethovertime message explicitly.
Listview_getimagelist
Retrieves The Handle To An Image List Used for Drawing List-View Items. You can Use this macro or send the lvm_getimagelist message explicitly.
Listview_getinsertmark
.
Listview_getinsertmarkcolor
Retrieves the color of the insertion point. You can use this macro or send the lvm_getinsertmarkcolor message explicitly.listview_getinsertmarkRect
RETRIEVES The Rectangle That Bounds The Insert Point. You can Use this macro or send the lvm_getinsertmarkRect Message Explicitly.
Listview_getisearchstring
Retrieves The Incremental Search String of a List-View Control. You can use this macro or send the lvm_getisearchstring message explicitly.
Listview_getitym
Retrieves Some or all of a list-view item's attributes. You can use this macro or send the lvm_getitym message expedition explicitly.
Listview_getitymcount
Retrieves the Number of items in a list-view control. You can use this macro or send the lvm_getimemcount message expedition.
Listview_getitemposition
RETRIEVES The POSITION OF A List-View Item. You can use this macro or expectitly send the lvm_getitemposition message.
Listview_getitemRect
RETRIEVES The Bounding Rectangle for All OR Part of An Item in The Current View. You can Use this macro or send the LVM_GETITEMRECT MESSAGE EXPLICITLY.
Listview_getitemspacing
DETERMINES The SPACING BETWEEN ITEMS IN A List-View Control. You can use this macro or send the lvm_getitemspacing message expedition.
Listview_getitemstate
Retrieves The State of a List-View Item. You can use this macro or send the lvm_getitemstate message evicitly.
Listview_getitemtext
Retrieves the text of a list-view item or subsitem. You can use this macro or send the lvm_getitemtext message expedition.
Listview_getnextitem
Searches for a List-View Item That Has The Specified Properties and Bear The Specified Relationship To a Specified Item. You can use this macro or send the lvm_getnextitem message explicitly.
Listview_getnumberofworkareasreves the number of working store all this macro or send the lm_getnumberofworkareas message explicitly.
Listview_getorigin
Retrieves The Current View Origin for a List-View Control. You can use this macro or send the lvm_getorigin message explicitly.
Listview_getoutlinecolor
Retrieves the color of the border of a list-view control if The lvs_ex_borderslect extended window style is set. You can use this macro or send the lvm_getoutlinecolor message explicitly.
Listview_getselectedColumn
RECIEVES An Integer That Specifies The SELECTED Column. You can use this macro or send the lvm_getselectedColumn Message Explicitly.
ListView_getselectedcount
DETERMINES The NUMBER OF SETETED ITEMS IN A List-View Control. You can use this macro or send the lvm_getselectedCount Message Explicitly.
Listview_getselectionmark
Retrieves The Selection Mark from A List-View Control. You can use this macro or expectedness meansMark Message.
Listview_getstringwidth
DETERMINES The Width of a Specified String Using The Specified List-View Control's Current Font. You can Use this macro or send the lvm_getstringWidth Message Explicitly.
Listview_getsubitemRect
Retrieves information about the rectangle that surrounds a subitem in a list-view control. You can use this macro (recommended) or send the LVM_GETSUBITEMRECT message explicitly. This macro is intended to be used only on list-view controls that use the LVS_REPORT style.
Listview_gettextbkcolor
Retrieves The Text Background Color of a List-View Control. You can use this macro or send the lvm_gettextbkcolor message explicitly.
Listview_gettextcolor
Retrieves the text color of a list-view control. You can use this macro or send the LVM_GETTEXTCOLOR Message Explicitly.listView_gettileinfo
Retrieves Information About a Tile in a list-view control. You can use this macro or send the lvm_gettileinfo message explicitly.
Listview_gettileviewinfo
Retrieves Information About a list-view control in tile view. You can use this macro or send the lvm_gettileviewinfo message evicitly.
Listview_gettooltips
Retrieves The Tooltip Control That The List-View Control Uses to Display Tooltips. You can Use this macro or send the lvm_gettooltips message.
Listview_gettopindex
RETRIEVES The index of the topmost visible item. You can use this macro or send the lvm_gettopindex message.
ListView_getunicodeformat
Retrieves the Unicode Character Format Flag for the Control. You can use this macro or send the lvm_getunicodeformat message explicitly.
ListView_getview
RETRIEVES The Current View of a List-View Control. You can Use this macro or send the lvm_getview message explicitly.
Listview_getviewRect
RETRIEVES The Bounding Rectangle of All Items in The List-View Control. The List View Must Be in Icon or Small Icon View. You can Use this macro or send the LVM_GetViewRect Message Explicitly.
Listview_getworkareas
RETRIEVES The WORKING AREAS from a list-view control. You can use this macro, or send the lm_getworkareasures message explicitly.
Listview_haasgroup
DETERMINES WHETHER THE LIST-View Control Has A Specified Group. You can use this macro or send the lvm_haasgroup message expedition explicitly.
Listview_hittest
Determines Which List-View Item, IF ANY, IS AT A Specified Position. You can Use this macro or send the lvm_hittest message explicitly.listview_insertcolumn
INSERTS A New Column in A List-View Control. You can Use this macro or send the lvm_insertcolumn message explicitly.
Listview_insertgroup
INSERTS A Group INTO A List-View Control. You can use this macro or send the lvm_insertgroup message expedition.
Listview_insertgroupsorted
INSERTS A Group INTO An Ordered List of Groups. You can use this macro or send the lvm_insertgroupsorted message evicitly.
Listview_insertitem
INSERTS A NEW ITEM IN A List-View Control. You can Use this macro or send the lvm_insertitem message explicitly.
Listview_insertmarkhittest
Retrieves the insertion point closest to a specified point. You can use this macro or send the lvm_insertmarkhittest message explicitly.
Listview_isgroupViewenabled
CHECKS WHETHER THE LIST-View Control Has Group View Enabled. You can Use this macro or send the lvm_isgroupviewenabled message explicitly.
ListView_mapidtoIndex
.
Listview_mapindextoid
Maps the index of an item to a unique id. You can use this macro or send the lvm_mapindextoid message explicitly.
ListView_movegroup
Moves the group to the specified zero based index. You can use this macro or send the lvm_movegroup message.
ListView_moveItemToGroup
Moves an item specified by an index INTO a group. You can use this macro or send the lvm_moveitemtogroup message expenented costly.
Listview_redrawitems
Forces a list-view control to redraw a Range of items. You can use this macro or send the lvm_redrawitems message expedition explicitly.listview_removellgroups
Removes all groups from a list-view control. You can use this macro or send the lvm_removeallgroups message expenery.
Listview_removegroup
Removes a group from a list-view control. You can use this macro or send the LVM_REMOVEGROUP Message Explicitly.
Listview_scroll
Scrolls The Content of a List-View Control. You can use this macro or send the lvm_scroll message explicitly.
Listview_setbkcolor
Sets The Background Color of a List-View Control. You can Use this macro or send the lvm_setbkcolor message explicitly.
Listview_setbkimage
Sets The Background Image IN a list-view control. You can use this macro or send the lvm_setbkimage message explicitly.
Listview_setcallbackmask
Changes The Callback Mask for a List-View Control. You can use this macro or send the lvm_setcallbackmask message evicitly.
ListView_setcheckstate
Used to select or deselect an item in a list-view control. You can use this macro or send the LVM_SETITEMSTATE message EXPLICITLY.
Listview_setcolumn
Sets the attributes of a list-view column. You can use this macro or send the lvm_setcolumn message explicitly.
Listview_setColumnRray
Sets The Left-to-Right ORDER OF Column in A List-View Control. You can Use this macro or send the lvm_setcolumnRRAY Message Explicitly.
Listview_setColumnWidth
Used to Change The Width of a Column in Report View Or The Width of All Column in list-view mode. You can use this macro or send the lvm_setcolumnwidth message explicitly.
Listview_sextendedListViewStyle
Sets extended style for list-view controls. You can use this macro or send the lvm_sextendedlistViewStyle Message Explicitly.listView_setextendedListViewStyleex
Sets Extended Styles for List-View Controls Using The Style Mask. You can Use this macro or send the lvm_setExtendedListViewStyle Message Explicitly.
Listview_setgroupInfo
Sets group information. You can use this macro or send the lvm_setgroupinfo message explicitly.
Listview_setgroupmetrics
Sets the metrs of a group. You can use this macro or send the lvm_setgroupmetrics message evicitly.
ListView_SETHOTCURSOR
Sets the HCURSOR that the list-view control uses when the pointer is over an item while hot tracking is enabled. You can use this macro or send the LVM_SETHOTCURSOR message explicitly. To check whether or not hot tracking is enabled, call SystemParametersInfo.
Listview_sethotitem
Sets the hot item in a list-view control. You can use this macro or send the lvm_sethotitem message explicitly.
Listview_sethovertime
Sets The Amount of Time That The Mouse Cursor Must Hover Over An Item Before It is SELECTED. You can use this macro or send the lvm_sethovertime message explicitly.
ListView_seticonspacing
Sets the spacing between icons in list-view controls set to the lvs_icon style. You can use this macro or send the lvm_seticonspacing message evicitly.
Listview_setimagelist
Assigns An Image List to a list-view control. You can use this macro or send the lvm_setimagelist message explicitly.
ListView_setinfotip
Sets tooltip text. You can use this macro or send the lvm_setinfotip message explicitly.
ListView_setInsertmark
Sets the insertion. You can use this macro or send the lvm_setinsertmark message explicitly.listview_setInsertMarkColor
Sets The color of the insertion point. You can use this macro or send the lvm_setinsertmarkColor Message Explicitly.
Listview_setItem
Sets Some or all of a list-view item's attributes. You can set the text of a subsitem. You can use this macro or send the lvm_setitem message expedition explicitly.
Listview_setitemcount
Causes The List-View Control to Allocate Memory for the specified number of items. You can use this macro or send the lvm_setitemcount message.
ListView_setItemcountex
Sets The Virtual Number of Items in a Virtual List View. You can use this macro or send the lvm_setitemcount message expenented
ListView_setItemPosition
Moves An Item to a Specified Position In A List-View Control (In icon or Small icon View). You can use this macro or send the lvm_setitemposition message expenented.
Listview_setitemposition32
Moves an item to a specified position in a list-view control (in icon or small icon view). This macro differs from the ListView_SetItemPosition macro in that it uses 32-bit coordinates. You can use the ListView_SetItemPosition32 macro or send the LVM_SETITEMPOSITION32 message explicitly .
ListView_SetItemState
Changes The State of An Item in A List-View Control. You can use this macro or send the lvm_setitemstate message explicitly.
Listview_setitemtext
Changes the text of a list-view item or subsitem. You can use this macro or send the LVM_SETITETEXT MESSAGE EXPLICITLY.
ListView_setOutlineColor
Sets the color of the border of a list-view control if the LVS_EX_BORDERSELECT extended window style is set. You can use this macro or send the LVM_SETOUTLINECOLOR message explicitly.ListView_SetSelectedColumn
Sets the index of the selected column. You can use this macro or send the lvm_setselectedcolumn message eviCITLY.
ListView_setSelectionMark
Sets The Selection Mark IN A List-View Control. You can use this macro or send the lvm_setselectionmark message explicitly.
ListView_setTextBkcolor
Sets The Background Color of Text In A List-View Control. You can Use this macro or send the lvm_settextbkcolor message evicitly.
ListView_setTextColor
Sets the text color of a list-view control. You can use this macro or send the lvm_settextcolor message explicitly.
ListView_settileinfo
Sets information for a tile of a list-view control. You can use this macro or send the lvm_settileinfo message explicitly.
ListView_settileViewInfo
Sets Information That A List-View Control Uses in Tile View. You can Use this macro or send the lvm_settileviewinfo message evicitly.
Listview_settilewidth
NOT CURRENTLY Supported.
ListView_settooltips
Sets The Tooltip Control That The List-View Control Will Use to Display Tooltips. You can Use this macro or send the lvm_settooltips message.
ListView_setunicodeFormat
Sets the Unicode character format flag for the control. This message allows you to change the character set used by the control at run time rather than having to re-create the control. You can use this macro or send the LVM_SETUNICODEFORMAT message explicitly.
ListView_setview
Sets the view of a list-view control. You can use this macro or send the lvm_setview message exprlicitly.
Listview_setworkareasure
Sets The Working Area WITHIN A LIST-View Control. You can use this macro or send the lvm_setworkareas message explicitly.listview_sortgroups
Uses An Application-Defined Comparison Function To Sort Groups by ID WITHIN A LIST-View Control. You can Use this macro or send the lvm_sortgroups message expedition explicitly.
Listview_sortItems
Uses an application-defined comparison function to sort the items of a list-view control. The index of each item changes to reflect the new sequence. You can use this macro or send the LVM_SORTITEMS message explicitly.
Listview_sortItemSex
Uses an application-defined comparison function to sort the items of a list-view control. The index of each item changes to reflect the new sequence. You can use this macro or send the LVM_SORTITEMSEX message explicitly.
Listview_subitemhittest
DETERMINES Which List-View Item or Subitem is located at a given position. You can use this macro or send the lvm_subitemhittest message explicitly.
ListView_update
Updates a list-view item. If the list-view control has the lvs_autoarrange style, this macro causes the list-view control to be arranged. You can use this macro or send the lvm_update message explicitly.
Messages
LVM_APPROXIMATEVIEWRECT
.
LVM_ARRANGE
.................. ..
LVM_CANCELEDITLABEL
Cancels an item text Editing Operation.
LVM_CREATEDRAGIMAGE
Creates a Drag Image List for the specified item. You can send this message expected or by using the listview_createdragimage macro.
.
LVM_DELETECOLUMN
Removes a column from a list-view control. You can send this message explicitly or by using the listview_deletecolumn macro.
LVM_DELETEITEM
Removes an item from a list-view control. You can send this message expenented or by using the listview_deleteitem macro.
LVM_EDITLABEL
Begins in-place editing of the specified list-view item's text. The message implicitly selects and focuses the specified item. You can send this message explicitly or by using the ListView_EditLabel macro.
LVM_ENABLEGROUPVIEW
Enables or disables WHETER THE ITEMS IN A LIST-View Control Display As a group.
LVM_ENSUREVISIBLE
ENSURES THATELELY OREW ITHELELELING The list-view control if Necessary. You can send this message expeditionary or by useing the listview_ensurevisible macro.
LVM_FINDITEM
.
LVM_GetBkcolor
RETRIEVES The Background Color of a List-View Control. You can send this message explicitly or by using the listview_getbkcolor macro.
LVM_GETBKIMAGE
Retrieves the background image in a list-view control. You can send this message expeditionly or by using the listview_getbkimage macro.
LVM_GETCALLBACKMASK
Retrieves the callback mask for a list-view control. You can send this message expenered ix.................
LVM_GETCOLUMN
Retrieves the attributes of a list-view control's column. You can send this message explicitly or by using the listview_getcolumn macro.lvm_getcolumnordrarray
Retrieves The Current Left-to-Right ORDER OF Column IN A List-View Control. You CAN Send This Message Explicitly or Use The listview_getcolumnordrarray Macro.
LVM_GETCOLUMNWIDTH
Retrieves the width of a column in report or list view. You can send this message expression_getcolumnwidth macro.
LVM_GETCOUNTPAGE
Calculates the number of items that can fit vertically in the visible area of a list-view control when in list or report view. Only fully visible items are counted. You can send this message explicitly or by using the ListView_GetCountPerPage macro.
LVM_GetEtETControl
Retrieves the Handle To The Edit Control Being Used to Edit A List-View Item's Text. You CAN Send This Message Explicitly or by Using The ListView_geteditControl Macro.
LVM_GETEXTENDEDLISTVIEWSTYLELELELE
Retrieves The Extended Styles That Are Currently in Use for a Given List-View Control. You can send this message expenered ixedlistViewStyle Macro.
LVM_GETGROUPINFO
Retrieves group information.
LVM_GETGROUPMETRICS
Retrieves the metrics of a group.
LVM_GetHeader
RETRIEVES The Handle To The Header Control Used by The List-View Control. You CAN Send This Message Explicitly or Use The ListView_getheader Macro.
LVM_GETHOTCURSOR
Retrieves the hcursor value usned when the point.. You can send this message expenented. You can send this message expenented...................
LVM_GETHOTITEM
Retrieves the index of the hot item. You can send this message. You can send this message.
LVM_Gethovertime
Retrieves The Amount of Time That The Mouse Cursor Must Hover Over An Item Before It is SELECTED. You CAN Send This Message Explicitly or Use The listview_gethovertime macro.
LVM_GetImageList
Retrieves the Handle To An Image List Used For Drawing List-View Items. You can send this message expeditionly or by using the listview_getimagelist macro.
LVM_GetInsertmark
Retrieves the position of the insertion point.
LVM_GetInsertmarkColor
Retrieves the color of the insertion point.
LVM_GetInsertmarkRect
Retrieves the Rectangle That Bounds the insertion.
LVM_GETISEARCHSTRING
Retrieves the incremental search string of a list-view control. You can send this message explicitly or by using the listview_getisearchstring macro.
LVM_GETITEM
Retrieves Some or all of a list-view item's attributes. You can send this message explicitly or by using the listview_getitem macro.
LVM_GETITEMCOUNT
RETRIEVES The NUMBER OF ITEMS IN A List-View Control. You can send this message explicitly or by using the listview_getimemcount macro.
LVM_GETITEMPSITION
Retrieves the position of a list-view item. You can send this message expeditionly or by using the listview_getitemposition macro.
LVM_GETITEMRECT
RETRIEVES The Bounding Rectangle for All Or Part of An Item in The Current View. You can send this message expenented.
LVM_GETITEMSPACING
DETERMINES The SPACING BETWEEN ITEMS IN A List-View Control. You can send this message macro.
LVM_GETITEMSTATE
Retrieves the state of a list-view item. You can send this message expenented ketitly or by using the listview_getimemstate macro.
LVM_GETITEMTEXT
Retrieves the text of a list-view itemines. You can send this message expenered ixtemtext macro.lvm_getNextItem
SEARCHES for a list-view item That Has The Specified Properties and Beijing The Specified Relationship To a Specified Item. You can send this message expectitly or by using the listview_getnextitem macro.
LVM_GETNUMBEROFWORKAREAS
RETRIEVES The NUBER OF LIST-View Working Areas in A List-View Control. You can send this message explicitly or use the listview_getnumberofworkareas macro.
LVM_GETORIGIN
Retrieves the current view origin for a list-view control. You can send this message expecteditly or by using the listview_getorigin macro.
LVM_GETOUTLINECOLOR
RETRIEVES The Color of the Border of a List-View Control if The LVS_EX_BORDERSELECT Extended WINDOW Style Is Set.
LVM_GETSELECTEDCOLUMN
RETRIEVES an INTEGER THAT SPECIFIES The SELECTED COLMN.
LVM_GETSELECTEDCOUNT
DETERMINES The Number of SELECTED ITEMS IN A List-View Control. You can send this message explicitly or by using the listview_getselectedcount macro.
LVM_GETSELECTIONMARK
Retrieves The Selection Mark from A List-View Control. You can send this message explicitly or use the listview_getationmark macro.
LVM_GETSTRINGWIDTH
DETERMINES The Width of a Specified String Using The Specified List-View Control's Current Font. You can send this message. You can send this message.
LVM_GETSUBITEMRECT
Retrieves information about the bounding rectangle for a subitem in a list-view control. You can send this message explicitly or by using the ListView_GetSubItemRect macro (recommended). This message is intended to be used only with list-view controls that use the LVS_REPORT style .
LVM_GettextBkcolorRetrieves the text background color of a list-view control. You can send this message expeditionly or by using the listview_gettextbkcolor macro.
LVM_GetTextColor
Retrieves the text color of a list-view control. You can send this message expeditionly or by using the listview_gettextcolor macro.
LVM_GETTILEINFO
Retrieves Information About a Tile in a list-view control.
LVM_GETTILEVIEWINFO
Retrieves Information About A List-View Control in Tile View.
LVM_Gettooltips
RETRIEVES The Tooltip Control That The List-View Control Uses To Display Tooltips. You can send this message expedition or use the listview_gettooltips macro.
LVM_GettopIndex
Retrieves the index of the topmost visible item. You can send this message. You can send this message expenented ixplicitly or by using the listview_gettopindex macro.
LVM_GETUNICODEFORMAT
Retrieves the Unicode Character Format Flag for the Control. You can send this message expedition ketility or use the listview_getunicodeformat macro.
LVM_GETVIEW
Retrieves The Current View of A List-View Control.
LVM_GETVIEWRECT
RETRIEVES The Bounding Rectangle of All Items in The List-View Control. The List View Must Be in Icon or Small Icon View. You can send this message explicitly or by using the listview_getviewRect Macro.
LVM_GETWORKAREAS
Retrieves The Working Areas from A List-View Control. You can send this message explicitly or use the listview_getworkareas macro.
LVM_HASGROUP
DETERMINES WHETHER The List-View Control Has A Specified Group.
LVM_HITTEST
DETERMINES Which List-View Item, IF ANY, IS At a Specified Position. You can send this message explicitly or by using the listview_hittest macro.
LVM_INSERTCOLUMN
INSERTS A New Column in A List-View Control. You can send this message explicitly or by using the listview_insertcolumn macro.lvm_insetgroup
INSERTS a Group Into a list-view control.
LVM_INSERTGROUPSORTED
INSERTS A Group INTO An Ordered List of Groups.
LVM_INSERTITEM
INSERTS A NEW ITEM IN A List-View Control. You can send this message expeditionly or by using the listview_insertitem macro.
LVM_INSERTMARKHITTEST
Retrieves the insertion point closest to a specified point.
LVM_ISGROUPVIEWENABLED
Checks WHETHER THE LIST-View Control Has Group View enabled.
LVM_MapidToIndex
Maps the id of an item to an index.
LVM_MAPINDEXTOID
Maps the index of an item to a unique ID.
LVM_MOVEGROUP
Moves the group to the specified zero based index.
LVM_MOVEITEMTOGROUP
Moves an item specified by an index Into a group.
LVM_RedrawItems
Forces a list-view control to redraw a range of items. You can send this message expenented ixitly or by using the listview_redrawitems macro.
LVM_RemoveAllGroups
Removes All Groups from a list-view control.
LVM_REMOVEGROUP
Removes a group from a list-view control.
LVM_SCROLL
Scrolls The Content of a List-View Control. You can send this message explicitly or by using the listview_scroll macro.
LVM_setbkcolor
Sets The Background Color of a List-View Control. You can send this message explicitly or by using the listview_setbkcolor macro.
LVM_SetBkimage
Sets The Background Image IN A List-View Control. You CAN Send this message explicitly or by using the listview_setbkimage macro.
LVM_SETCALLBACKMASK
...................... ..
LVM_SETCOLUMN
Sets the attributes of a list-view column. You can send this message explicitly or by using the listview_setcolumn macro.lvm_setColumnRRRAY
Sets The Left-to-Right ORDER of Columns IN A List-View Control. You can send this message. You can send this message.
LVM_SETCOLUMNWIDTH
.
LVM_SETEXTENDEDLISTVIEWSTYLELELE
Sets extended styles in list-view controls. You can send this message explicitly or use the listview_setExtendedListViewStyle Or ListView_seXtendedListViewStyleEx Macro.
LVM_SETGROUPINFO
Sets group information.
LVM_SETGROUPMETRICS
Sets the metrics of a group.
LVM_SETHOTCURSOR
Sets the HCURSOR value that the list-view control uses when the pointer is over an item while hot tracking is enabled. You can send this message explicitly or use the ListView_SetHotCursor macro. To check whether or not hot tracking is enabled, call SystemParametersInfo.
LVM_SETHOTITEM
Sets the hot item for a list-view control. You can send this message explicitly or use the listview_sethotitem macro.
LVM_SethOvertime
Sets The Amount of Time Which The Mouse Cursor Must Hover Over An Item Before It is SELECTED. You CAN Send This Message Explicitly or Use The listview_sethovertime macro.
LVM_SETICONSPACING
Sets The spacing between Icons in list-view controls. You can send this message. You can send this message expenented ixtly or by using the listview_seticonspacing mac
LVM_SetImageList
Assigns An Image List to a list-view control. You can send this message explicitly or by using the listview_setimagelist macro.
LVM_SetInfotipsets Tooltip Text.
LVM_setInsertmark
Sets the insertion point to the defined position.
LVM_setInsertMarkColor
Sets the color of the insertion point.
LVM_SETITEM
Sets Some or all of a list-view item's attributes. You can set the text of a.com. You can send this message expenery or by using the listview_setItem macro.
LVM_SETITEMCOUNT
Causes the list-view control to allocate memory for the specified number of items or sets the virtual number of items in a virtual list-view control. This depends on how the list-view control was created. You can send this message explicitly or use The listview_setitemcount or listview_setItemcountex Macros.
LVM_SETITEMPSITION
Moves An Item to a Specified Position In a List-View Control (Must Be in Icon Or Small Icon View). You can send this message explicitly or by using the listview_setitemposition macro.
LVM_SETITEMPSITION32
Moves an item to a specified position in a list-view control (must be in icon or small icon view). This message differs from the LVM_SETITEMPOSITION message in that it uses 32-bit coordinates. You can send this message explicitly or by using the Listview_setitemposition32 macro.
LVM_SETITEMSTATE
.
LVM_SETITEMTEXT
.
LVM_SETOUTLINECOLOR
Sets the color of the border of a list-view control if the lvs_ex_borderselect extended Window Style Is Set.
LVM_SetSelectedColumn
Sets the index of the successd column.
LVM_SetSelectionMark
Sets The Selection Mark IN A List-View Control. You CAN Send this message Explicitly or use the listview_setselectionmark macro.lvm_setTextBkcolor
Sets The Background Color of Text In A List-View Control. You can send this message explicitly or by using the listview_settextbkcolor macro.
LVM_SETTEXTCOLOR
Sets the text color of a list-view control. You can send this message expeditionly or by using the listview_settextcolor macro.
LVM_SETTILEINFO
Sets Information for a Tile of a List-View Control.
LVM_SETTILEVIEWINFO
Sets Information That A List-View Control Uses in Tile View.
LVM_SETTILEWIDTH
NOT CURRENTLY Supported.
LVM_SETTOOLTIPS
Sets The Tooltip Control That The List-View Control Will Use to Display Tooltips. You can send this message explicitly or use the listview_settooltips macro.
LVM_setUnicodeFormat
Sets the UNICODE character format flag for the control. This message allows you to change the character set used by the control at run time rather than having to re-create the control. You can send this message explicitly or use the ListView_SetUnicodeFormat macro.
LVM_SETVIEW
Sets the view of a list-view control.
LVM_SETWORKAREAS
Sets The Working Areas WITHIN A LIST-View Control. You can send this message explicitly or use the listview_setworkareas macro.
LVM_Sortgroups
.
LVM_SORTITEMS
Uses an application-defined comparison function to sort the items of a list-view control. The index of each item changes to reflect the new sequence. You can send this message explicitly or by using the ListView_SortItems macro.
LVM_SORTITEMSEX
Uses an application-defined comparison function to sort the items of a list-view control. The index of each item changes to reflect the new sequence. You can send this message explicitly or by using the ListView_SortItemsEx macro.LVM_SUBITEMHITTEST
Determines Which List-View Item or SUBITEM IS AT A GIVEN POSITION. You can send this message expenented_subitemhittest macro.
LVM_UPDATE
Updates a list-view item. If the list-view control has the LVS_AUTOARRANGE style, this macro causes the list-view control to be arranged. You can send this message explicitly or by using the ListView_Update macro.
Notifications
LVN_BEGINDRAG
NOTIFIES A LIST-View Control's Parent Window That A Drag-and-Drop Operation Involving The Left Mouse Button IS Being Initiated. This Notification Message Is Sent In The Form of A WM_Notify Message.
LVN_BEGINLABELEDIT
NOTIFIES A LIST-View Control's Parent Window About The Start of Label Editing for An Item. This Notification Message is Sent In The Form of A WM_Notify Message.
LVN_BEGINRDRAG
NOTIFIES A LIST-View Control's Parent Window That A Drag-and-Drop Operation Involving The Right Mouse Button Is Being Initiated. This Notification Message IS Sent In The Form of A WM_Notify Message.
LVN_BEGINSCROLL
Notifies a List-View Control's Parent Window When A Scrolling Operation Starts.
LVN_COLUMNCLICK
NOTIFIES A LIST-View Control's Parent Window That A Column Was ClickED. This Notification Message Is Sent In The Form of A WM_Notify Message.
LVN_DELETEALLITEMS
NOTIFIES A LIST-View Control's Parent Window That All Items in The Control Are About To Be deleted. This Notification Message is Sent In The Form of A WM_Notify Message.
LVN_DELETEITEM
NOTIFIES A LIST-View Control's Parent Window That An Item Is About To Be Deleted. This Notification Message Is Sent In The Form of A WM_NOTIFY MESSAGE.LVN_ENDLABELEDIT
NOTIFIES A LIST-View Control's Parent Window About The End of Label Editing for An Item. This Notification Message Is Sent in The Form of A WM_Notify Message.
LVN_ENDSCROLL
NOTIFIES A LIST-View Control's Parent Window When A Scrolling Operation Ends.
LVN_GetDispinfo
Sent by a list-view control to its parent window. It is a request for the parent window to provide information needed to display or sort a list-view item. This notification message is sent in the form of a WM_NOTIFY message.
LVN_GETInfotip
Sent by a large icon view list-view control that has the LVS_EX_INFOTIP extended style. This notification is sent when the list-view control is requesting additional text information to be displayed in a ToolTip. It is sent in the form of a WM_NOTIFY message.
LVN_HOTTRACK
Sent by a list-view control when the user moves the mouse over an item. This notification is only sent by list-view controls that have the LVS_EX_TRACKSELECT extended list-view style. It is sent in the form of a WM_NOTIFY message.
LVN_INSERTITEM
NOTIFIES A LIST-View Control's Parent Window That A New Item Was Inserted. This Notification Message Is Sent in The Form of A WM_Notify Message.
LVN_Itemactivate
Sent by a list-view control when the user activates an item. This Notification is Sent In The Form of A WM_Notify Message.
LVN_ItemChanged
NOTIFIES A LIST-View Control's Parent Window That An Item Has Changed. This Notification Message IS Sent In The Form of A WM_Notify Message.
LVN_ItemChanging
NOTIFIES a LIST-View Control's Parent Window That An Item Is Changing. This Notification Message Is Sent In The Form of A WM_NOTIFY Message.LVN_KEYDOWN
NOTIFIES A LIST-View Control's Parent Window That A KEY HAS BEEN PRESSED. This Notification Message is Sent In The Form of A WM_Notify Message.
LVN_MARQUEEBEGIN
NOTIFIES A LIST-View Control's Parent Window That A Bounding Box (Marquee) Selection Has Begun. This Notification Message Is Sent In The Form of A WM_Notify Message.
LVN_ODCACHEHINT
Sent by a virtual list-view control when the contents of its display area have changed. For example, a list-view control sends this notification when the user scrolls the control's display. The LVN_ODCACHEHINT notification message is sent in the form of a WM_NOTIFY message .
LVN_ODFINDITEM
Sent by a virtual list-view control when it needs the owner to find a particular callback item. For example, the control will send this notification when it receives shortcut keyboard input or when it receives an LVM_FINDITEM message.
LVN_ODSTATECHANGED
Sent by a list-view control.. ..........................
LVN_SETDISPINFO
NOTIFIES A LIST-View Control's Parent Window That IT Must Update The Information It Maintains for An Item. This Notification Message is Sent In The Form of A WM_NOTIFY Message.
NM_CLICK (List view)
Sent by a list-view control when the user clicks an item with the left mouse button. This Notification Message is Sent In The Form of A WM_Notify Message.
NM_CUSTOMDRAW (List view)
SENT by a list-view control to notify its parent windows about Drawing Operations. This Notification Is Sent In The Form of A WM_NOTIFY Message.nm_dblclk (List View)
Sent by a list-view control when the user double-clicks an item with the left mouse button. This Notification Message is Sent in The Form of A WM_Notify Message.
NM_HOVER (List view)
Sent by a list-view control by a list-view control. This Notification Message is Sent In The Form of A WM_Notify Message.
NM_KILLFOCUS (List view)
NOTIFIES A LIST-View Control's Parent Window That The Control Has Lost The Input Focus. Nm_killFocus (List View) IS Sent In The Form of A WM_Notify Message.
NM_RCLICK (List view)
Sent by a list-view control....................... ..
NM_RDBLCLK (List view)
Sent By a list-view control by a list-copy control. This NOTIFICASE button. This Notification Message is Sent In The Form of A WM_Notify Message.
NM_RELEASEDCAPTURE (LIST VIEW)
NOTIFIES A LIST-View Control's Parent Window That The Control Is Relected Mouse Capture. This Notification Is Sent In The Form of A WM_Notify Message.
NM_RETURN (List view)
NM_RETURN IS SENT IN THE FORM OF A WM_NOTIFY Message.
Nm_setfocus (List view)
NOTIFIES A LIST-View Control's Parent Window That The Control Has Received The Input Focus. Nm_setfocus (List View) IS Sent In The Form of A WM_NOTIFY Message.
Structures
Lvbkimage
Contains Information About The Background Image of a List-View Control. This Structure IS Used for Both Setting and Retrieving Background Image Information.lvColumn IMAGER IMAGER
............. .י..............................
LvfindInfo
CONTAINS INFORMATION Used WHEN Searching for a List-View Item. This structure is identical to lvfindInfo But Has Been Renamed To Fit Standard Naming Conventions.
Lvgroup
Used to set and retrieve groups.
Lvgroupmetrics
Used to retrieve or set group metrics.
Lvhittestinfo
Has been extended to accommodate subitem hit-testing. The LVHITTESTINFO structure contains information about a hit test. It is used in association with the LVM_HITTEST and LVM_SUBITEMHITTEST messages and their related macros. This structure supersedes the LVHITTESTINFO structure.
LvinsetGroupsorted
Used to sort groups. It is buy with lvm_insertgroupsorted.
Lvinsertmark
Used to describe Insertion Points.
Lvitem
Specifies or receives the attributes of a list-view item. This structure has been updated to support a new mask value (LVIF_INDENT) that enables item indenting. This structure supersedes the LV_ITEM structure.
LvsetInfotip
Provides Information About Tooltip Text That Is To Be Set.
Lvtileinfo
Provides Information About An Item IN A List-View Control When IT is Displayed in Tile View.
LvtileViewInfo
Provides Information About a List-View Control When IT is Displayed In Tile View.
Nmitemactivate
Contains Information About an LVN_Itemactivate Notification Message.
NmlistView
Contains Information About a list-view notification message. This Structure is the Same as the nm_listview structure but has been renamed to fit standard naming convention.nmlvcachehint
Contains Information Used to Update The Cached Item Information for Use with a Virtual List View.
NMLVCUSTOMDRAW
Contains Information Specific To An NM_CUSTOMDRAW (List view) Notification Message Sent by a list-view control.
Nmlvdispinfo
CONTAINS Information About An LVN_GETDISPINFO or LVN_SETDISPINFO NOTIFICATION Message. This Structure is The Same As The LV_DISPINFO STRUCTURE, But Has Been Renamed To Fit Standard Naming Conventions.
NmlvfindItem
CONTAINS Information The Owner Needs To Find Items Requested by a Virtual List View Control. This Structure is buy with the lvn_odfindItem NOTIFICATION Message.
NmlvgetInfotip
Contains and Receives List-View Item Information Needed to Display A TooltIP for An Item. This Structure is used with the lvn_getinfotip notification message.
NmlvKeyDown
THIS STRUCTOWN NOTIFICATION Message. This Structure Is The Same As The Nmlvkeydown Structure But Has Been Renamed To Fit Standard Naming Conventions.
NmlvodStateChange
Structure That Contains Information for Use in processing the lvn_odstatechanged notification message.
Nmlvscroll
Provides Information About a scrolling operation.
Constants
Extended List-View Styles
List-view control styles have been extended. To employ these new styles, use the LVM_SETEXTENDEDLISTVIEWSTYLE message or one of the ListView_SetExtendedListViewStyle or ListView_SetExtendedListViewStyleEx macros.
List-view item states
. An item's state value consists of the item's state, an optional overlay mask index, and an optional state image mask index.An item's state determines its appearance and functionality The state can be zero or one or more of the following values:
List-view window styles
The Following Window Styles Are Specific To List-View Controls.