This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Thank You.
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 08, 2010
01:21 AM
Trying to add a custom dialog with a list-box control
Hello,
I'm currently trying to make a custom dialog with a list-box control that allows users to select one (or more) items.
It would be similar to the sdFeatureDialog, but with the exception that a list of custom-defined values is available from the selection, instead of the list of features. And it woudn't have any size information displayed.
After checking the sdFeatureDialog implementation, I discovered that the list control is done by the SdCreateComponentView and other ComponentView related API's. Was unable to find the source for these functions unfortunately. Are these available from anywhere - I'm just looking at a working example I can use as a reference and speed up the development a little bit.
Has anyone out there done a similar thing - or is there any other way to do it. Any help is greatly appreciated.
Thanks
A.
I'm currently trying to make a custom dialog with a list-box control that allows users to select one (or more) items.
It would be similar to the sdFeatureDialog, but with the exception that a list of custom-defined values is available from the selection, instead of the list of features. And it woudn't have any size information displayed.
After checking the sdFeatureDialog implementation, I discovered that the list control is done by the SdCreateComponentView and other ComponentView related API's. Was unable to find the source for these functions unfortunately. Are these available from anywhere - I'm just looking at a working example I can use as a reference and speed up the development a little bit.
Has anyone out there done a similar thing - or is there any other way to do it. Any help is greatly appreciated.
Thanks
A.
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 09, 2010
05:03 PM
For the general idea, please see the help topics Creating Installations > Defining the End-User Interface > Working with Dialogs > Working with Dialogs in InstallScript and InstallScript MSI Projects > Using InstallScript to Implement Custom Dialogs and ... > Using InstallScript to Process Dialog Controls.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 13, 2010
03:02 AM
Thank you, I've reviewed these pages. These contain the standard list-box controls, and have been very helpful.
I'm now looking to improve the look and feel with something that allows multiple selection of items via a check-box selection. Similar to the implementation of the sdFeatureDialog. Just had a quick look at the inner workings of it and it seems that they are creating a list inside a "text-box". Very likely they are using the [html] feature of the text control - I've been experimenting with this with similar results to the sdFeatureDialog - but not quite exact. Haven't worked out how to get the selection out of it though. Would really love to look at the implementation of "SdCreateComponentView" functions that are used in the sdFeatureDialog implementation but I could not locate them anywhere in the distribution - my guess is that they are supplied as a library. Would there be any source code available anywhere for these functions?
Thanks again,
A.
I'm now looking to improve the look and feel with something that allows multiple selection of items via a check-box selection. Similar to the implementation of the sdFeatureDialog. Just had a quick look at the inner workings of it and it seems that they are creating a list inside a "text-box". Very likely they are using the [html] feature of the text control - I've been experimenting with this with similar results to the sdFeatureDialog - but not quite exact. Haven't worked out how to get the selection out of it though. Would really love to look at the implementation of "SdCreateComponentView" functions that are used in the sdFeatureDialog implementation but I could not locate them anywhere in the distribution - my guess is that they are supplied as a library. Would there be any source code available anywhere for these functions?
Thanks again,
A.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 14, 2010
09:27 AM
Would SdAskOptionsList do the trick?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 14, 2010
08:18 PM
RobertDickau wrote:
Would SdAskOptionsList do the trick?
Thanks, did the trick very nicely and it's a much more simpler solution than mine, with little code and no redesign of dialogs.
The FeatureAddItem example in the help was exactly what I was looking for.
Thanks again,
A.
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)