ok, heres what ive come up with.


PANEL* nxthi_panel =
{
bmap = nxt_hi.bmp;
pos_x = 275;
pos_y = 170;
layer = 3;
flags = OVERLAY | VISIBLE;
}

PANEL* button_panel =
{
pos_x = 340;
pos_y = 165;
layer = 3;
button(0, 0, "nxtorange.bmp", "nxtorange.bmp", "nxtorange.bmp", turn_on, NULL, NULL);
flags = OVERLAY | VISIBLE;


function turn_on()
{
set(nxthi_panel, SHOW);
}



when i include the "turn_on" function in the button line of code, my bitmap comes up at program start. And when i dont include it the button doesnt pull anything up. I want it to work like this: When i press the button (nxtorange) I want the bitmap to come up (nxt_hi.bmp) Thanks again!


Sorry, im new. I have a tendency to ask really simple questions, so please be patient.