InstallShield 2015 ยป InstallScript Language Reference
The CtrlSetCurSel function searches the specified list or combo box control for a string. If the string is found, CtrlSetCurSel selects (highlights) the item. Call CtrlSetMultCurSel for multi-selection list box and combo box controls. The CtrlSetCurSel function is for use only with custom dialogs.
Syntax
CtrlSetCurSel ( szDialogName, nControlID, szText );
Parameters
Parameter |
Description |
szDialogName |
Specifies the name of a valid custom dialog that contains the control to be searched. |
nControlID |
Specifies the resource ID of the control that contains the search string. |
szText |
Specifies the search string. If the string is found, it is selected (highlighted). |
Return Values
Return Value |
Description |
0 |
CtrlSetCurSel successfully found and selected the specified string. |
< 0 |
CtrlSetCurSel was unable to find and select the specified string. |
See Also
InstallShield 2015 Help LibraryJune 2015 |
Copyright Information | Contact Us |