Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Image size set on dialogbox don't get automatically adjusted when


1 reply to this topic

Xandeep

Xandeep
  • Full Members
  • 3 posts

Posted 14 November 2016 - 13:56

Hello,

I am facing problem regarding setting bitmap image on dialogbox using "DialogSetInfo()" when I change the screen resolution say "1920x1080" the image bounds do not grow as dialogs. Is there any way to resize image to fit properly inside the dialog (the size of image is 180X390 pixels). I've attached two screenshots showing dialog on both screen resolutions.

 

On lower resolution (1280 X 1024) it fits perfectly.

 

code snippet.

szPath = SUPPORTDIR ^ "InstallerLeftBitMap.bmp";
DialogSetInfo (DLG_INFO_ALTIMAGE, szPath + ";1;1;;0,0,0" , TRUE);

 

 

Any help will be greatly appreciated.

 

Regards,

Xandeep..

 



anithakabilraj

anithakabilraj
  • Full Members
  • 2 posts

Posted 25 November 2016 - 11:09

Did you try placing the image through customizing dialog skin?

I have done that way and it worked.