> If it appears away from the
> mouse position, the bar disappears immediately after it is shown.

Yes, you are right.  I have in mind that no autohide is set for a
menu-bar, like real menus behave.

> If the user chooses a menu item, not a bar item,
> the bar will remain visible.

Yes, this might be a problematic.

Real menus always dissapears after mouse click regardless of click is
done on menu itself (executing) or outside it (canceling) - there is
only one exception, clicking on disabled item: this not closes menus.
So I have two quick (theoretical) ideas for solving this:
1. creating event right after RMB click on destroying context menu
window (most have #23768 class) which executes hiding of all remaining
menu-bar(s).
2. creating temporary mousetrap entry (mousetrap.addentry) on mouse
up, which hides all menu-bars.

I'm not sure if this works, but I think so.
What do you think about it?


Attention: PowerPro's Web site has moved: http://www.ppro.org 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/power-pro/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to