Hey. This is quite a strange issue I have, here. I beleive that I have written the code as it needs to be written, and it loads fine so I know I've saved it as a .c file.
But buttons do nothing when I mouse over them or click them, but everything else works fine? I know I haven't set any functions to them; but they don't change at all when I mouse over or click the buttons. Even though they are different images?

Here is my code:

Code:
#include <acknex.h>
#include <default.c>
///////////////////////Functions
function main()
{
	video_screen = 1;
}

//// Panels ///////

PANEL * background =
{
	bmap = "bg_panel.bmp";
	layer = 1;
	flags = VISIBLE;
}

PANEL * buttontray = 
{
	bmap = "tray.bmp";
	layer = 2;
	flags = VISIBLE;
	button = 40, 20, "button3.tga", "button1.tga", "button2.tga", NULL, NULL, NULL;
}


Please help me solve this issue. smile

Last edited by Max_Prower; 02/11/09 20:50.