Bitmap control load bitmap files
My project is InstallScript. and I had edit the standard dialog and insert a bitmap control into dialog. I want the bitmap control can load bitmap file when running installation. But I only can use GetDlgItem to get the handle of Bitmap control. I don't know how to set a bitmap file(bitmap file in SUPPORTDIR) to bitmap control in script. So that Dialog can dynamic show the Bitmap. Is anybody know how to do that? Please save me.
I have done many custom dialogs in InstallScript, but I have never done one with a bitmap control.
In looking at the Help, and it says that one of the Bitmap Control properties is to set the filename. Are you not able to click on the Bitmap Control in the dialog editor, and then select the File Name property from the control's properties sheet?
If under Edit dialog page. I can change the bitmap control proterty to assign the bitmap file. But when under installing. How can I change the bitmap control property by script ? I need change it dynamic when install processing.
Originally Posted by gridman
Change Bitmap image
I also want to do the same thing.
Wants to change the Bitmap image path on button click and fetch the path from the SUPPORTDIR property.
But I have no idea how to do this thing.
Please somebody help me.
Changing bitmap file in bitmap control through script
Have you find any solution for changing bitmap file in bitmap control through script? I need it urgently.