Benches Uncategorized

1

NSComboBox popup getting dismissed on NSApp postEvent

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

is there a way to disable NSComboBox popup getting dismissed when an sendEvent is processing an application defined message sent via a NSApp postEvent?

thank you for any assistance you can provide.

1 reply

Sign in or join Beachball Help to reply.

  1. 0

    musikit

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    apparently this is cause in what i believe is a bug in NSComboBox. NSComboBox starts its own event processing loop and when you use NSApplicationDefined events it closes the NSComboBox. only thing you can do is build into your architecture that events that use NSApplicationDefined are not sent while a NSComboBox is open.