Hi guys. I am newbie in lite-c and 3GS. I want to build an application in which a image to appear if pressing , let's say "S" and hide if pressing, "H".

I imagine is a function which handles this. Which is the function that show/hide a panel?

Thanks a lot!

---------------------------------

Bellow you may find the code from lite-c tutorials.



#include <acknex.h>
#include <default.c>

////////////////////////////////////////////////////////////////////

BMAP* first_pcx = "first.pcx"; // my first bmap

PANEL* first_pan = // my first panel
{
pos_x = 0;
pos_y = 0;
layer = 1;
bmap = first_pcx;
flags = OVERLAY | VISIBLE;
}

/////////////////////////////////////////////////////////////////////

function main()
{
video_mode = 7;
screen_color.blue = 150;
}