Hi Segger Team,
I wanted to consult with you guys a problem I have when using images in different wondows. I currently have 4 windows which I made on the GUIBuilder that have background images (.bmp & .jpeg) and a couple of icons. Now I can easily display the windowos with the images and everything, but the problem comes when I switch between windows. I can probably change through windows about 6 times before everything freezes. I normaly call the windows with the CreateWindowX() for each time there's a button press to switch the corresponding window, but I think this is causing the stack filling up because it creates the window over and over again with the images. After reading the manual I tryed using:
but it doesnt seem to work, Is there a way of freeing RAM when closing the window, or what's the best aproach for going thorw windows without filling the stack?
I really appreaciate your time.
Thank you
Regards
Alejandro Rangel
I wanted to consult with you guys a problem I have when using images in different wondows. I currently have 4 windows which I made on the GUIBuilder that have background images (.bmp & .jpeg) and a couple of icons. Now I can easily display the windowos with the images and everything, but the problem comes when I switch between windows. I can probably change through windows about 6 times before everything freezes. I normaly call the windows with the CreateWindowX() for each time there's a button press to switch the corresponding window, but I think this is causing the stack filling up because it creates the window over and over again with the images. After reading the manual I tryed using:
but it doesnt seem to work, Is there a way of freeing RAM when closing the window, or what's the best aproach for going thorw windows without filling the stack?
I really appreaciate your time.
Thank you
Regards
Alejandro Rangel