Trouble closing..
Posted: Wed Nov 04, 2009 12:32 am
Okay stupid questions,
This closes (i dont get to see the very small box.
Help appreviated, please and thanks!
This closes (i dont get to see the very small box.
Code: Select all
; PureBasic Visual Designer v3.95 build 1485 (PB4Code)
;- Window Constants
;
Enumeration
#Window_0
EndEnumeration
Open_Window_0()
OpenWindow(#Window_0, 702, 419, 5, 5, "", #PB_Window_BorderLess | #PB_Window_ScreenCentered | #PB_Window_WindowCentered )
CreateGadgetList(WindowID(#Window_0))
BackColor(black)
AddKeyboardShortcut(#Window_0, #PB_Shortcut_Escape, #PB_Event_CloseWindow)
Repeat
Event = WaitWindowEvent()
Select Event
Case #PB_Event_CloseWindow
Break
EndSelect
ForEver