<< Click to Display Table of Contents >> Navigation: ThinBASIC Modules > WCon > WCon_Window |
Description
Creates WCon window, which will use font previously set by WCon_SetFont
Syntax
hWnd = WCon_Window(title, x, y [, columns, [rows, [pageCount]]])
Returns
DWord - Window handle
Parameters
Name |
Type |
Optional |
Meaning |
Title |
String |
No |
Title of the window. It can be changed later using WCon_Title = ... |
X |
Number |
No |
X left in pixels. |
Y |
Number |
No |
Y top in pixels. |
Columns |
Number |
Yes |
Number of columns char (default 80) |
Rows |
Number |
Yes |
Number of rows char (default 25) |
pageCount |
Number |
Yes |
Number of logical pages (default 8) |
Remarks
Restrictions
Only one WCon window per script can be used
See also
Examples
DWord hWin = WCon_Window("Initial title", %WCon_CENTER, %WCon_MIDDLE)