PowerBASIC compatible BCX macros
CBCTL    - Equates to "LOWORD(wParam)"

CBCTLMSG - Equates to "HIWORD(wParam)"

CBHNDL   - Equates to hWnd     'handle of the window.

CBHWND   - Equates to hWnd     'handle of the window.

CBWPARAM - Equates to "wParam" 'Specifies additional message information.

CBLPARAM - Equates to "lParam" 'Specifies additional message information.

CBMSG    - Equates to "Msg"    'Specifies the message.

CBNMCODE - Equates to "((LPNMHDR)lParam)->code"     'returns the notification message describing the event.

CBNMHWND - Equates to "((LPNMHDR)lParam)->hwndFrom" 'returns the handle of the control that sent the message.

CBNMID   - Equates to "((LPNMHDR)lParam)->idFrom"   'returns the control's ID number assigned at its creation.

These are used in functions that use the CALLBACK FUNCTION statement or within the BEGIN EVENTS section of a GUI.

See TinyTimes.bas for a BCX Sample Program using PowerBasic Macros.