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

Show Bitmap in Dialog


1 reply to this topic

boz

boz
  • Full Members
  • 12 posts

Posted 23 September 2002 - 12:00

Hi,

I need to show a Bitmap in a Dialog. The Bitmap shall not replace the IS Bitmap in the Header, but appear additionally inside the dialog frame. Unfortunately the Bitmap that has to be displayed varies. So adding a picture box to the dialog resource doesn't help. PlaceBitmap() seems to be solution:

PlaceBitmap(SUPPORTDIR ^ szName + ".bmp", 104, 20, 20, UPPER_LEFT);

But this code doesn't do anything!!!!! It's not because of the .bmp file, it DOES exist.

Can anybody help me?
Thomas

boz

boz
  • Full Members
  • 12 posts

Posted 23 September 2002 - 12:43

OK, I got it!
The installation window is NOT the dialog!
???

But does anybody know how to change a displayed bitmap during runtime?

I'm now using a picturebox in the dialog resource with a bitmap which is also included in _ISUser.dll. But how can I change the Bitmap in the pictureboxitem (using another bitmap resource or better a .bmp file in SUPPORTDIR)?

Thomas