(similar things happen with other gadgets that are hidden beneath the containergadget)
I suspect I am missing something fundamental, but what?

Grateful for any hints / Björn
Code: Select all
; Thanks to edel (aka hallodri) for his help on this !!!
hWnd = OpenWindow(0,#PB_Ignore,#PB_Ignore,250,250,"Main-Window",#WS_OVERLAPPEDWINDOW | #PB_Window_ScreenCentered)
ListIconGadget(0,5,70,200,170,"Test-ListIconGadget",250,#WS_CLIPSIBLINGS)
ButtonGadget(1,180,120,65,19,"...",#WS_CLIPSIBLINGS)
ContainerGadget(2,70,10,150,200, #PB_Container_Flat)
ButtonGadget(3,-5,20,100,20,"...")
CloseGadgetList()
SetWindowPos_(GadgetID(0),#HWND_BOTTOM,0,0,0,0,#SWP_NOMOVE|#SWP_NOSIZE)
SetWindowPos_(GadgetID(1),#HWND_BOTTOM,0,0,0,0,#SWP_NOMOVE|#SWP_NOSIZE)
SetWindowPos_(GadgetID(2),#HWND_TOPMOST,0,0,0,0,#SWP_NOMOVE|#SWP_NOSIZE)
Repeat
event = WaitWindowEvent()
Until event = #PB_Event_CloseWindow
Probably because PB is cross-platform and GTK (Linux GUI) doesn't support it.BjornF wrote:Thank you for the rapid answer.![]()
Just out of curiosity, why not?
Björn