Code: Select all
Procedure cb(WindowID, Message, wParam, lParam)
Result = #PB_ProcessPureBasicEvents
;
; you code here
;
ProcedureReturn Result
EndProcedure
OpenWindow(0,200,200,400,300,0,"")
SetWindowCallback(@cb)
MessageRequester("","Hello.")