cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Jassie
Level 5

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.
Labels (1)
0 Kudos
(4) Replies
RobertDickau
Flexera Alumni

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.
0 Kudos
Jassie
Level 5

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.
0 Kudos
RobertDickau
Flexera Alumni

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.
0 Kudos
Jassie
Level 5

Thanks Robert, works perfectly 🙂
0 Kudos