Archive: custom image control


custom image control
Im using custom pages so I can use an image size of 500 by 310 pixels.

Function pre-serial
nsDialogs::Create 1044
Pop $Dialog
${If} $Dialog == error
Abort
${EndIf}
${NSD_CreateBitmap} 0u 0u 100% 100% ""
Pop $Image
${NSD_SetImage} $Image $PLUGINSDIR\Page2.bmp $ImageHandle
nsDialogs::Show
Functionend




Im using the inetc plugin to post information bu when the installer calls the plugin it displays a normal MUI sreen. How do I keep the full image displayed?


You can only show custom pages in the show function of a custom page: Page Custom ShowFunction.

Stu


Does that mean I should just call the plugin in a function and not in a custom page?


No you don't understand. Custom page dialogs are meant to be displayed in a Page Custom. They are not supported anywhere else.

Stu


Or just run the function in the custom page leave and hide it.

seems to have worked.


Thx. yes and no dialogs in the function :)