BCX_PRINT function
Purpose: The BCX_PRINT function writes at the specified X%(horizontal) Y%(vertical) location, a text string. The currently selected font, background color, and text color are used.
Syntax: RetVal% = BCX_PRINT(hWnd, _ Xpos%, _ Ypos%, _ Text$ _ [, DrawHDC]) Parameters:
|
Example:
GUI "BCX_PRINT" SUB FORMLOAD GLOBAL Form1 AS HWND Form1 = BCX_FORM("BCX_PRINT", 0, 0, 90, 25) BCX_SET_FORM_COLOR(Form1,RGB(255,255,255)) CENTER(Form1) SHOW(Form1) END SUB BEGIN EVENTS SELECT CASE CBMSG CASE WM_PAINT BCX_PRINT(Form1, 10, 10, "Hello World from BCX!") END SELECT END EVENTS