Hey Guys,

Iam new to Gamestudio and I try to make the Workshop tutorials,
but now I got a first Problem with Workshop06:

Quote:


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

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

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

function quit_program()
{
while (key_any) {wait (1);}
sys_exit(NULL);
}

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

PANEL* main_pan =
{
bmap = "main.pcx";
pos_x = 250;
pos_y = 200;
button (250, 134, "quitclicked.pcx", "quitnormal.pcx", "quitover.pcx", quit_program, NULL, NULL);
flags = VISIBLE | OVERLAY;
}



When I run the code due test whats going on there it works, but the button is not working, not on hover and not onclick, can anyone tell me whats wrong there?

thanks

zemog