Is it necessary?
Это нужно?
Code
#Include "window9.bi"
Dim As HWND hwnd,hwnd1
Dim As integer event
hwnd=OpenWindow("1 îêíî",30,30,500,500)
ButtonGadget(1,10,10,80,20,"hwnd")
hwnd1=OpenWindow("2 îêíî",30,30,500,500)
ButtonGadget(2,10,10,80,20,"hwnd1")
UseGadgetList(hwnd)
ButtonGadget(3,100,100,80,20,"hwnd")
Do
event=WaitEvent()
If event=EventClose Then End
Loop