Skip navigation.
 
mlNSComboBox and events
FROM : Christopher Skogen
DATE : Wed Apr 20 08:30:04 2005

hey all,

before my question, just wanted to say how much i've appreciated this
list. it's been indispensable as i've learned how to code in cocoa.
thanks to all of you. on to the question.

i have an audio app with a couple of NSComboBoxes in a dialog. The
audio portion of the app makes use of events posted to the app of type
NSApplicationDefined. If I click on an NSComboBox to drop the selection
list, the selection list will automatically close as soon as one of
these NSApplicationDefined events shows up. All the other controls in
the app work perfectly (menus, popup buttons, scrollbars, sliders). My
guess is that the NSComboBox is written a bit different than all the
others, and most likely is busting out of it's mouse capture when it
sees one of these custom events. I'm thinking about overriding the
NSComboBox and doing my own mouse capture for it.

does anyone have any experience with this problem? or a possible
solution?

thanks in advance,

chris

----------------------------------

chris skogen
gizmolabs, inc.
<email_removed>
(404) 630-7230

Related mailsAuthorDate
No related mails found.