PowerBASIC macros

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.

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.