Code: Select all
MessageBox_(0,"test","test",0)Code: Select all
MessageBox_(0,"test","test",0)
This code works?Inf0Byt3 wrote:The following code does nothing when I run it in PB 4.61 B1 on a Windows XP SP3 machine
Code: Select all
InitCommonControls_()
MessageBox_(0,"test","test",0)Code: Select all
If OpenWindow(0, 100, 100, 100, 100, "PureBasic Window", #PB_Window_SystemMenu | #PB_Window_MinimizeGadget | #PB_Window_MaximizeGadget)
Repeat
Event = WaitWindowEvent()
If Event = #PB_Event_CloseWindow ; If the user has pressed on the close button
MessageBox_(0,"test","test",0)
Quit = 1
EndIf
Until Quit = 1
EndIf
End