InstallShield 2016
Project • This information applies to the following project types:
• | InstallScript |
• | InstallScript MSI |
• | InstallScript Object |
The following window style options are available for edit field and list box 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. |
WS_VSCROLL |
Creates a window with a vertical scroll bar. |
LBS_STANDARD |
Creates a bordered list box. |
LBS_NOTIFY |
The parent window receives an input message whenever the end user clicks or double-clicks a string. |
LBS_NODATA |
Specifies a no-data list box. Specify this style when the count of items in the list box will exceed one thousand. A no-data list box must also have the LBS_OWNERDRAWFIXED style, but must not have the LBS_SORT or LBS_HASSTRINGS style. A no-data list box resembles an owner-drawn list box except that it contains no string or bitmap data for an item. Commands to add, insert, or delete an item always ignore any specified item data; requests to find a string within the list box always fail. The system sends the WM_DRAWITEM message to the owner window when an item must be drawn. The itemID member of the DRAWITEMSTRUCT structure passed with the WM_DRAWITEM message specifies the line number of the item to be drawn. A no-data list box does not send a WM_DELETEITEM message. |
LBS_NOINTEGRALHEIGHT |
Creates a list box that is precisely the size specified by the application when it created the list box. |
LBS_NOREDRAW |
List box is not updated when changes are made. |
LBS_MULTIPLESEL |
Toggles string selection each time the end user clicks or double-clicks the string. |
LBS_HASSTRINGS |
Specifies that a list box contains items consisting of strings. The list box maintains the memory and addresses for the strings so that the application can use the LB_GETTEXT message to retrieve the text for a particular item. By default, all list boxes except owner-drawn list boxes have this style. You can create an owner-drawn list box either with or without this style. |
LBS_USETABSTOPS |
Allows a list box to recognize and expand tab characters when drawing strings. |
LBS_MULTICOLUMN |
Creates a multicolumn list box that scrolls horizontally. |
LBS_EXTENDEDSEL |
Allows the end user to select multiple items using the SHIFT key and the mouse, or key combinations. |
LBS_DISABLENOSCROLL |
Displays a disabled vertical scroll bar when the list box does not contain enough items to scroll. |
LBS_WANTKEYBOARDINPUT |
Passes WM_VKEYTOITEM or WM_CHARTOITEM messages when the end user presses a key while the list box has focus. This allows an application to perform special processing on the keyboard input. |
LBS_OWNERDRAWFIXED |
Indicates that the owner of the list box is responsible for drawing the list box’s contents. Items in the list box are the same height. |
LBS_OWNERDRAWVARIABLE |
Indicates that the owner of the list box is responsible for drawing the list box’s contents. Items in the list box are of variable height. |
See Also
Other Window Styles Dialog Box
InstallShield 2016 Help LibraryAugust 2016 |
Copyright Information | Flexera Software |