OK, i see. Try this instead.

Heres the code, or DL a working sample project with bmaps HERE (up/down arrows change the time)

Code:
var my_time = 0;		//0.00 to 24.00

BMAP* clock_face = "#256x256x24"; 
PANEL* my_clock = 
{
	needle(64,128, "clock.bmp", 128,128,0,0,24, my_time);
	flags = SHOW;
}
void my_clock_startup()   {  my_clock.target_map = clock_face;  }



PANEL* my_panel = 
{
	pos_x = 10;	pos_y = 10;
	bmap = "clock_back.bmp";
	size_x = 192;	size_y= 192;
	window(25,25,128,128,clock_face,0,0);
	digits(25,155,"Time = %5.2f","arial#18b",1,my_time);
	flags = SHOW;
}


Any questions, fire away...


"There is no fate but what WE make." - CEO Cyberdyne Systems Corp.
A8.30.5 Commercial