InstallShield 2016 ยป InstallScript Language Reference
The CtrlGetMultCurSel function retrieves the currently selected lines from a multi-selection list box control, that is, a list box control with the LBS_MULTIPLESEL style. (This function does not support extended selection list box controls, that is, list box controls with the LBS_EXTENDEDSEL style.) Each selected line of the multi-selection list box is placed into a string list identified by listID. To retrieve selected text from a single-selection list box control, call CtrlGetCurSel. CtrlGetMultCurSel is for use only with custom dialogs.
Syntax
CtrlGetMultCurSel ( szDialogName, nControlID, listID );
Parameters
| 
                         Parameter  | 
                    
                         Description  | 
                
| 
                         szDialogName  | 
                    
                         Specifies the name of a custom dialog that contains the list box control whose contents are to be retrieved.  | 
                
| 
                         nControlID  | 
                    
                         Specifies the resource ID of the multi-line edit control.  | 
                
| 
                         listID  | 
                    
                         Returns the lines of the list box identified by nControlID. The string list identified by listID must already have been initialized by a call to ListCreate.  | 
                
Return Values
| 
                         Return Value  | 
                    
                         Description  | 
                
| 
                         0  | 
                    
                         CtrlGetMultCurSel successfully retrieved the currently selected items.  | 
                
| 
                         < 0  | 
                    
                         CtrlGetMultCurSel was unable to retrieve the items.  | 
                
See Also
                        InstallShield 2016 Help LibraryMay 2017 | 
                    Copyright Information | Flexera Software |