Callback_Notify_Code / CBNMCODE

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > UI (User Interface) > DIALOGS > Callback Functions and Meta Functions >

Callback_Notify_Code / CBNMCODE

 

Description

 

Meta function automatically created by thinBasic engine and valid only inside Callback Functions.

 

This meta function is valid only inside a Callback Function,

If CBMSG = %WM_NOTIFY, this function returns the specific notification message describing the event which occurred.

 

Syntax

 

nmCode = CBNMCODE

alias

nmCode = Callback_Notify_Code

 

Returns

 

Number.

 

Remarks

 

For example, CBNMCODE returns %NM_SETFOCUS when the described control gains the focus.

For other values of CBMSG, the value returned is meaningless.

 

Restrictions

 

This function is only valid inside a Callback Function.

 

See also

 

Examples