Why you define 3 Panels? Try with my code, and if it is working, replace step by step my bitmaps with yours and then the code also.
Code:
#include <acknex.h>
#include <default.c>

PANEL* gpsfasetup_pan;
FONT* font_16 = "Arial#16"; 

BMAP* gpsfasetup_bmp = "#200x100x32";
BMAP* quitprogrambutt_bmp = "#30x30x32";
BMAP* runanalysisbutt_bmp = "#30x30x32";

void quitprogram()
{
	pan_setdigits (gpsfasetup_pan,1,0,0,"BUTTON 1 WAS PRESSED",font_16,1,result);
}

void runanalysis()
{
	pan_setdigits (gpsfasetup_pan,1,0,0,"BUTTON 2 WAS PRESSED",font_16,1,result);
}

void main()
{
	video_mode = 6;
	level_load (NULL);
	
	wait(1);
	
	bmap_fill (gpsfasetup_bmp,vector(150,150,150),100);
	bmap_fill (quitprogrambutt_bmp,vector(0,0,255),50);
	bmap_fill (runanalysisbutt_bmp,vector(255,0,0),50);
	
	mouse_mode = 4;
}

PANEL* gpsfasetup_pan =
{
	pos_x = 10;
	pos_y = 10;
	layer = 1;
	bmap = gpsfasetup_bmp;
	flags = SHOW;
	
	button(10,30,quitprogrambutt_bmp,quitprogrambutt_bmp,quitprogrambutt_bmp,quitprogram,NULL,NULL);
	button(100,30,runanalysisbutt_bmp,runanalysisbutt_bmp,runanalysisbutt_bmp,runanalysis,NULL,NULL;
	
	digits (0,0,"NO BUTTON PRESSED",font_16,1,0);  
}



Last edited by Widi; 04/05/12 06:59.