Jansemanden
18th January 2004 23:00 UTC
Changing bitmap using dropdown with InstallOptions
Hi,
Is there a way I can load a new image (bitmap) by choosing from a dropdown menuon a custom page?
I tried reading the "State" of the dropdown and and writing it to the "Text" of the bitmap; then going back and forward to make it reload. But the image doesn't change. It stays what it was originally.
IS there anyway I can make the bitmap "refresh" and load the image now in "text"?
Vytautas
19th January 2004 03:42 UTC
Try my archive page about a MUI Mod - it has some code concerning displaying bitmaps.
Hope it helps you!
Vytautas
Joost Verburg
19th January 2004 14:48 UTC
To change it while the page is still on the screen, use the NOTIFY flag of InstallOptions and load the image in the page functions using the LoadImage API (can be called with the System plug-in).
Vytautas' page shows you how to use LoadImage.