canvas creating events?

BlitzMax Forums/MaxGUI Module/canvas creating events?

PantsOn(Posted 2007) [#1]
Hi

How do you turn off the canvas gadget creating events when your mouse is over it?
(When I hover my mouse over a canvasgadget the CPU goes to 100%)


CS_TBL(Posted 2007) [#2]
100% ?? Weren't events made to unload the CPU? :P In fact, you should only get one event (EVENT_MOUSEMOVE), how can that be 100%?

Anyway, dunno, I assume you've tested the obvious already, like DisableGadget?


PantsOn(Posted 2007) [#3]
how embarrassing.. i hadn't tried disablegagdet.
For some reason i thought this wouldn't work, but it has.
Cheers.

PS it went to 100% as the mouse over creates a redrawcanvas event, and that then calls all the drawing functions.