Weird menu behaviour when close to canvas

BlitzMax Forums/BlitzMax GUI Programming/Weird menu behaviour when close to canvas

Hi,

I've got a menu just on top of my canvas and when i popup this one and switch from one to another, the "ghost" of the first selected menu stay inside the canvas just like if there were not redraw for it. I've try to redraw this gadget and flip the graphic canvas everywhere i can but this problem persist.

This only happen on the first chosen menu, all the others correctly disapear from the canvas without leaving any traces.

It's not really annoying but quite disturbing.
Where is the problem ?

thanks ;)

No problem ?

No code?

You need to use hooks. Read this tutorial
http://www.blitzbasic.com/Community/posts.php?topic=54579
especially the part about event hooks.

Thanks :) Work like a charm !
I didn't knew about Hooks event sorry :)