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

CBWPARAM

Previous pageReturn to chapter overviewNext page

 

Description

 

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

 

In a Callback Function, return the numeric value of the wParam parameter of the message sent by the caller.

 

Syntax

 

lParam = CBWPARAM

alias

lParam = Callback_WParam

 

Returns

 

Number.

 

Remarks

 

When Windows sends a message to the callback, the wParam value contains different values depending on the value returned by CBMSG.

In other words, CBWPARAM returns a message-dependent value.

 

Restrictions

 

This function is only valid inside a Callback Function.

 

See also

 

Examples