¿ Es posible tener una ventana y dentro de está distintas ventanas que podamos desplazar por la principal sin salirse de esta (claro)?.
Es que me parece ideal para poder hacer eso en algún juego. Con su correspondiente marco cada una, claro.
Dicen que el formulario no es mas que una ventana.
Esto no funciona:
Public Sub Main()
Dim ventana, ventana2 As Window
ventana = New Window
With ventana
.Caption = "Ventana1"
.Width = 640
.Height = 480
.Background = Color.White
.Show()
End With
ventana2 = New Window(ventana)
With ventana2
.Caption = "Ventana2"
.Border = Border.Solid
.X = 60
.y = 60
.Width = 300
.Height = 100
.Background = Color.Cyan
.Show()
End With
End
Dim ventana, ventana2 As Window
ventana = New Window
With ventana
.Caption = "Ventana1"
.Width = 640
.Height = 480
.Background = Color.White
.Show()
End With
ventana2 = New Window(ventana)
With ventana2
.Caption = "Ventana2"
.Border = Border.Solid
.X = 60
.y = 60
.Width = 300
.Height = 100
.Background = Color.Cyan
.Show()
End With
End
Saludos