ccOpenConsole

Syntax

Uint64 = ccOPENCONSOLE(OPT Title=NULL:String,OPT x=0:Uint,OPT y=0:Uint,OPT nWidth=800:Uint,OPT nHeight=600:Uint,OPT Colour = 0xA:Word,OPT dwSize=80:Uint,OPT bVisible=TRUE:Uint)

Description

Opens a Console with extended parameters.

Parameters

Title - The 'Title' of the Console (By omiting it's get the start path as 'Title'. For No 'Title' put a space in it!"
x,y - The Origo of the console (Left Upper corner)
nWidth - The Width of the console in pix. [The Console has a fix size of 80 Chars width so higher #s as 662 will be rounded down]
The command not changing the puffer only the window size!
nHeight - The Hight of the console in pix.
Color - The combination of the F/B Colors and Intensities

FOREGROUND_BLUE = 0x1:'text color contains blue'
FOREGROUND_GREEN =0x2:'text color contains green'
FOREGROUND_RED =0x4:'text color contains red'
FOREGROUND_INTENSITY =0x8:'text color is intensified'
BACKGROUND_BLUE =0x10:'background color contains blue'
BACKGROUND_GREEN =0x20:'background color contains green'
BACKGROUND_RED =0x40:'background color contains red'
BACKGROUND_INTENSITY =0x80:'background color is intensified'

dwSize - The Size of the cursor (1-100)
bVisible - The Visibelity of the cursor.(Boolean)

Return value

Uint64
High32 = Handle to the Window contains the console.
Low32 = Handle to the Console puffer.

Remarks

You can call ccOPENCONSOLE() several times with different parameters without issuing a CLOSECONSOLE.

Example usage

ccOPENCONSOLE

See ccOPENCONSOLE_Demo.eba