Posted By: Reconnoiter
mouse_mode = 4 not working with buttons - 07/19/14 15:11
Hi, sry for spamming the boards again 
but why does this make buttons not respond anymore to the mouse cursor (functions as well as changing 'over' and 'on' bmaps does not work anymore)?
button code:
but why does this make buttons not respond anymore to the mouse cursor (functions as well as changing 'over' and 'on' bmaps does not work anymore)?
Code:
video_set(sys_metrics(0),sys_metrics(1),0,1); //first to fullscreen otherwise window size is not changed video_set(0,0,0,2); video_window(0,0,4 | 16 | 32 | 64 | 128,"Game"); mouse_mode = 4;
button code:
Code:
PANEL* windowedmode_pan =
{
layer = 20;
// size_x = 24;
// size_y = 24;
button = 0,0,interface_cross_on_bmp,interface_cross_bmp,interface_cross_over_bmp,b_toggle_windowedmode,null,null;
digits(-160,0,"Toggle fullscreen mode","Calibri#20",0,0);
flags = SHOW | OUTLINE;
}