WCon_Window

<< 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.
Use %WCon_CENTER to place Hor centered in screen

Y

Number

No

Y  top in pixels.
Use %WCon_MIDDLE to place Vert centered in screen

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)