Callback_Notify_Address / CBNMHDR

<< Click to Display Table of Contents >>

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

Callback_Notify_Address / CBNMHDR

 

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 address (a pointer) to the NMHDR UDT for this notification message.

 

Syntax

 

nmHDR = CBNMHDR

alias

nmHDR = Callback_Notify_Address

 

Returns

 

Number.

 

Remarks

 

Some notification messages like %NM_CHAR, %NM_CLICK, etc. require an extended version of the NM structure. However, all NM structures begin with an NMHDR UDT, so the pointer returned here is always accurate.  For other values of CBMSG, the pointer returned by CBNMHDR is meaningless.

 

Restrictions

 

This function is only valid inside a Callback Function.

 

See also

 

Examples