Quote:
Does it mean, if a Panel is deleted, all the elements related with that will be removed?


Sure

Quote:
Final question: all the allocated memory will be released?


I am not ...sure.

Quote:
For example, if a button has an image, the allocated memory of the image will be also released automatically?


No,..this depend on your Pointer.

Panel.bmap = bmap_create(...); -> This Image will be removed if the panel is deleted

----

BMAP* bmp = bmap_create(...);
Panel.bmap = bmp; -> This Image will not be removed if the panel is deleted (if global )

Last edited by Ayumi; 03/23/19 10:48.