objective c - NSMenu canelTracking is not working on Mac OSx 10.5 -


To show a list of items, I am using NSSMNO inside NSCMOB. When I select an option in the NSComboBox menu, it should be dismissed.

I am canceling to dismiss NSMENU for TrekkingWitut animation, 10.6 and above and it works fine. In case of 10.5, I am using the cancellation but it is not rejecting the NSMNU.

I have a carbon API CancelMenuTracking () , menuRef = _NSGetCarbonMenu (

Cancel menu code (root menu in the menufr, boolean in immiatio, UInt32 inDismissalReason)

NSMenu menuref To get the _NSGetCarbonMenu.10.5 and CancelMenuTracking (menuRef, YES, 0) for 10.6 and greater

Cancel menuctacking (Manoruf, yes, KHIMenuDismissedByCancelMenuTracking);

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -