cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Not applicable

display a bitmap image during runtime

Hi all -

I'm mocking up my own prerequisite box for an Installscript project. So far so good, all 3rd party components are installing, etc. I was wondering if there was a way to have a little bitmap 'checkmark' pop up once a prereq is installed. I see that you can add a bitmap to a dialog, and set 'visible' to false, but can i set it to 'true' during runtime?
Labels (1)
0 Kudos
(2) Replies
joshstechnij
Level 10 Flexeran
Level 10 Flexeran

You should be able to use the ShowWindow Win32 API to show or hide any controls on an InstallScript dialog that you can obtain a handle for (see the InstallScript CtrlGetDlgItem function).
0 Kudos
Not applicable

Ok, it looks like I have the ShowWindow working now which will show some of the controls. Is there a way to check the status of a customer control prior to setting it? It looks like with ShowWindow I can only pass in the handle and whatever I would like to set it to, not what it's currently at.
0 Kudos