Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
14
Task/Window-creation/PureBasic/window-creation.basic
Normal file
14
Task/Window-creation/PureBasic/window-creation.basic
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
Define MyWin.i, Event.i
|
||||
|
||||
MyWin = OpenWindow(#PB_Any, 412, 172, 402, 94, "PureBasic")
|
||||
|
||||
; Event loop
|
||||
Repeat
|
||||
Event = WaitWindowEvent()
|
||||
Select Event
|
||||
Case #PB_Event_Gadget
|
||||
; Handle any gadget events here
|
||||
Case #PB_Event_CloseWindow
|
||||
Break
|
||||
EndSelect
|
||||
ForEver
|
||||
Loading…
Add table
Add a link
Reference in a new issue