Cocoa AppKit - Dismissing a modal window (i.e. popup or contextual menu) and pressing the button cu

Posted by hishamk on Stack Overflow See other posts from Stack Overflow or by hishamk
Published on 2010-03-22T19:18:18Z Indexed on 2010/03/22 19:21 UTC
Read the original article Hit count: 361

Filed under:
|
|
|
|

Basically I want to create the effect of that provided in the system's menu bar. A user presses on one of the menu headings, and as he moves across the different headings, the menus open up automatically.

The snag is that if I open a pop-up menu for a button, the user has to click again to dismiss it. The entire runloop is on hold as I believe the pop-up menu is modal. How do I go about being able to send a [somePopUpMenu cancelTracking] when the user moves to the next button?

Cheers

© Stack Overflow or respective owner

Related posts about cocoa

Related posts about appkit