Jump to content

Unable to open more than 2 images


ForTest

Recommended Posts

Hi

I am having trouble viewing more than 2 images in the same screen.

I've imported 3 bmp into uGFX studio and generated the header file.

The code for load a single BMP is this:
 

GHandle ghImagebox3;

                wi.g.show = TRUE;
                wi.g.x = 400;
                wi.g.y = 150;
                wi.g.width = 67;
                wi.g.height = 67;
                ghImagebox3 = gwinImageCreate(0, &wi.g);
                gwinImageOpenMemory(ghImagebox3, ico3);

 

It works perfecty until i load 2 BMP

Whan i try to open the third i cannot see it on the display

I'm absolutely sure that x and y are in a valid area of the screen and there are not others widget on this area.

Every ghImageBox element seems to be initialized correctly so i can understand why the image is not visible

 

 

Suggest?

 

Edited by ForTest
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...