/* GUIBEGIN WINDOW , 88, 223, 175, 60, POPUP|CAPTION|SYSMENU|MINBOX|MAXBOX|THICK FONT 8, 400, MS Shell Dlg PUSH 66, 41, 40, 14, TABSTOP, , Cancel, ESCAPE, Cancel TEXT 3, 2, 169, 36, GROUP, , MyText, , Text DEND GUIEND */ Create: GuiErr = "SYNTAX" GuiHeading = 1 GuiCreateWindow("NORMAL", -1) GuiAddCtlText(, ARG(1)) RETURN Destroy: GuiDestroyWindow() RETURN /* Called by Reginald when the user clicks on our "Cancel" button */ WM_CLICK_Cancel: /* Set the GuiSignal variable (in whatever script calls GuiGetMsg) to "ABORT" */ GuiWake("ABORT") RETURN /* This function can be called by my creator to set the TEXT control in my window */ ShowMessage: GuiAddCtlText("MyText", ARG(1)) RETURN