Using Dialogs in a GLL

Although the GFA Editor Extensions are programmed using GFA-BASIC 32 statements and functions, they can not use windows, forms, ocxs and normal message processing commands like, for instance, Sleep. In fact, the editor extensions do not allow any of the usual GFA-BASIC window functions. There is one exception however. You can use the Dialog/EndDialog structure to create modeless dialog boxes as in GFA-BASIC 16 bit. These commands are implemented by invoking functions inside the IDE, not by compiling them to normal GFA-BASIC 32 application instructions. The modeless dialog box is therefore part of the IDE and its messages are retrieved in the IDE's main message loop.

Ownerless and modeless

The Dialog Statements

Creating controls

Other Window Commands

Message Handling using Gfa_CB

Example: Using a Dialog

Problem with menu events

Error Handling

{Created by Sjouke Hamstra; Last updated: 12/05/14 by James Gaite}