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
- :
- Re: Changing Bitmaps at runtime.
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
‎May 30, 2008
08:34 AM
Changing Bitmaps at runtime.
Hi,
I am creating an installer using installshield 2008. In one dialog I want to add bitmaps at runtime depending on user input, that is the bitmap is added, changed or removed. If I use PlaceBitmap, it opens a new window behind the progress screen but that is not what I want to do. Is there a way to do this, change, and remove images (bitmaps/icons) at runtime.
Thank you.
I am creating an installer using installshield 2008. In one dialog I want to add bitmaps at runtime depending on user input, that is the bitmap is added, changed or removed. If I use PlaceBitmap, it opens a new window behind the progress screen but that is not what I want to do. Is there a way to do this, change, and remove images (bitmaps/icons) at runtime.
Thank you.
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 30, 2008
08:51 AM
There's DialogSetInfo + DLG_INFO_ALTIMAGE for changing the banner bitmap on an InstallScript project. If it's a fixed collection of images, perhaps adding all of them to a dialog box and then hiding all but one with ShowWindow might work.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 30, 2008
08:55 AM
Yes, but these are to set the banner. I am basically trying to check user input and displying images to indicate if the user input is valid or not. So these images are specific to this dialog.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 30, 2008
08:58 AM
In that case, if it's a fixed collection of images, perhaps adding all of them to your dialog box and then hiding all but one at run time with ShowWindow might work.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 30, 2008
09:08 AM
Thanks Robert, works perfectly 🙂
![](/skins/images/8C9D13A71C7F7695F3262372C0172D68/responsive_peak/images/icon_anonymous_message.png)