Weird menu behaviour when close to canvas

BlitzMax Forums/MaxGUI Module/Weird menu behaviour when close to canvas

Armitage 1982(Posted 2006) [#1]
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 ;)


Armitage 1982(Posted 2006) [#2]
No problem ?


tonyg(Posted 2006) [#3]
No code?


TomToad(Posted 2006) [#4]
You need to use hooks. Read this tutorial
http://www.blitzbasic.com/Community/posts.php?topic=54579
especially the part about event hooks.


Armitage 1982(Posted 2006) [#5]
Thanks :) Work like a charm !
I didn't knew about Hooks event sorry :)