Code: Select all
If OpenWindow(0,0,0,400,300,"Test")
SetWindowColor(0,RGB(0,0,0))
StartDrawing(WindowOutput(0))
DrawingMode(#PB_2DDrawing_Outlined)
Box(20,20,350,250,RGB(255,255,255))
StopDrawing()
While WaitWindowEvent() <> #PB_Event_CloseWindow
Wend
EndIf