DIALOGS

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > UI (User Interface) >

DIALOGS

 

This section documents approaches you can take to create and handle dialog windows for your thinBasic scripts.

 

There are interfaces provided for both seasoned programmers with low level Win32 experience and for those, who prefer more high level approach.

 

The high level approach

 

You can design your dialog via Resource Editor available in ThinAir Tools. You can then reference your dialogs and controls via pseudo-objects and take advantage of automatic dialog and control events to design your program.

 

The low level approach

 

You can design your dialog via approach more close to classic Win32 approach. You can then reference your dialogs and control by handles and control ids, and handle your events via callback function, having all that WPARAM and LPARAM magic at your disposal.

 

This path is recommended for those, who need to maintain absolute control, it requires own study of Win32 principles.

 

Mix and match

 

Of course, you can combine both approaches to design your program. Choosing one path does not lock you out of the options the other path allows.