Hello experts!

A part of my program consists of a window wherein there are some buttons and a 
MenuBar with some Items.

I have to overload the draw-methode of all my widgets, so that I can use images 
to draw these widgets.
My problem now is, that I can`t use the fltk::belowmouse()-methode inside the 
draw-methode of the Items which are part of a MenuBar. The methode returns a 
pointer to the window, not to the Item which is below the mouse ...
Inside the draw-methode of the buttons I can use this methode! The returned 
pointer is correct.

Is this a normal behavior, or did I sth wrong?

Till now I checked whether the fltk::HIGHLIGHT flag is false or true, to verify 
whether the Item is below the mouse or not, but I had to notice now that this 
flag isn`t correct at any time, too ...

I hope you can help me!
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to