Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Widgets - General questions or Mixed problems » MenuBar::Execute isn't modal?
MenuBar::Execute isn't modal? [message #23355] Tue, 13 October 2009 16:29 Go to previous message
Mindtraveller is currently offline  Mindtraveller
Messages: 917
Registered: August 2007
Location: Russia, Moscow rgn.
Experienced Contributor

TheIDE help says MenuBar::Execute function starts modal context menu. But when it does, mouse messages are still sent to control in the background.
In my case it is not very convenient because this control changes it's internal state on mouse movement. And when user clicks context menu item, control is in the different state than it was when menu was actually generated and shown.
My questions: is this behaviour ok and how to make really modal context menu?

P.S. May be there is a MenuBar event on menu closing? This would help, but I failed to find one.

P.P.S. Please move this topic to Menu forum branch. Thanks in forward.

[Updated on: Tue, 13 October 2009 21:22]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: DropList + AddSeparator + mouse wheel problem
Next Topic: Sending an email from Upp application
Goto Forum:
  


Current Time: Sat Apr 27 23:03:00 CEST 2024

Total time taken to generate the page: 0.03119 seconds