Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
51 user(s) are online (40 user(s) are browsing Forums)

Members: 1
Guests: 50

Georg, more...

Support us!

Headlines

 
  Register To Post  

Wizard.library and IMAGEBUTTON
Just popping in
Just popping in


See User information
Good morning everybody!

I'm currently trying to maintain and update a pretty old project of mine developed using Storm Wizard library.

My application interface has been completely designed using StormEditor to generate the .wizard file and then using standard Intuition/Wizard function to interact with it.

I have a particular button (of kind IMAGEBUTTON) on the button bar that is meant to display the currently selected language and it should be updated when the user change the language to use.

My .wizard file has all the images defined but I'm currently struggling trying to understand how to update the image displayed by the button.

I understood that the method
WIMAGEBUTTONA_Image
can only be used at creation time so after doing:
data WZ_GetDataAddress(surfaceWDATA_IMAGElang_id);
I'm stuck with that WizardNewImage pointer and I cannot go beyond that.

I've found that Wizard has a function
WZ_CreateImageBitMap()
to convert a WizardNewImage into a BitMap but nevertheless how can I use that BitMap to update the image displayed by my IMAGEBUTTON button?

QEMU emulator version 11.0.2
Pegasos2 - AmigaOS 4.1 FE Update 3
Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project