Restored from previous forum. Originally posted by momo.
If i want to draw on a window, the ext comes on every window wich is opened. how could i do this to draw only on one window???
maybe someone has got a code for me.
Thank You!!
Don't Look so stupid
I've got no Signature!!
Drawing on windos???
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by plouf.
this one works here
Christos
this one works here
Code: Select all
OpenWindow(0,100,100,100,100,#PB_Window_SystemMenu,"Window1")
StartDrawing(WindowOutput())
Box(10,10,80,80,RGB(00,00,255))
DrawText("Hello")
StopDrawing()
OpenWindow(1,200,100,100,100,#PB_Window_SystemMenu,"Window2")
StartDrawing(WindowOutput())
Box(10,10,80,80,RGB(00,255,00))
DrawText("Hello2")
StopDrawing()
Repeat
Until WaitWindowEvent() = #PB_Event_CloseWindow
End