InstallShield 2019
Project • This information applies to the following project types:
• | InstallScript |
• | InstallScript MSI |
• | InstallScript Object |
The following window style options are available for list view controls. For additional information, see the MSDN Library.
Value |
Description |
WS_GROUP |
Specifies the first control in a group of controls. All controls defined with this style after the first control belong to the same group. |
LVS_SINGLESEL |
Enables only one item to be selected at a time. By default, multiple items can be selected. |
LVS_NOLABELWRAP |
Displays item text on a single line in icon view. By default, item text might wrap in icon view. |
LVS_AUTOARRANGE |
Specifies that icons automatically remain arranged in icon view and small icon view. |
LVS_SHOWSELALWAYS |
Always shows the selection highlighted, even if the control is not activated. |
LVS_SORTASCENDING |
Sorts items based on item text in ascending order. |
LVS_SORTDESCENDING |
Sorts items based on item text in descending order. |
LVS_EDITLABELS |
Enables item text to be edited in place. The parent window must process the LVN_ENDLABELEDIT notification message. |
LVS_OWNERDATA |
Creates a virtual list view control. |
LVS_NOSCROLL |
Disables scrolling, so all items must be displayed within the client area. |
LVS_NOSORTHEADER |
Specifies that column headers do not work like buttons. This style is useful if clicking a column header in report view does not carry out any action, such as sorting. |
LVS_OWNERDRAWFIXED |
Enables the owner window to paint items in report view. The list view control sends a WM_DRAWITEM message to paint each item; it does not send separate messages for each subitem. The itemData member of the DRAWITEMSTRUCT structure contains the item data for the specified list view item. |
LVS_NOCOLUMNHEADER |
Specifies that no column header is displayed in report view, which is the default view. |
LVS_SHAREIMAGELISTS |
Specifies that the control does not destroy the image lists assigned to it when it is destroyed. This style enables the same image lists to be used with multiple list view controls. |
Types
Note • The following values are mutually exclusive.
Value |
Description |
LVS_ICON |
Specifies icon view. |
LVS_REPORT |
Specifies report view. |
LVS_LIST |
Specifies list view. |
LVS_SMALLICON |
Specifies small icon view. |
Align
Note • The following values are mutually exclusive.
Value |
Description |
LVS_ALIGNTOP |
Specifies that items are aligned with the top of the list view control in icon view and small icon view. |
LVS_ALIGNLEFT |
Specifies that items are left-aligned in icon view and small icon view. |
See Also
Other Window Styles Dialog Box
InstallShield 2019 Help LibraryApril 2019 |
Copyright Information | Flexera |