HIding Console

Discuss PocketC for CE (including Desktop Edition)

Postby psychic_treason on Thu Feb 01, 2001 12:58 pm

<font face=Arial></font id=Arial><font size=2></font id=size2>Hi, I'm new to PocketC and I am quite enjoying the learning process at the moment, however I have a question on the console, hopefully someone can answer.

Is it possible to turn the console off or hide it again after a showconsole() statement?
Posts: 12
Joined: Thu Feb 01, 2001 12:52 pm
Location: United Kingdom

Postby Justinespinosa on Thu Feb 01, 2001 3:47 pm

You Must use wndshow(0,0). because of the strange use of ID for the gui controls in PocketC instead of the window handle.
You can resize and move the console with wndmove(0, int x,int y, int w,int h).

If you're using the menu bar, the menu hide console will not turn back to hide console, if you use wndshow to hide the console. But there is no built in function.


OUTS Softwares

OUTS Softwares
Posts: 156
Joined: Wed Dec 06, 2000 2:30 pm
Location: Switzerland

Return to PocketC for CE

Who is online

Users browsing this forum: No registered users and 3 guests