Navigation:  thinBasic language > Script structure >

Callback Functions

Previous pageReturn to chapter overviewNext page

 

Callback Functions

 

Callback Functions are a function automatically called by Windows when an event occurs. Examples of window events are: button pressed, mouse moved, window resized, text typed, system events, ... there are hundred of events a callback function can trap.

 

thinBasic supports two kind of callback functions: Dialog Callback functions and Controls Callback functions.

 

Dialog Callback Function

 

A Dialog Callback is a function that is called when an event occurs into a particular window.

 

Control Callback Function

 

A Control Callback is a function that is called when a %WM_COMMAND or %WM_NOTIFY event is generated for a particular control.

 

 

 

© 2004-2008 thinBasic. All rights reserved. Version 1.7.0.0 Web Site: http://www.thinbasic.com