GuiDesigner Programmer Guide
Introduction
What's a GUI ?
GUI Approach
Easy To Learn
GuiDesigner
Instant Help
Program Development Environment
A Quick Tour of GuiDesigner
Quick Tour
GuiDesigner Toolkit
Window Menu
Grid Menu
Appearance Window
Your Own GUI Programs
Modify Your GUI Windows
Fundamental Concepts
Window
Window Type
Window Function
Grid
Kid
Grid Type
GridFunction
Callback Function aka Code Function
GraphicsDesigner Messages
GuiDesigner Messages
Send Message
GraphicsDesigner vs GuiDesigner
GuiDesigner Programs
GuiDesigner Convenience Function Programs
GuiDesigner Programs
Basic Steps
Core GuiDesigner Program
PROLOG
Entry()
Entry() is your GUI program
The Nature of GUI Programs
Entry() - Initialization
Entry() - Create Windows
Entry() - Message Loop
InitGui()
InitProgram() and InitWindows()
CreateWindows()
Design()
DesignCode()
Interactive Window Design
Design Window
GridFunction
Layout Grids
Move and Resize Grids
No Overlap
Nesting Grids
Grid Appearance
Grid Behavior
Design Mode vs Test Mode
WindowToFunction
Quick Start
Callback Arguments
WindowFromFunction
Operating Grid Functions
To Code or Not To Code
Learning Curve
Instant Help
InstantHelp
Help On Everything
Posting InstantHelp
Browsing Programs
Solve the "Great Icon Problem"
Copy from the InstantHelp Window
Update Instant Help
Help Files
HelpFile Format
HelpString
:entryname
Default :entryname
Multiple HelpFiles
Set HelpFile
Messages
Messages
GraphicsDesigner Messages
Window Messages and Grid Messages
Window Messages
Grid Messages
Message Anatomy
window, grid, wingrid
message
v0,v1,v2,v3,r0,r1
kid
GraphicsDesigner Messages
Keyboard Messages
Keyboard Focus
xWin, yWin
state
time
Examples
WindowKeyUp vs WindowKeyDown
Virtual Key Codes
Mouse Messages
x,y
state
time
Mouse Message Algorithm
Message Queue
Process Message
XgrProcessMessages()
Message Loop
Process a Message
Window Function
Window Functions Process Window Messages
Window Functions Process Grid Messages
Grid Function
Send Message
XuiSendMessage()
Runtime Messages
Example
Callback Messages
Callback Functions
Monitor Messages
CEO Function
Slow Pokes
Advanced Message Processing
Anatomy of Grid Functions
Overview
Grid Functions and Callback Functions
Merged Grid Function
Grid Function Example
Function Declaration
Function Definition
Variable Declarations
Kid Constant Definitions
Initialize - Process Message - RETURN
Initialize
Process Message with Message Processing Function
Process Message with Message Processing Subroutine
Done
Callback Subroutine
Create Subroutine
CreateWindow Subroutine
GetSmallestSize Subroutine
Resize Subroutine
Selection Subroutine
Initialize Subroutine
Get Default Message Functions
Establish Message Functions
Establish Message Subroutines and Register Grid Type
Establish Grid Type Properties