Code: Alles auswählen
EnableExplicit
Define win1,win2
win1=OpenWindow(#PB_Any,10,10,600,300,"Fenster1")
win2=OpenWindow(#PB_Any,10,10,600,300,"Fenster2")
StartDrawing(WindowOutput(win2))
DrawText(100,100,"Text")
StopDrawing()
Repeat
Until WaitWindowEvent()=#PB_Event_CloseWindow
Was muss ich tun, damit ich auf win2 schreiben kann?