ListView_Setcheckstop stateate()函数谁用过?为什么我的操作不了呢?

SetExtendedStyle -
CListCtrlSetExtendedStyle
版本:Visual Studio 2005设置当前的扩展的样式的列表视图控件函数原型
SetExtendedStyle
DWORD dwNewStyle
参数dwNewStyle要使用列表视图控件的扩展样式的组合。描述性的这些样式列表,请参阅平台 SDK 中的扩展的列表视图样式主题。返回值此成员函数实现 Win32 宏,ListView_SetExtendedListViewStyle,的行为平台 SDK 中所述。示例// The pointer to my list view control.extern CListCtrl* pmyListC// Allow the header controls item to be movable by the user.pmyListCtrl->SetExtendedStyle(pmyListCtrl->GetExtendedStyle()|LVS_EX_HEADERDRAGDROP);
SetExtendedStyle -
扩展列表视图风格(参数)
Description
LVS_EX_AUTOAUTOARRANGE
Windows Vista .如果没有图标自动排列图标位置设置(类似于LVS_AUTOARRANGE)。
LVS_EX_AUTOCHECKSELECT
Windows Vista . 自动选择单击复选框
LVS_EX_AUTOSIZECOLUMNS
Windows Vista .自动大小列表视图列。
LVS_EX_BORDERSELECT
Version 4.71.边框颜色变化时选择一个项目,而不是突出显示项。
LVS_EX_CHECKBOXES
Version 4.70. Enables check boxes for items in a list-view control. When set to this style, the control creates and sets a state image list with two images using
DrawFrameControl
. State image 1 is the unchecked box, and state image 2 is the checked box. Setting the state image to zero removes the check box.
Version 6.00Check boxes are visible and functional with all list view modes except the tile view mode introduced in ComCtl32.dll version 6. Clicking a checkbox in tile view mode o the state does not change.
You can obtain the state of the check box for a given item with
ListView_GetCheckState
. To set the check state, use
ListView_SetCheckState
. If this style is set, the list-view control automatically toggles the check state when the user clicks the check box or presses the space bar.
LVS_EX_COLUMNOVERFLOW
Indicates that an overflow button should be displayed in icon/tile view if there is not enough client width to display the complete set of header items. The list-view control sends the LVN_COLUMNOVERFLOWCLICK notification when the overflow button is clicked. This flag is only valid when LVS_EX_HEADERINALLVIEWS is also specified.
LVS_EX_COLUMNSNAPPOINTS
Windows Vista . Snap to minimum column width when the user resizes a column.
LVS_EX_DOUBLEBUFFER
Version 6.00. Paints via double-buffering, which reduces flicker. This extended style also enables alpha-blended marquee selection on systems where it is supported.
LVS_EX_FLATSB
Version 4.71. Enables flat scroll bars in the list view. If you need more control over the appearance of the list view's scroll bars, you should manipulate the list view's scroll bars directly using theFlat Scroll Bar APIs. If the system metrics change, you are responsible for adjusting the scroll bar metrics with
FlatSB_SetScrollProp
. SeeFlat Scroll Barsfor further details.
LVS_EX_FULLROWSELECT
Version 4.70. When an item is selected, the item and all its subitems are highlighted. This style is available only in conjunction with the
LVS_REPORT
LVS_EX_GRIDLINES
Version 4.70. Displays gridlines around items and subitems. This style is available only in conjunction with the
LVS_REPORT
LVS_EX_HEADERDRAGDROP
Version 4.70. Enables drag-and-drop reordering of columns in a list-view control. This style is only available to list-view controls that use the
LVS_REPORT
LVS_EX_HEADERINALLVIEWS
Windows Vista . Show column headers in all view modes.
LVS_EX_HIDELABELS
Version 6.00. Hides the labels in icon and small icon view.
LVS_EX_INFOTIP
Version 4.71. When a list-view control uses the
LVS_EX_INFOTIP
style, theLVN_GETINFOTIPnotification code is sent to the parent window before displaying an item's tooltip.
LVS_EX_JUSTIFYCOLUMNS
Windows Vista . Icons are lined up in columns that use up the whole view.
LVS_EX_LABELTIP
Version 5.80. If a partially hidden label in any list view mode lacks tooltip text, the list-view control will unfold the label. If this style is not set, the list-view control will unfold partly hidden labels only for the large icon mode.
LVS_EX_MULTIWORKAREAS
Version 4.71. If the list-view control has the
LVS_AUTOARRANGE
style, the control will not autoarrange its icons until one or more work areas are defined (see
LVM_SETWORKAREAS
). To be effective, this style must be set before any work areas are defined and any items have been added to the control.
LVS_EX_ONECLICKACTIVATE
Version 4.70. The list-view control sends anLVN_ITEMACTIVATEnotification code to the parent window when the user clicks an item. This style also enables
hot tracking
in the list-view control. Hot tracking means that when the cursor moves over an item, it is highlighted but not selected. See the Extended List-View Styles Remarks section for a discussion of item activation.
LVS_EX_REGIONAL
Version 4.71through Version 5.80 only. Not supported on Windows Vista. Sets the list view window region to include only the item icons and text using . Any area that is not part of an item is excluded from the window region. This style is only available to list-view controls that use the
LVS_EX_SIMPLESELECT
Version 6.00. In icon view, moves the state image of the control to the top right of the large icon rendering. In views other than icon view there is no change. When the user changes the state by using the space bar, all selected items cycle over, not the item with the focus.
LVS_EX_SINGLEROW
Version 6.00. Not used.
LVS_EX_SNAPTOGRID
Version 6.00. In icon view, icons automatically snap into a grid.
LVS_EX_SUBITEMIMAGES
Version 4.70. Allows images to be displayed for subitems. This style is available only in conjunction with the
LVS_REPORT
LVS_EX_TRACKSELECT
Version 4.70. Enables hot-track selection in a list-view control. Hot track selection means that an item is automatically selected when the cursor remains over the item for a certain period of time. The delay can be changed from the default system setting with a
LVM_SETHOVERTIME
message. This style applies to all styles of list-view control. You can check whether hot-track selection is enabled by calling .
LVS_EX_TRANSPARENTBKGND
Windows Vista . Background is painted by the parent via
WM_PRINTCLIENT
LVS_EX_TRANSPARENTSHADOWTEXT
Windows Vista . Enable shadow text on transparent backgrounds only.
LVS_EX_TWOCLICKACTIVATE
Version 4.70. The list-view control sends anLVN_ITEMACTIVATEnotification code to the parent window when the user double-clicks an item. This style also enables
hot tracking
in the list-view control. Hot tracking means that when the cursor moves over an item, it is highlighted but not selected. See the Extended List-View Styles Remarks section for a discussion of item activation.
LVS_EX_UNDERLINECOLD
Version 4.71. Causes those non-hot items that may be activated to be displayed with underlined text. This style requires that
LVS_EX_TWOCLICKACTIVATE
be set also. See the Extended List-View Styles Remarks section for a discussion of item activation.
LVS_EX_UNDERLINEHOT
Version 4.71. Causes those hot items that may be activated to be displayed with underlined text. This style requires that
LVS_EX_ONECLICKACTIVATE
LVS_EX_TWOCLICKACTIVATE
also be set. See the Extended List-View Styles Remarks section for a discussion of item activation.
为本词条添加和相关影像
互动百科的词条(含所附图片)系由网友上传,如果涉嫌侵权,请与客服联系,我们将按照法律之相关规定及时进行处理。未经许可,禁止商业网站等复制、抓取本站内容;合理使用者,请注明来源于。
登录后使用互动百科的服务,将会得到个性化的提示和帮助,还有机会和专业认证智愿者沟通。
您也可以使用以下网站账号登录:
此词条还可添加&
编辑次数:7次
参与编辑人数:5位
最近更新时间: 04:05:14
贡献光荣榜ListView 操作
阅读:1751次&&&时间: 00:00:00&&
List-View Control Reference This section contains information about the programming elements used with list-view controls.Overviews A list-view control is a window that displays a each item consists of an icon and a label.Macros Calculates the approximate width and height required to display a given number of items. You can use this macro or send the
message explicitly.
Arranges items in icon view. You can use this macro or send the
message explicitly.
Cancels an item text editing operation. You can use this macro or send the
message explicitly.
Creates a drag image list for the specified item. You can use this macro or send the
message explicitly.
Removes all items from a list-view control. You can use this macro or send the
message explicitly.
Removes a column from a list-view control. You can use this macro or send the
message explicitly.
Removes an item from a list-view control. You can use this macro or send the
message explicitly.
Begins in-place editing of the specified list-view item's text. The message implicitly selects and focuses the specified item. You can use this macro or send the
message explicitly.
Enables or disables whether the items in a list-view control display as a group. You can use this macro or send the
message explicitly.
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
message explicitly.
Searches for a list-view item with the specified characteristics. You can use this macro or send the
message explicitly.
Retrieves the background color of a list-view control. You can use this macro or send the
message explicitly.
Retrieves the background image in a list-view control. You can use this macro or send the
message explicitly.
Retrieves the callback mask for a list-view control. You can use this macro or send the
message explicitly.
Determines if an item in a list-view control is selected. This should be used only for list-view controls that have the
Retrieves the attributes of a list-view control's column. You can use this macro or send the
message explicitly.
Retrieves the current left-to-right order of columns in a list-view control. You can use this macro or send the
message explicitly.
Retrieves the width of a column in report or list view. You can use this macro or send the
message explicitly.
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
message explicitly.
Retrieves the handle to the edit control being used to edit a list-view item's text. You can use this macro or send the
message explicitly.
Retrieves the extended styles that are currently in use for a given list-view control. You can use this macro or send the
message explicitly.
Retrieves group information. You can use this macro or send the
message explicitly.
Retrieves the metrics of a group. You can use this macro or send the
message explicitly.
Retrieves the handle to the header control used by a list-view control. You can use this macro or send the
message explicitly.
Retrieves the HCURSOR used when the pointer is over an item while hot tracking is enabled. You can use this macro or send the
message explicitly.
Retrieves the index of the hot item. You can use this macro or send the
message explicitly.
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
message explicitly.
Retrieves the handle to an image list used for drawing list-view items. You can use this macro or send the
message explicitly.
Retrieves the position of the insertion point. You can use this macro or send the
message explicitly.
Retrieves the color of the insertion point. You can use this macro or send the
message explicitly.
Retrieves the rectangle that bounds the insertion point. You can use this macro or send the
message explicitly.
Retrieves the incremental search string of a list-view control. You can use this macro or send the
message explicitly.
Retrieves some or all of a list-view item's attributes. You can use this macro or send the
message explicitly.
Retrieves the number of items in a list-view control. You can use this macro or send the
message explicitly.
Retrieves the position of a list-view item. You can use this macro or explicitly send the
Retrieves the bounding rectangle for all or part of an item in the current view. You can use this macro or send the
message explicitly.
Determines the spacing between items in a list-view control. You can use this macro or send the
message explicitly.
Retrieves the state of a list-view item. You can use this macro or send the
message explicitly.
Retrieves the text of a list-view item or subitem. You can use this macro or send the
message explicitly. Searches for a list-view item that has the specified properties and bears the specified relationship to a specified item. You can use this macro or send the
message explicitly.
Retrieves the number of
in a list-view control. You can use this macro or send the
message explicitly.
Retrieves the current view origin for a list-view control. You can use this macro or send the
message explicitly.
Retrieves the color of the border of a list-view control if the
extended window style is set. You can use this macro or send the
message explicitly.
Retrieves an integer that specifies the selected column. You can use this macro or send the
message explicitly.
Determines the number of selected items in a list-view control. You can use this macro or send the
message explicitly.
Retrieves the selection mark from a list-view control. You can use this macro or explicitly send the
Determines the width of a specified string using the specified list-view control's current font. You can use this macro or send the
message explicitly.
Retrieves information about the rectangle that surrounds a subitem in a list-view control. You can use this macro (recommended) or send the
message explicitly. This macro is intended to be used only on list-view controls that use the
Retrieves the text background color of a list-view control. You can use this macro or send the
message explicitly.
Retrieves the text color of a list-view control. You can use this macro or send the
message explicitly.
Retrieves information about a tile in a list-view control. You can use this macro or send the
message explicitly.
Retrieves information about a list-view control in tile view. You can use this macro or send the
message explicitly.
Retrieves the ToolTip control that the list-view control uses to display ToolTips. You can use this macro or send the
message explicitly.
Retrieves the index of the topmost visible item when in list or report view. You can use this macro or send the
message explicitly.
Retrieves the Unicode character format flag for the control. You can use this macro or send the
message explicitly.
Retrieves the current view of a list-view control. You can use this macro or send the
message explicitly.
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
message explicitly.
Retrieves the working areas from a list-view control. You can use this macro, or send the
message explicitly.
Determines whether the list-view control has a specified group. You can use this macro or send the
message explicitly.
Determines which list-view item, if any, is at a specified position. You can use this macro or send the
message explicitly.
Inserts a new column in a list-view control. You can use this macro or send the
message explicitly.
Inserts a group into a list-view control. You can use this macro or send the
message explicitly.
Inserts a group into an ordered list of groups. You can use this macro or send the
message explicitly.
Inserts a new item in a list-view control. You can use this macro or send the
message explicitly.
Retrieves the insertion point closest to a specified point. You can use this macro or send the
message explicitly.
Checks whether the list-view control has group view enabled. You can use this macro or send the
message explicitly.
Maps the identifier (ID) of an item to an index. You can use this macro or send the
message explicitly.
Maps the index of an item to a unique ID. You can use this macro or send the
message explicitly.
Moves the group to the specified zero based index. You can use this macro or send the
message explicitly.
Moves an item specified by an index into a group. You can use this macro or send the
message explicitly.
Forces a list-view control to redraw a range of items. You can use this macro or send the
message explicitly.
Removes all groups from a list-view control. You can use this macro or send the
message explicitly.
Removes a group from a list-view control. You can use this macro or send the
message explicitly.
Scrolls the content of a list-view control. You can use this macro or send the
message explicitly.
Sets the background color of a list-view control. You can use this macro or send the
message explicitly.
Sets the background image in a list-view control. You can use this macro or send the
message explicitly. Changes the callback mask for a list-view control. You can use this macro or send the
message explicitly.
Used to select or deselect an item in a list-view control. You can use this macro or send the
message explicitly. Sets the attributes of a list-view column. You can use this macro or send the
message explicitly.
Sets the left-to-right order of columns in a list-view control. You can use this macro or send the
message explicitly.
Used to change the width of a column in report view or the width of all columns in list-view mode. You can use this macro or send the
message explicitly.
Sets extended styles for list-view controls. You can use this macro or send the
message explicitly. Sets extended styles for list-view controls using the style mask. You can use this macro or send the LVM_SETEXTENDEDLISTVIEWSTYLE message explicitly. Sets group information. You can use this macro or send the
message explicitly.
Sets the metrics of a group. You can use this macro or send the
message explicitly.
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
message explicitly. To check whether or not hot tracking is enabled, call .
Sets the hot item in a list-view control. You can use this macro or send the
message explicitly.
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
message explicitly.
Sets the spacing between icons in list-view controls set to the
style. You can use this macro or send the
message explicitly.
Assigns an image list to a list-view control. You can use this macro or send the
message explicitly.
Sets tooltip text. You can use this macro or send the
message explicitly.
Sets the insertion point to the defined position. You can use this macro or send the
message explicitly.
Sets the color of the insertion point. You can use this macro or send the
message explicitly.
Sets some or all of a list-view item's attributes. You can also use
to set the text of a subitem. You can use this macro or send the
message explicitly.
Causes the list-view control to allocate memory for the specified number of items. You can use this macro or send the
message explicitly.
Sets the virtual number of items in a . You can use this macro or send the LVM_SETITEMCOUNT message explicitly.
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
message explicitly.
Moves an item to a specified position in a list-view control (in icon or small icon view). This macro differs from the
macro in that it uses 32-bit coordinates. You can use the
macro or send the
message explicitly.
Changes the state of an item in a list-view control. You can use this macro or send the LVM_SETITEMSTATE message explicitly.
Changes the text of a list-view item or subitem. You can use this macro or send the
message explicitly.
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
message explicitly.
Sets the index of the selected column. You can use this macro or send the
message explicitly.
Sets the selection mark in a list-view control. You can use this macro or send the
message explicitly.
Sets the background color of text in a list-view control. You can use this macro or send the
message explicitly.
Sets the text color of a list-view control. You can use this macro or send the
message explicitly.
Sets information for a tile of a list-view control. You can use this macro or send the
message explicitly.
Sets information that a list-view control uses in tile view. You can use this macro or send the
message explicitly.
Not currently supported. Sets the ToolTip control that the list-view control will use to display ToolTips. You can use this macro or send the
message explicitly.
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
message explicitly.
Sets the view of a list-view control. You can use this macro or send the
message explicitly.
Sets the working area within a list-view control. You can use this macro or send the
message explicitly.
Uses an application-defined comparison function to sort groups by ID within a list-view control. You can use this macro or send the
message explicitly.
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
message explicitly.
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
message explicitly.
Determines which list-view item or subitem is located at a given position. You can use this macro or send the
message explicitly.
Updates a list-view item. If the list-view control has the
style, this macro causes the list-view control to be arranged. You can use this macro or send the
message explicitly. Messages Calculates the approximate width and height required to display a given number of items. You can send this message explicitly or use the
macro. Arranges items in icon view. You can send this message explicitly or by using the
Cancels an item text editing operation. Creates a drag image list for the specified item. You can send this message explicitly or by using the
Removes all items from a list-view control. You can send this message explicitly or by using the
Removes a column from a list-view control. You can send this message explicitly or by using the
Removes an item from a list-view control. You can send this message explicitly or by using the
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
Enables or disables whether the items in a list-view control display as a group. Ensures that a list-view item is either entirely or partially visible, scrolling the list-view control if necessary. You can send this message explicitly or by using the
Searches for a list-view item with the specified characteristics. You can send this message explicitly or by using the
Retrieves the background color of a list-view control. You can send this message explicitly or by using the
Retrieves the background image in a list-view control. You can send this message explicitly or by using the
Retrieves the callback mask for a list-view control. You can send this message explicitly or by using the
Retrieves the attributes of a list-view control's column. You can send this message explicitly or by using the
Retrieves the current left-to-right order of columns in a list-view control. You can send this message explicitly or use the
Retrieves the width of a column in report or list view. You can send this message explicitly or by using the
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
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
Retrieves the extended styles that are currently in use for a given list-view control. You can send this message explicitly or use the
Retrieves group information. Retrieves the metrics of a group. Retrieves the handle to the header control used by the list-view control. You can send this message explicitly or use the
Retrieves the HCURSOR value used when the pointer is over an item while hot tracking is enabled. You can send this message explicitly or use the
Retrieves the index of the hot item. You can send this message explicitly or use the
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
Retrieves the handle to an image list used for drawing list-view items. You can send this message explicitly or by using the
Retrieves the position of the insertion point. Retrieves the color of the insertion point. Retrieves the rectangle that bounds the insertion point. Retrieves the incremental search string of a list-view control. You can send this message explicitly or by using the
Retrieves some or all of a list-view item's attributes. You can send this message explicitly or by using the
Retrieves the number of items in a list-view control. You can send this message explicitly or by using the
Retrieves the position of a list-view item. You can send this message explicitly or by using the
Retrieves the bounding rectangle for all or part of an item in the current view. You can send this message explicitly or by using the
macro. Determines the spacing between items in a list-view control. You can send this message explicitly or by using the
Retrieves the state of a list-view item. You can send this message explicitly or by using the
Retrieves the text of a list-view item or subitem. You can send this message explicitly or by using the
macro. Searches for a list-view item that has the specified properties and bears the specified relationship to a specified item. You can send this message explicitly or by using the
macro. Retrieves the number of List-View Working Areas in a list-view control. You can send this message explicitly or use the
Retrieves the current view origin for a list-view control. You can send this message explicitly or by using the
Retrieves the color of the border of a list-view control if the LVS_EX_BORDERSELECT extended window style is set. Retrieves an integer that specifies the selected column. Determines the number of selected items in a list-view control. You can send this message explicitly or by using the
Retrieves the selection mark from a list-view control. You can send this message explicitly or use the
Determines the width of a specified string using the specified list-view control's current font. You can send this message explicitly or by using the
Retrieves information about the bounding rectangle for a subitem in a list-view control. You can send this message explicitly or by using the
macro (recommended). This message is intended to be used only with list-view controls that use the LVS_REPORT style.
Retrieves the text background color of a list-view control. You can send this message explicitly or by using the
Retrieves the text color of a list-view control. You can send this message explicitly or by using the
Retrieves information about a tile in a list-view control. Retrieves information about a list-view control in tile view. Retrieves the ToolTip control that the list-view control uses to display ToolTips. You can send this message explicitly or use the
Retrieves the index of the topmost visible item when in list or report view. You can send this message explicitly or by using the
Retrieves the UNICODE character format flag for the control. You can send this message explicitly or use the
Retrieves the current view of a list-view control. 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
Retrieves the working areas from a list-view control. You can send this message explicitly or use the
Determines whether the list-view control has a specified group. Determines which list-view item, if any, is at a specified position. You can send this message explicitly or by using the
Inserts a new column in a list-view control. You can send this message explicitly or by using the
Inserts a group into a list-view control. Inserts a group into an ordered list of groups. Inserts a new item in a list-view control. You can send this message explicitly or by using the
macro. Retrieves the insertion point closest to a specified point. Checks whether the list-view control has group view enabled. Maps the ID of an item to an index. Maps the index of an item to a unique ID. Moves the group to the specified zero based index. Moves an item specified by an index into a group. Forces a list-view control to redraw a range of items. You can send this message explicitly or by using the
Removes all groups from a list-view control. Removes a group from a list-view control. Scrolls the content of a list-view control. You can send this message explicitly or by using the
Sets the background color of a list-view control. You can send this message explicitly or by using the
Sets the background image in a list-view control. You can send this message explicitly or by using the
Changes the callback mask for a list-view control. You can send this message explicitly or by using the
Sets the attributes of a list-view column. You can send this message explicitly or by using the
Sets the left-to-right order of columns in a list-view control. You can send this message explicitly or use the
Changes the width of a column in report-view mode or the width of all columns in list-view mode. You can send this message explicitly or use the
macro. Sets extended styles in list-view controls. You can send this message explicitly or use the
Sets group information. Sets the metrics of a group. 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
macro. To check whether or not hot tracking is enabled, call SystemParametersInfo.
Sets the hot item for a list-view control. You can send this message explicitly or use the
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
Sets the spacing between icons in list-view controls that have the LVS_ICON style. You can send this message explicitly or by using the
macro. Assigns an image list to a list-view control. You can send this message explicitly or by using the
macro. Sets ToolTip text. Sets the insertion point to the defined position. Sets the color of the insertion point. Sets some or all of a list-view item's attributes. You can also send LVM_SETITEM to set the text of a subitem. You can send this message explicitly or by using the ListView_SetItem macro.
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
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. 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.
Changes the state of an item in a list-view control. You can send this message explicitly or by using the
Changes the text of a list-view item or subitem. You can send this message explicitly or by using the
Sets the color of the border of a list-view control if the LVS_EX_BORDERSELECT extended window style is set. Sets the index of the selected column. Sets the selection mark in a list-view control. You can send this message explicitly or use the
Sets the background color of text in a list-view control. You can send this message explicitly or by using the
Sets the text color of a list-view control. You can send this message explicitly or by using the
Sets information for a tile of a list-view control. Sets information that a list-view control uses in tile view. Not currently supported. Sets the ToolTip control that the list-view control will use to display ToolTips. You can send this message explicitly or use the
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
Sets the view of a list-view control. Sets the working areas within a list-view control. You can send this message explicitly or use the
Uses an application-defined comparison function to sort groups by ID within a list-view control. 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
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
Determines which list-view item or subitem is at a given position. You can send this message explicitly or by using the
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
macro. Notifications 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
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. 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.
Notifies a list-view control's parent window when a scrolling operation starts.
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.
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.
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.
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.
Notifies a list-view control's parent window when a scrolling operation ends.
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.
Sent by a large icon view list-view control that has the
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.
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
extended list-view style. It is sent in the form of a WM_NOTIFY message.
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.
Sent by a list-view control when the user activates an item. This notification is sent in the form of a WM_NOTIFY message.
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.
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.
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.
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.
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
notification message is sent in the form of a WM_NOTIFY message.
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.
Sent by a list-view control when the state of an item or range of items has changed. This notification is sent in the form of a WM_NOTIFY message.
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.
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.
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. 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.
Sent by a list-view control when the mouse hovers over an item. This notification message is sent in the form of a WM_NOTIFY message.
Notifies a list-view control's parent window that the control has lost the input focus.
is sent in the form of a WM_NOTIFY message.
Sent by a list-view control when the user clicks an item with the right mouse button. This notification message is sent in the form of a WM_NOTIFY message.
Sent by a list-view control when the user double-clicks an item with the right mouse button. This notification message is sent in the form of a WM_NOTIFY message.
Notifies a list-view control's parent window that the control is releasing mouse capture. This notification is sent in the form of a WM_NOTIFY message.
Notifies a list-view control's parent window that the control has the input focus and that the user has pressed the ENTER key. NM_RETURN is sent in the form of a WM_NOTIFY message.
Notifies a list-view control's parent window that the control has received the input focus.
is sent in the form of a WM_NOTIFY message. Structures Contains information about the background image of a list-view control. This structure is used for both setting and retrieving background image information.
Contains information about a column in report view. This structure is used both for creating and manipulating columns. This structure supersedes the
structure. Contains information used when searching for a list-view item. This structure is identical to
but has been renamed to fit standard naming conventions.
Used to set and retrieve groups. Used to retrieve or set group metrics.
Has been extended to accommodate subitem hit-testing. The
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.
Used to sort groups. It is used with LVM_INSERTGROUPSORTED. Used to describe insertion points. 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. Provides information about tooltip text that is to be set.
Provides information about an item in a list-view control when it is displayed in tile view.
Provides information about a list-view control when it is displayed in tile view.
Contains information about an
notification message.
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 conventions.
Contains information used to update the cached item information for use with a virtual list view.
Contains information specific to an
notification message sent by a list-view control.
Contains information about an
notification message. This structure is the same as the LV_DISPINFO structure, but has been renamed to fit standard naming conventions.
Contains information the owner needs to find items requested by a virtual list view control. This structure is used with the
notification message.
Contains and receives list-view item information needed to display a ToolTip for an item. This structure is used with the
notification message.
Contains information used in processing the
notification message. This structure is the same as the
structure but has been renamed to fit standard naming conventions.
Structure that contains information for use in processing the
notification message.
Provides information about a scrolling operation. Constants 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. 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: The following window styles are specific to list-view controls.
[商业源码]&
[商业源码]&
[商业源码]&
[商业源码]&
[商业源码]&
[商业源码]&
[商业源码]&
[商业源码]&
[商业源码]&
[商业源码]&
Copyright &
All Rights Reserved

我要回帖

更多关于 checkstate 的文章

 

随机推荐