dfranklin72
7th July 2009 12:15 UTC
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?
Afrow UK
7th July 2009 12:29 UTC
You can only show custom pages in the show function of a custom page: Page Custom ShowFunction.
Stu
dfranklin72
7th July 2009 12:58 UTC
Does that mean I should just call the plugin in a function and not in a custom page?
Afrow UK
7th July 2009 13:54 UTC
No you don't understand. Custom page dialogs are meant to be displayed in a Page Custom. They are not supported anywhere else.
Stu
dfranklin72
7th July 2009 14:03 UTC
Or just run the function in the custom page leave and hide it.
seems to have worked.
dfranklin72
7th July 2009 14:04 UTC
Thx. yes and no dialogs in the function :)