Yes, you can't draw a gadget over another gadget, except for 'container' gadgets (panel / container / scrollarea) and Frame3D.ar-s wrote:For exemple, i'm making a 400x400 window
I put an image to make a background for my application
This image is same size as window size.
So it is impossible to add a gadget (string gadget for exemple) over the image. We have to grow window size (400x600 for exemple), then create a gadget below image, then put the new gadget on image then resize window 400x400.
Could you make creating gadget over an image in next Build ?
But, if you disable the image gadget ['Disable' button in gadget properties] you can draw a button in top of it ! You can enable the image later. The 'disabled' state has no effect on the generated code.
Note that the button won't work ... You will have to add the #WS_CLIPSIBLINGS style to the imagegadget and redefine the Z order like in http://www.purebasic.fr/french/viewtopic.php?p=72718
More easier : you could use PureFORMs 'Background color / image' feature ...