John Walsh
07/21/2009 10:29 AM
post34195
|
Misha,
Your solution works good...as long as you use two different containers, one for each picture. The issue is when you
call PtSetArg() & PtSetResources() for Pt_ARG_POS on a picture module; it applies the position to the container that
holds the picture, not the picture. I.e. a picture module has no position; it gets the position of the container you put
it in. I guess you know this but I did not.
I added a second PtPane for a container to put my second picture in and all is working well now. I move one
container to some position larger than my base widget dimension and you can't see it any more, etc... The total hit on
memory is only that of the size of all your pictures once they are all created with ApCreateModule(). After this, memory
is not being consumed because you are not creating anything, just moving containers around.
|
|
|