Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Console Window

by syphilis (Archbishop)
on Jul 30, 2008 at 00:05 UTC ( [id://700955]=note: print w/replies, xml ) Need Help??


in reply to Console Window

use warnings; use Win32::Console; $console = Win32::Console->new(); $console->Alloc(); die "Can't Alloc()" if !$console; $console->Size(500, 180, 300); $console->Write('abcdef' x 80); $console->Display(); sleep 5; # After 5 seconds program stops, console vanishes
What does the 3rd argument to Size() do ? I couldn't find any documentation for it.

Cheers,
Rob

Replies are listed 'Best First'.
Re^2: Console Window
by massa (Hermit) on Jul 30, 2008 at 00:13 UTC
    IIRC the number of lines of the scroll buffer, but I can very well be completely wrong.
    []s, HTH, Massa (κς,πμ,πλ)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://700955]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2024-04-24 20:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found