home *** CD-ROM | disk | FTP | other *** search
- '
- ' ####################
- ' ##### PROLOG #####
- ' ####################
- '
- ' This program tests that library "warning.dll" exists and works.
- '
- PROGRAM "awarn"
- VERSION "0.0002"
- '
- IMPORT "xst"
- IMPORT "xgr"
- IMPORT "xui"
- IMPORT "warning"
- '
- DECLARE FUNCTION Entry ()
- DECLARE FUNCTION InitGui ()
- '
- '
- ' ######################
- ' ##### Entry () #####
- ' ######################
- '
- FUNCTION Entry ()
- '
- InitGui ()
- DIM text$[10]
- text$[ 0] = "##########################"
- text$[ 1] = "##### Test Library #####"
- text$[ 2] = "##########################"
- text$[ 3] = ""
- text$[ 4] = "All this program does is a"
- text$[ 5] = "few function calls to grid"
- text$[ 6] = "function XuiWarning4B() in"
- text$[ 7] = "library \"warning.dll\" - to"
- text$[ 8] = "prove this actually works."
- text$[ 9] = ""
- text$[10] = "Process a MouseUp then die"
- XuiWarning4B (@grid, #CreateWindow, 300, 300, 400, 200, 0, 0)
- XuiSendMessage ( grid, #SetTextArray, 0, 0, 0, 0, 1, @text$[])
- XuiSendMessage ( grid, #SetColor, $$Blue, $$Green, $$Red, $$Yellow, 1, 0)
- XuiSendMessage ( grid, #SetColor, $$BrightCyan, -1, -1, -1, 2, 0)
- XuiSendMessage ( grid, #SetColor, $$BrightGreen, -1, -1, -1, 3, 0)
- XuiSendMessage ( grid, #SetColor, $$LightGreen, -1, -1, -1, 4, 0)
- XuiSendMessage ( grid, #SetColor, $$LightRed, -1, -1, -1, 5, 0)
- XuiSendMessage ( grid, #DisplayWindow, 0, 0, 0, 0, 0, 0)
- XuiSendMessage ( grid, #Redraw, 0, 0, 0, 0, 0, 0)
- '
- DO
- XgrPeekMessage (@g, @m, 0, 0, 0, 0, 0, 0)
- XgrProcessMessages (1)
- LOOP UNTIL (m = #WindowMouseUp)
- END FUNCTION
- '
- '
- ' ########################
- ' ##### InitGui () #####
- ' ########################
- '
- ' InitGui() initializes cursor, icon, message, and display variables.
- ' Programs can reference these variables, but must never change them.
- '
- FUNCTION InitGui ()
- '
- ' ***************************************
- ' ***** Register Standard Cursors *****
- ' ***************************************
- '
- XgrRegisterCursor (@"arrow", @#defaultCursor)
- XgrRegisterCursor (@"arrow", @#cursorDefault)
- XgrRegisterCursor (@"arrow", @#cursorArrow)
- XgrRegisterCursor (@"arrow", @#cursorArrowNW)
- XgrRegisterCursor (@"n", @#cursorArrowN)
- XgrRegisterCursor (@"ns", @#cursorArrowsNS)
- XgrRegisterCursor (@"we", @#cursorArrowsWE)
- XgrRegisterCursor (@"nwse", @#cursorArrowsNWSE)
- XgrRegisterCursor (@"nesw", @#cursorArrowsNESW)
- XgrRegisterCursor (@"all", @#cursorArrowsAll)
- XgrRegisterCursor (@"crosshair", @#cursorCrosshair)
- XgrRegisterCursor (@"plus", @#cursorPlus)
- XgrRegisterCursor (@"wait", @#cursorHourglass)
- XgrRegisterCursor (@"insert", @#cursorInsert)
- XgrRegisterCursor (@"no", @#cursorNo)
- '
- '
- ' ********************************************
- ' ***** Register Standard Window Icons *****
- ' ********************************************
- '
- XgrRegisterIcon (@"hand", @#iconHand)
- XgrRegisterIcon (@"asterisk", @#iconAsterisk)
- XgrRegisterIcon (@"question", @#iconQuestion)
- XgrRegisterIcon (@"exclamation", @#iconExclamation)
- XgrRegisterIcon (@"application", @#iconApplication)
- '
- XgrRegisterIcon (@"hand", @#iconStop) ' alias
- XgrRegisterIcon (@"asterisk", @#iconInformation) ' alias
- XgrRegisterIcon (@"application", @#iconBlank) ' alias
- '
- XgrRegisterIcon (@"window", @#iconWindow) ' custom
- '
- '
- ' ******************************
- ' ***** Register Messages ***** Create message numbers for message names
- ' ******************************
- '
- XgrRegisterMessage (@"Blowback", @#Blowback)
- XgrRegisterMessage (@"Callback", @#Callback)
- XgrRegisterMessage (@"Cancel", @#Cancel)
- XgrRegisterMessage (@"Change", @#Change)
- XgrRegisterMessage (@"CloseWindow", @#CloseWindow)
- XgrRegisterMessage (@"ContextChange", @#ContextChange)
- XgrRegisterMessage (@"Create", @#Create)
- XgrRegisterMessage (@"CreateValueArray", @#CreateValueArray)
- XgrRegisterMessage (@"CreateWindow", @#CreateWindow)
- XgrRegisterMessage (@"CursorH", @#CursorH)
- XgrRegisterMessage (@"CursorV", @#CursorV)
- XgrRegisterMessage (@"Deselected", @#Deselected)
- XgrRegisterMessage (@"Destroy", @#Destroy)
- XgrRegisterMessage (@"Destroyed", @#Destroyed)
- XgrRegisterMessage (@"DestroyWindow", @#DestroyWindow)
- XgrRegisterMessage (@"Disable", @#Disable)
- XgrRegisterMessage (@"Disabled", @#Disabled)
- XgrRegisterMessage (@"Displayed", @#Displayed)
- XgrRegisterMessage (@"DisplayWindow", @#DisplayWindow)
- XgrRegisterMessage (@"Enable", @#Enable)
- XgrRegisterMessage (@"Enabled", @#Enabled)
- XgrRegisterMessage (@"Enter", @#Enter)
- XgrRegisterMessage (@"ExitMessageLoop", @#ExitMessageLoop)
- XgrRegisterMessage (@"Find", @#Find)
- XgrRegisterMessage (@"FindForward", @#FindForward)
- XgrRegisterMessage (@"FindReverse", @#FindReverse)
- XgrRegisterMessage (@"Forward", @#Forward)
- XgrRegisterMessage (@"GetAlign", @#GetAlign)
- XgrRegisterMessage (@"GetBorder", @#GetBorder)
- XgrRegisterMessage (@"GetBorderOffset", @#GetBorderOffset)
- XgrRegisterMessage (@"GetCallback", @#GetCallback)
- XgrRegisterMessage (@"GetCallbackArgs", @#GetCallbackArgs)
- XgrRegisterMessage (@"GetCan", @#GetCan)
- XgrRegisterMessage (@"GetCharacterMapArray", @#GetCharacterMapArray)
- XgrRegisterMessage (@"GetClipGrid", @#GetClipGrid)
- XgrRegisterMessage (@"GetColor", @#GetColor)
- XgrRegisterMessage (@"GetColorExtra", @#GetColorExtra)
- XgrRegisterMessage (@"GetCursor", @#GetCursor)
- XgrRegisterMessage (@"GetCursorXY", @#GetCursorXY)
- XgrRegisterMessage (@"GetDisplay", @#GetDisplay)
- XgrRegisterMessage (@"GetEnclosedGrids", @#GetEnclosedGrids)
- XgrRegisterMessage (@"GetEnclosingGrid", @#GetEnclosingGrid)
- XgrRegisterMessage (@"GetFocusColor", @#GetFocusColor)
- XgrRegisterMessage (@"GetFocusColorExtra", @#GetFocusColorExtra)
- XgrRegisterMessage (@"GetFont", @#GetFont)
- XgrRegisterMessage (@"GetFontNumber", @#GetFontNumber)
- XgrRegisterMessage (@"GetGridFunction", @#GetGridFunction)
- XgrRegisterMessage (@"GetGridFunctionName", @#GetGridFunctionName)
- XgrRegisterMessage (@"GetGridName", @#GetGridName)
- XgrRegisterMessage (@"GetGridNumber", @#GetGridNumber)
- XgrRegisterMessage (@"GetGridType", @#GetGridType)
- XgrRegisterMessage (@"GetGridTypeName", @#GetGridTypeName)
- XgrRegisterMessage (@"GetGroup", @#GetGroup)
- XgrRegisterMessage (@"GetHelp", @#GetHelp)
- XgrRegisterMessage (@"GetHelpFile", @#GetHelpFile)
- XgrRegisterMessage (@"GetHelpString", @#GetHelpString)
- XgrRegisterMessage (@"GetHelpStrings", @#GetHelpStrings)
- XgrRegisterMessage (@"GetHintString", @#GetHintString)
- XgrRegisterMessage (@"GetImage", @#GetImage)
- XgrRegisterMessage (@"GetImageCoords", @#GetImageCoords)
- XgrRegisterMessage (@"GetIndent", @#GetIndent)
- XgrRegisterMessage (@"GetInfo", @#GetInfo)
- XgrRegisterMessage (@"GetJustify", @#GetJustify)
- XgrRegisterMessage (@"GetKeyboardFocus", @#GetKeyboardFocus)
- XgrRegisterMessage (@"GetKeyboardFocusGrid", @#GetKeyboardFocusGrid)
- XgrRegisterMessage (@"GetKidNumber", @#GetKidNumber)
- XgrRegisterMessage (@"GetKids", @#GetKids)
- XgrRegisterMessage (@"GetKidArray", @#GetKidArray)
- XgrRegisterMessage (@"GetKind", @#GetKind)
- XgrRegisterMessage (@"GetMaxMinSize", @#GetMaxMinSize)
- XgrRegisterMessage (@"GetMessageFunc", @#GetMessageFunc)
- XgrRegisterMessage (@"GetMessageFuncArray", @#GetMessageFuncArray)
- XgrRegisterMessage (@"GetMessageSub", @#GetMessageSub)
- XgrRegisterMessage (@"GetMessageSubArray", @#GetMessageSubArray)
- XgrRegisterMessage (@"GetModalInfo", @#GetModalInfo)
- XgrRegisterMessage (@"GetModalWindow", @#GetModalWindow)
- XgrRegisterMessage (@"GetParent", @#GetParent)
- XgrRegisterMessage (@"GetPosition", @#GetPosition)
- XgrRegisterMessage (@"GetProtoInfo", @#GetProtoInfo)
- XgrRegisterMessage (@"GetRedrawFlags", @#GetRedrawFlags)
- XgrRegisterMessage (@"GetSize", @#GetSize)
- XgrRegisterMessage (@"GetSmallestSize", @#GetSmallestSize)
- XgrRegisterMessage (@"GetState", @#GetState)
- XgrRegisterMessage (@"GetStyle", @#GetStyle)
- XgrRegisterMessage (@"GetTabArray", @#GetTabArray)
- XgrRegisterMessage (@"GetTabWidth", @#GetTabWidth)
- XgrRegisterMessage (@"GetTextArray", @#GetTextArray)
- XgrRegisterMessage (@"GetTextArrayBounds", @#GetTextArrayBounds)
- XgrRegisterMessage (@"GetTextArrayLine", @#GetTextArrayLine)
- XgrRegisterMessage (@"GetTextArrayLines", @#GetTextArrayLines)
- XgrRegisterMessage (@"GetTextCursor", @#GetTextCursor)
- XgrRegisterMessage (@"GetTextFilename", @#GetTextFilename)
- XgrRegisterMessage (@"GetTextPosition", @#GetTextPosition)
- XgrRegisterMessage (@"GetTextSelection", @#GetTextSelection)
- XgrRegisterMessage (@"GetTextString", @#GetTextString)
- XgrRegisterMessage (@"GetTextStrings", @#GetTextStrings)
- XgrRegisterMessage (@"GetTexture", @#GetTexture)
- XgrRegisterMessage (@"GetTimer", @#GetTimer)
- XgrRegisterMessage (@"GetValue", @#GetValue)
- XgrRegisterMessage (@"GetValues", @#GetValues)
- XgrRegisterMessage (@"GetValueArray", @#GetValueArray)
- XgrRegisterMessage (@"GetWindow", @#GetWindow)
- XgrRegisterMessage (@"GetWindowFunction", @#GetWindowFunction)
- XgrRegisterMessage (@"GetWindowGrid", @#GetWindowGrid)
- XgrRegisterMessage (@"GetWindowIcon", @#GetWindowIcon)
- XgrRegisterMessage (@"GetWindowSize", @#GetWindowSize)
- XgrRegisterMessage (@"GetWindowTitle", @#GetWindowTitle)
- XgrRegisterMessage (@"GotKeyboardFocus", @#GotKeyboardFocus)
- XgrRegisterMessage (@"GrabArray", @#GrabArray)
- XgrRegisterMessage (@"GrabTextArray", @#GrabTextArray)
- XgrRegisterMessage (@"GrabTextString", @#GrabTextString)
- XgrRegisterMessage (@"GrabValueArray", @#GrabValueArray)
- XgrRegisterMessage (@"Help", @#Help)
- XgrRegisterMessage (@"Hidden", @#Hidden)
- XgrRegisterMessage (@"HideTextCursor", @#HideTextCursor)
- XgrRegisterMessage (@"HideWindow", @#HideWindow)
- XgrRegisterMessage (@"Initialize", @#Initialize)
- XgrRegisterMessage (@"Initialized", @#Initialized)
- XgrRegisterMessage (@"Inline", @#Inline)
- XgrRegisterMessage (@"InquireText", @#InquireText)
- XgrRegisterMessage (@"KeyboardFocusBackward", @#KeyboardFocusBackward)
- XgrRegisterMessage (@"KeyboardFocusForward", @#KeyboardFocusForward)
- XgrRegisterMessage (@"KeyDown", @#KeyDown)
- XgrRegisterMessage (@"KeyUp", @#KeyUp)
- XgrRegisterMessage (@"LostKeyboardFocus", @#LostKeyboardFocus)
- XgrRegisterMessage (@"LostTextSelection", @#LostTextSelection)
- XgrRegisterMessage (@"Maximized", @#Maximized)
- XgrRegisterMessage (@"MaximizeWindow", @#MaximizeWindow)
- XgrRegisterMessage (@"Maximum", @#Maximum)
- XgrRegisterMessage (@"Minimized", @#Minimized)
- XgrRegisterMessage (@"MinimizeWindow", @#MinimizeWindow)
- XgrRegisterMessage (@"Minimum", @#Minimum)
- XgrRegisterMessage (@"MonitorContext", @#MonitorContext)
- XgrRegisterMessage (@"MonitorHelp", @#MonitorHelp)
- XgrRegisterMessage (@"MonitorKeyboard", @#MonitorKeyboard)
- XgrRegisterMessage (@"MonitorMouse", @#MonitorMouse)
- XgrRegisterMessage (@"MouseDown", @#MouseDown)
- XgrRegisterMessage (@"MouseDrag", @#MouseDrag)
- XgrRegisterMessage (@"MouseEnter", @#MouseEnter)
- XgrRegisterMessage (@"MouseExit", @#MouseExit)
- XgrRegisterMessage (@"MouseMove", @#MouseMove)
- XgrRegisterMessage (@"MouseUp", @#MouseUp)
- XgrRegisterMessage (@"MuchLess", @#MuchLess)
- XgrRegisterMessage (@"MuchMore", @#MuchMore)
- XgrRegisterMessage (@"OneLess", @#OneLess)
- XgrRegisterMessage (@"OneMore", @#OneMore)
- XgrRegisterMessage (@"PokeArray", @#PokeArray)
- XgrRegisterMessage (@"PokeTextArray", @#PokeTextArray)
- XgrRegisterMessage (@"PokeTextString", @#PokeTextString)
- XgrRegisterMessage (@"PokeValueArray", @#PokeValueArray)
- XgrRegisterMessage (@"Print", @#Print)
- XgrRegisterMessage (@"Redraw", @#Redraw)
- XgrRegisterMessage (@"RedrawGrid", @#RedrawGrid)
- XgrRegisterMessage (@"RedrawLines", @#RedrawLines)
- XgrRegisterMessage (@"RedrawText", @#RedrawText)
- XgrRegisterMessage (@"RedrawWindow", @#RedrawWindow)
- XgrRegisterMessage (@"Replace", @#Replace)
- XgrRegisterMessage (@"ReplaceForward", @#ReplaceForward)
- XgrRegisterMessage (@"ReplaceReverse", @#ReplaceReverse)
- XgrRegisterMessage (@"Reset", @#Reset)
- XgrRegisterMessage (@"Resize", @#Resize)
- XgrRegisterMessage (@"Resized", @#Resized)
- XgrRegisterMessage (@"ResizeNot", @#ResizeNot)
- XgrRegisterMessage (@"ResizeWindow", @#ResizeWindow)
- XgrRegisterMessage (@"ResizeWindowToGrid", @#ResizeWindowToGrid)
- XgrRegisterMessage (@"Resized", @#Resized)
- XgrRegisterMessage (@"Reverse", @#Reverse)
- XgrRegisterMessage (@"ScrollH", @#ScrollH)
- XgrRegisterMessage (@"ScrollV", @#ScrollV)
- XgrRegisterMessage (@"Select", @#Select)
- XgrRegisterMessage (@"Selected", @#Selected)
- XgrRegisterMessage (@"Selection", @#Selection)
- XgrRegisterMessage (@"SelectWindow", @#SelectWindow)
- XgrRegisterMessage (@"SetAlign", @#SetAlign)
- XgrRegisterMessage (@"SetBorder", @#SetBorder)
- XgrRegisterMessage (@"SetBorderOffset", @#SetBorderOffset)
- XgrRegisterMessage (@"SetCallback", @#SetCallback)
- XgrRegisterMessage (@"SetCan", @#SetCan)
- XgrRegisterMessage (@"SetCharacterMapArray", @#SetCharacterMapArray)
- XgrRegisterMessage (@"SetClipGrid", @#SetClipGrid)
- XgrRegisterMessage (@"SetColor", @#SetColor)
- XgrRegisterMessage (@"SetColorAll", @#SetColorAll)
- XgrRegisterMessage (@"SetColorExtra", @#SetColorExtra)
- XgrRegisterMessage (@"SetColorExtraAll", @#SetColorExtraAll)
- XgrRegisterMessage (@"SetCursor", @#SetCursor)
- XgrRegisterMessage (@"SetCursorXY", @#SetCursorXY)
- XgrRegisterMessage (@"SetDisplay", @#SetDisplay)
- XgrRegisterMessage (@"SetFocusColor", @#SetFocusColor)
- XgrRegisterMessage (@"SetFocusColorExtra", @#SetFocusColorExtra)
- XgrRegisterMessage (@"SetFont", @#SetFont)
- XgrRegisterMessage (@"SetFontNumber", @#SetFontNumber)
- XgrRegisterMessage (@"SetGridFunction", @#SetGridFunction)
- XgrRegisterMessage (@"SetGridFunctionName", @#SetGridFunctionName)
- XgrRegisterMessage (@"SetGridName", @#SetGridName)
- XgrRegisterMessage (@"SetGridType", @#SetGridType)
- XgrRegisterMessage (@"SetGridTypeName", @#SetGridTypeName)
- XgrRegisterMessage (@"SetGroup", @#SetGroup)
- XgrRegisterMessage (@"SetHelp", @#SetHelp)
- XgrRegisterMessage (@"SetHelpFile", @#SetHelpFile)
- XgrRegisterMessage (@"SetHelpString", @#SetHelpString)
- XgrRegisterMessage (@"SetHelpStrings", @#SetHelpStrings)
- XgrRegisterMessage (@"SetHintString", @#SetHintString)
- XgrRegisterMessage (@"SetImage", @#SetImage)
- XgrRegisterMessage (@"SetImageCoords", @#SetImageCoords)
- XgrRegisterMessage (@"SetIndent", @#SetIndent)
- XgrRegisterMessage (@"SetInfo", @#SetInfo)
- XgrRegisterMessage (@"SetJustify", @#SetJustify)
- XgrRegisterMessage (@"SetKeyboardFocus", @#SetKeyboardFocus)
- XgrRegisterMessage (@"SetKeyboardFocusGrid", @#SetKeyboardFocusGrid)
- XgrRegisterMessage (@"SetMaxMinSize", @#SetMaxMinSize)
- XgrRegisterMessage (@"SetMessageFunc", @#SetMessageFunc)
- XgrRegisterMessage (@"SetMessageFuncArray", @#SetMessageFuncArray)
- XgrRegisterMessage (@"SetMessageSub", @#SetMessageSub)
- XgrRegisterMessage (@"SetMessageSubArray", @#SetMessageSubArray)
- XgrRegisterMessage (@"SetModalWindow", @#SetModalWindow)
- XgrRegisterMessage (@"SetParent", @#SetParent)
- XgrRegisterMessage (@"SetPosition", @#SetPosition)
- XgrRegisterMessage (@"SetRedrawFlags", @#SetRedrawFlags)
- XgrRegisterMessage (@"SetSize", @#SetSize)
- XgrRegisterMessage (@"SetState", @#SetState)
- XgrRegisterMessage (@"SetStyle", @#SetStyle)
- XgrRegisterMessage (@"SetTabArray", @#SetTabArray)
- XgrRegisterMessage (@"SetTabWidth", @#SetTabWidth)
- XgrRegisterMessage (@"SetTextArray", @#SetTextArray)
- XgrRegisterMessage (@"SetTextArrayLine", @#SetTextArrayLine)
- XgrRegisterMessage (@"SetTextArrayLines", @#SetTextArrayLines)
- XgrRegisterMessage (@"SetTextCursor", @#SetTextCursor)
- XgrRegisterMessage (@"SetTextFilename", @#SetTextFilename)
- XgrRegisterMessage (@"SetTextSelection", @#SetTextSelection)
- XgrRegisterMessage (@"SetTextString", @#SetTextString)
- XgrRegisterMessage (@"SetTextStrings", @#SetTextStrings)
- XgrRegisterMessage (@"SetTexture", @#SetTexture)
- XgrRegisterMessage (@"SetTimer", @#SetTimer)
- XgrRegisterMessage (@"SetValue", @#SetValue)
- XgrRegisterMessage (@"SetValues", @#SetValues)
- XgrRegisterMessage (@"SetValueArray", @#SetValueArray)
- XgrRegisterMessage (@"SetWindowFunction", @#SetWindowFunction)
- XgrRegisterMessage (@"SetWindowIcon", @#SetWindowIcon)
- XgrRegisterMessage (@"SetWindowTitle", @#SetWindowTitle)
- XgrRegisterMessage (@"ShowTextCursor", @#ShowTextCursor)
- XgrRegisterMessage (@"ShowWindow", @#ShowWindow)
- XgrRegisterMessage (@"SomeLess", @#SomeLess)
- XgrRegisterMessage (@"SomeMore", @#SomeMore)
- XgrRegisterMessage (@"StartTimer", @#StartTimer)
- XgrRegisterMessage (@"SystemMessage", @#SystemMessage)
- XgrRegisterMessage (@"TextDelete", @#TextDelete)
- XgrRegisterMessage (@"TextEvent", @#TextEvent)
- XgrRegisterMessage (@"TextInsert", @#TextInsert)
- XgrRegisterMessage (@"TextModified", @#TextModified)
- XgrRegisterMessage (@"TextReplace", @#TextReplace)
- XgrRegisterMessage (@"TimeOut", @#TimeOut)
- XgrRegisterMessage (@"Update", @#Update)
- XgrRegisterMessage (@"WindowClose", @#WindowClose)
- XgrRegisterMessage (@"WindowCreate", @#WindowCreate)
- XgrRegisterMessage (@"WindowDeselected", @#WindowDeselected)
- XgrRegisterMessage (@"WindowDestroy", @#WindowDestroy)
- XgrRegisterMessage (@"WindowDestroyed", @#WindowDestroyed)
- XgrRegisterMessage (@"WindowDisplay", @#WindowDisplay)
- XgrRegisterMessage (@"WindowDisplayed", @#WindowDisplayed)
- XgrRegisterMessage (@"WindowGetDisplay", @#WindowGetDisplay)
- XgrRegisterMessage (@"WindowGetFunction", @#WindowGetFunction)
- XgrRegisterMessage (@"WindowGetIcon", @#WindowGetIcon)
- XgrRegisterMessage (@"WindowGetKeyboardFocusGrid", @#WindowGetKeyboardFocusGrid)
- XgrRegisterMessage (@"WindowGetSelectedWindow", @#WindowGetSelectedWindow)
- XgrRegisterMessage (@"WindowGetSize", @#WindowGetSize)
- XgrRegisterMessage (@"WindowGetTitle", @#WindowGetTitle)
- XgrRegisterMessage (@"WindowHelp", @#WindowHelp)
- XgrRegisterMessage (@"WindowHide", @#WindowHide)
- XgrRegisterMessage (@"WindowHidden", @#WindowHidden)
- XgrRegisterMessage (@"WindowKeyDown", @#WindowKeyDown)
- XgrRegisterMessage (@"WindowKeyUp", @#WindowKeyUp)
- XgrRegisterMessage (@"WindowMaximize", @#WindowMaximize)
- XgrRegisterMessage (@"WindowMaximized", @#WindowMaximized)
- XgrRegisterMessage (@"WindowMinimize", @#WindowMinimize)
- XgrRegisterMessage (@"WindowMinimized", @#WindowMinimized)
- XgrRegisterMessage (@"WindowMonitorContext", @#WindowMonitorContext)
- XgrRegisterMessage (@"WindowMonitorHelp", @#WindowMonitorHelp)
- XgrRegisterMessage (@"WindowMonitorKeyboard", @#WindowMonitorKeyboard)
- XgrRegisterMessage (@"WindowMonitorMouse", @#WindowMonitorMouse)
- XgrRegisterMessage (@"WindowMouseDown", @#WindowMouseDown)
- XgrRegisterMessage (@"WindowMouseDrag", @#WindowMouseDrag)
- XgrRegisterMessage (@"WindowMouseEnter", @#WindowMouseEnter)
- XgrRegisterMessage (@"WindowMouseExit", @#WindowMouseExit)
- XgrRegisterMessage (@"WindowMouseMove", @#WindowMouseMove)
- XgrRegisterMessage (@"WindowMouseUp", @#WindowMouseUp)
- XgrRegisterMessage (@"WindowRedraw", @#WindowRedraw)
- XgrRegisterMessage (@"WindowRegister", @#WindowRegister)
- XgrRegisterMessage (@"WindowResize", @#WindowResize)
- XgrRegisterMessage (@"WindowResized", @#WindowResized)
- XgrRegisterMessage (@"WindowResizeToGrid", @#WindowResizeToGrid)
- XgrRegisterMessage (@"WindowSelect", @#WindowSelect)
- XgrRegisterMessage (@"WindowSelected", @#WindowSelected)
- XgrRegisterMessage (@"WindowSetFunction", @#WindowSetFunction)
- XgrRegisterMessage (@"WindowSetIcon", @#WindowSetIcon)
- XgrRegisterMessage (@"WindowSetKeyboardFocusGrid", @#WindowSetKeyboardFocusGrid)
- XgrRegisterMessage (@"WindowSetTitle", @#WindowSetTitle)
- XgrRegisterMessage (@"WindowShow", @#WindowShow)
- XgrRegisterMessage (@"WindowSystemMessage", @#WindowSystemMessage)
- XgrRegisterMessage (@"LastMessage", @#LastMessage)
- '
- XgrGetDisplaySize ("", @#displayWidth, @#displayHeight, @#windowBorderWidth, @#windowTitleHeight)
- END FUNCTION
- END PROGRAM
-