For some reason WINDOW_MENU wont work with WINDOW_CHILD, is there a way to get it to work?
Global Wnd_Main:TGadget = CreateWindow("Wnd_Main", 0, 0, 1024, 768, Desktop(), WINDOW_TITLEBAR | WINDOW_MENU | WINDOW_RESIZABLE) Global Wnd_File:TGadget = CreateWindow("Wnd_File", 0, 0, 400, 350, Wnd_Main, WINDOW_TITLEBAR | WINDOW_RESIZABLE | WINDOW_CHILD | WINDOW_MENU) Repeat Select WaitEvent() Case EVENT_WINDOWCLOSE End End Select Forever