Navigation:  thinBasic Modules > UI (User Interface) > Events > Events in Callback Function >

CBNMCODE

Previous pageReturn to chapter overviewNext page

 

Description

 

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

 

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