Code : Tout sélectionner
Enumeration
#Window_Main
#Window_Child
EndEnumeration
OpenWindow(#Window_Main,0,0,500,500,#PB_Window_SystemMenu|#PB_Window_ScreenCentered,"Mère")
OpenWindow(#Window_Child,0,0,200,200,#PB_Window_SystemMenu|#PB_Window_WindowCentered,"Fille",#Window_Main)
Repeat
event=WaitWindowEvent()
Until event=#PB_Event_CloseWindow