Powerbasic Macros

BCX PowerBasic compatible macros


 CBCTL    - Equates to "LOWORD(wParam)"

 CBCTLMSG - Equates to "HIWORD(wParam)"

 CBHNDL   - Equates to "hWnd"   'Handle to the window.

 CBHWND   - Equates to "hWnd"   'Handle to 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 of the new GUI keywords.

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