Skip to content

Instantly share code, notes, and snippets.

Created September 15, 2017 20:54
Show Gist options
  • Save anonymous/9094ab40b98a53ffbc64385ecd586119 to your computer and use it in GitHub Desktop.
Save anonymous/9094ab40b98a53ffbc64385ecd586119 to your computer and use it in GitHub Desktop.
Вид списка windows

Вид списка windows - List View



This section contains code examples that demonstrate how to create and use list-view controls in your applications. Calculates the approximate width and height required to display a given number of items. Arranges items in icon view. Cancels an item text editing operation. Creates a drag image list for the specified item. Removes all items from a list-view control. Removes a column from a list-view control. Removes an item from a list-view control. The message implicitly selects and focuses the specified item. 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. Searches for a list-view item with the specified characteristics. Gets the background color of a list-view control. Gets the background image in a list-view control. Gets the callback mask for a list-view control. Determines if an item in a list-view control is selected. Gets the current left-to-right order of columns in a list-view control. Gets the width of a column in report or list view. 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. Gets the text meant for display when the list-view control appears empty. Gets the extended styles that are currently in use for a given list-view control. Gets the group that has the focus. Gets information on the footer of a specified list-view control. Gets information on a footer item for a specified list-view control. Gets the coordinates of a footer for a specified item in a list-view control. Gets the coordinates of the footer for a specified list-view control. Gets the number of groups. Gets information on a specified group. Gets information about the display of groups. Gets the rectangle for a specified group. Gets the state for a specified group. Gets the handle to the header control used by a list-view control. Gets the HCURSOR used when the pointer is over an item while hot tracking is enabled. Gets the index of the hot item. Gets the amount of time that the mouse cursor must hover over an item before it is selected. Gets the handle to an image list used for drawing list-view items. Gets the position of the insertion point. Gets the color of the insertion point. Gets the rectangle that bounds the insertion point. Gets the incremental search string of a list-view control. Gets the number of items in a list-view control. Gets the bounding rectangle for all or part of a subitem in the current view of a specified list-view control. Gets the position of a list-view item. Gets the bounding rectangle for all or part of an item in the current view. Determines the spacing between items in a list-view control. Gets the state of a list-view item. Gets the text of a list-view item or subitem. Searches for a list-view item that has the specified properties and bears the specified relationship to a specified item. Gets the index of the item in a particular list-view control that has the specified properties and relationship to another specific item. Gets the number of working areas in a list-view control. Gets the current view origin for a list-view control. Gets an integer that specifies the selected column. Determines the number of selected items in a list-view control. Gets the selection mark from a list-view control. Gets information about the rectangle that surrounds a subitem in a list-view control. Gets the text background color of a list-view control. Gets the text color of a list-view control. Gets information about a tile in a list-view control. Gets information about a list-view control in tile view. Gets the tooltip control that the list-view control uses to display tooltips. Gets the index of the topmost visible item when in list or report view. Gets the Unicode character format flag for the control. Gets the current view of a list-view control. Gets the bounding rectangle of all items in the list-view control. The list view must be in icon or small icon view. Gets the working areas from a list-view control. Determines whether the list-view control has a specified group. Determines which list-view item, if any, is at a specified position. Inserts a new column in a list-view control. 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. Retrieves the insertion point closest to a specified point. Checks whether the list-view control has group view enabled. Indicates whether an item in the list-view control is visible. Maps the ID of an item to an index. Maps the index of an item to a unique ID. Forces a list-view control to redraw a range of items. Removes all groups from a list-view control. Removes a group from a list-view control. Scrolls the content of a list-view control. Sets the background color of a list-view control. Sets the background image in a list-view control. Changes the callback mask for a list-view control. Selects or deselects an item in a list-view control. Sets the attributes of a list-view column. Sets the left-to-right order of columns in a list-view control. Used to change the width of a column in report view or the width of all columns in list-view mode. Sets extended styles for list-view controls. Sets extended styles for list-view controls using the style mask. Sets information about the display of groups. Sets the HCURSOR that the list-view control uses when the pointer is over an item while hot tracking is enabled. To check whether hot tracking is enabled, call SystemParametersInfo. Sets the hot item in a list-view control. Sets the amount of time that the mouse cursor must hover over an item before it is selected. Assigns an image list to a list-view control. Sets the insertion point to the defined position. Sets the color of the insertion point. Causes the list-view control to allocate memory for the specified number of items. Sets the virtual number of items in a virtual list view. Sets the state of a specified list-view item. Moves an item to a specified position in a list-view control in icon or small icon view. Changes the state of an item in a list-view control. Changes the text of a list-view item or subitem. Sets the index of the selected column. Sets the selection mark in a list-view control. Sets the background color of text in a list-view control. Sets the text color of a list-view control. Sets information for an existing tile of a list-view control. Sets information that a list-view control uses in tile view. Sets the tooltip control that the list-view control will use to display tooltips. 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. Sets the view of a list-view control. Sets the working areas within a list-view control. 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. Determines which list-view item or subitem is located at a given position. Updates a list-view item. Gets information about the footer of a list-view control. Gets information on a footer item in a list-view control. Retrieves the coordinates of the footer for a list-view control. Gets the handle to the header control used by the list-view control. Retrieves the HCURSOR value used when the pointer is over an item while hot tracking is enabled. Retrieves the index of the hot item. Retrieves the amount of time that the mouse cursor must hover over an item before it is selected. Retrieves the handle to an image list used for drawing list-view items. Retrieves the incremental search string of a list-view control. Retrieves the number of items in a list-view control. Retrieves the bounding rectangle for all or part of a subitem in the current view of a list-view control. Retrieves the position of a list-view item. Retrieves the bounding rectangle for all or part of an item in the current view. Retrieves the state of a list-view item. Retrieves the text of a list-view item or subitem. Retrieves the index of an item in a specified list-view control that matches the specified properties and relationship to another item. Retrieves the number of working areas in a list-view control. Retrieves the current view origin for a list-view control. Retrieves the selection mark from a list-view control. Retrieves information about the bounding rectangle for a subitem in a list-view control. Retrieves the text background color of a list-view control. Retrieves the text color of a list-view control. Retrieves the tooltip control that the list-view control uses to display tooltips. Retrieves the index of the topmost visible item when in list or report view. Retrieves the UNICODE character format flag for the control. Retrieves the bounding rectangle of all items in the list-view control. Retrieves the working areas from a list-view control. Indicates if an item in the list-view control is visible. Changes the width of a column in report-view mode or the width of all columns in list-view mode. Sets extended styles in list-view controls. Sets the HCURSOR value that the list-view control uses when the pointer is over an item while hot tracking is enabled. Sets the hot item for a list-view control. Sets the amount of time which the mouse cursor must hover over an item before it is selected. 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. Sets the state of a list-view item. Moves an item to a specified position in a list-view control must be in icon or small icon view. Sets the UNICODE character format flag for the control. Determines which list-view item or subitem is at a given position. Sent by a list-view control when its overflow button is clicked. 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. Sent by list-view control to its parent window when the control has no items. This notification is sent when the list-view control is requesting additional text information to be displayed in a tooltip. Sent by a list-view control when the user moves the mouse over an item. Sent by a list-view control when the user activates an item. Sent by a virtual list-view control when the contents of its display area have changed. Sent by a virtual list-view control when it needs the owner to find a particular callback item. Sent by a list-view control when the state of an item or range of items has changed. Sent by a list-view control when the user clicks an item with the left mouse button. Sent by a list-view control to notify its parent windows about drawing operations. Sent by a list-view control when the user double-clicks an item with the left mouse button. Sent by a list-view control when the mouse hovers over an item. Sent by a list-view control when the user clicks an item with the right mouse button. Sent by a list-view control when the user double-clicks an item with the right mouse button. 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. Contains information used when searching for a list-view item. Contains information about a hit test. This structure has been extended to accommodate subitem hit-testing. This structure supersedes the LVHITTESTINFO structure. Used to sort groups. Specifies or receives the attributes of a list-view item. Contains information about a list-view notification code. Contains information used to update the cached item information for use with a virtual list view. Contains information the owner needs to find items requested by a virtual list view control. Contains and receives list-view item information needed to display a tooltip for an item. This structure is the same as the NMLVKEYDOWN structure but has been renamed to fit standard naming conventions. The state can be zero or one or more of the following values:. Microsoft Windows Dev Center. NET Windows Apps Internet of Things Mixed Reality Microsoft Edge Hardware IT Center Microsoft Azure What is Azure Products Solutions Pricing Create a free account Visual Studio Visual Studio Visual Studio IDE Visual Studio Team Services Visual Studio Code Xamarin Visual Studio Dev Essentials Subscriptions Office Office Dev Center Office for IT pros Microsoft Graph Services Store Cortana Bing Application Insights. NET Microsoft Azure Microsoft Graph Visual Studio Visual Studio Team Services Windows Office All Developer Centers TechNet Microsoft Developer Network IT TechCenters Windows IT Center Office for IT Pros All IT TechCenters Downloads Microsoft Download Center Microsoft Azure Visual Studio SDKs Windows Code samples Office Microsoft Graph MSDN Azure Windows PowerShell scripts. Search Dev Center No results. Desktop App UI Windows Controls Control Library. Control Library List View. Date and Time Picker. Collapse the table of content. This documentation is archived and is not being maintained. Is this page helpful? We appreciate your feedback. Popular Windows Dev Center Microsoft Azure Microsoft Visual Studio Office Dev Center ASP. Learning Resources Channel 9 Windows development videos Microsoft Virtual Academy. Programs Microsoft developer program Windows Insider program Microsoft Affiliate program BizSpark for startups Microsoft Imagine. For IT Pros Microsoft Power BI Microsoft SQL Server Internet of Things Operations Management Suite. Values Diversity and inclusion Accessibility Microsoft in education Microsoft philanthropies Corporate social responsibility Privacy at Microsoft. Company Careers About Microsoft Company news Investors Research Site map. Default List-View Message Processing. This section lists the window message processing performed by a list-view control. Gets the group header image list that has been set for an existing list-view control. Contains information about the display of groups in a list-view control. 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. The state can be zero or one or more of the following values:


Проблема лицемерия горе от ума
Лес рук и зубов фильм
windows 7 вид-список перепрыгивает папка
Проездной на месяц на все виды транспорта
Медицинские статьи на английском языке для студентов
Руки вверх забирай меня скорей 18
Куклы своими руками мк выкройки
Чем кормить цыплят из инкубатора
Понравился парень в автобусе
Где находится планировщик заданий в xp
Кто носит черные береты
Официальные правила игры в баскетбол
Windows 7: как сделать что бы в папках файлы отображались не списком, а обычными значками?
Самсунг галакси ноут n8000 характеристики
Банк санкт петербург комиссия за перевод денег
Стереотипный способ поведения
Прогноз погоды в омске на 14
Ч 1 статьи 5.27 коап рф
Одинаковый вид всех папок в два клика
Характеристика линий на руке
Статья введение в заблуждение потребителя
Just little business перевод
Молочница является признаком беременности
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment