Re: comboBoxSelectionDidChange not called

2013-12-30 Thread Scott Ribe
For future reference, this appears to have been fixed by: switching the base SDK to 10.7, building, switching it back to 10.6, and building. It seems highly unlikely that the few changes I made (all in unrelated code, getting rid of a few uses of QT graphics importers and 2 calls to NewGWorldPtr

Re: comboBoxSelectionDidChange not called

2013-12-30 Thread Scott Ribe
On Dec 26, 2013, at 12:13 AM, Jerry Krinock wrote: > > Scott, I’ve never used this comboBoxSelectionDidChange:, but since you’ve > mis-typed the method name twice now, I thought I should remind you that your > implementation won’t be invoked unless its name ends in a colon. Thanks, but I had

Re: Creating NSButton in Code does not set controlTint to currentControlTint

2013-12-30 Thread Peter Teeson
On 2013-12-28, at 5:03 PM, Peter Teeson wrote: > On 2013-12-28, at 11:43 AM, Kyle Sluder wrote: >> You can try out my ButtonTester tool to play with these flags in real >> time: > Wow you are definitely amazing. I had just started working on a project

Re: comboBoxSelectionDidChange not called

2013-12-30 Thread Scott Ribe
My earlier post was wrong; switching base SKD back and forth did not fix it. What fixes it is building on 10.8 instead of 10.9. (When testing the SDK switch, after rebooting into 10.8, I was running under the debugger, which resulted in it being re-built.) So I've done a batch of clean builds w

Re: comboBoxSelectionDidChange not called

2013-12-30 Thread Scott Ribe
On Dec 30, 2013, at 2:06 PM, Scott Ribe wrote: > Some things I suppose I should note: > > - Xcode 5.0.2 > - All software updates applied to all OSs. > - I am using the same copy of Xcode under both 10.8 & 10.9. > - I am not ignoring compiler warnings ;-) > - There is nothing logged at runtime in

Re: comboBoxSelectionDidChange not called

2013-12-30 Thread Quincey Morris
On Dec 30, 2013, at 13:06 , Scott Ribe wrote: > Does anyone have any further suggestion for me??? The release notes for 10.6 say this: > For apps linked on or after SnowLeopard, if a combo box is configured to send > action on enter only, then it will not send its action when a selection is >

Re: 'NSInvalidArgumentException', reason: 'Unable to parse constraint format: Expected a view

2013-12-30 Thread Donald Hall
Doh! I woke up this morning and realized that I had reversed the order of toolbar and topLayoutGuide when trying to sort out the original exception caused by the extraneous space character, and hadn't put them back. Now it works! Thanks again. Actually I had to change the space from 20px to 0px

NSView subclass does not seem to start

2013-12-30 Thread Alex Hall
Hello list, A few days ago I said I am working on an audio game, when I asked about code organization. I have taken the advice I was given and am simply trying to get things to work, keeping the major portions separated as much as I can but mostly just wanting the project to do what I want. For

Re: NSView subclass does not seem to start

2013-12-30 Thread Ken Thomases
Hi, On Dec 30, 2013, at 4:34 PM, Alex Hall wrote: > Anyway, the problem remains that I need to capture keystrokes (and eventually > mouse movements) in a subclass of NSView, but nothing seems to happen. In order for a view to receive key events, it must be the first responder. Typically, you

Re: NSView subclass does not seem to start

2013-12-30 Thread Alex Hall
On Dec 30, 2013, at 6:05 PM, Ken Thomases wrote: > Hi, > > On Dec 30, 2013, at 4:34 PM, Alex Hall wrote: > >> Anyway, the problem remains that I need to capture keystrokes (and >> eventually mouse movements) in a subclass of NSView, but nothing seems to >> happen. > > In order for a view to

Re: NSView subclass does not seem to start

2013-12-30 Thread Andy Lee
On Dec 30, 2013, at 5:34 PM, Alex Hall wrote: > Anyway, the problem remains that I need to capture keystrokes (and eventually > mouse movements) in a subclass of NSView, but nothing seems to happen. Since > this is an audio game, there is no need for any UI controls to be drawn - I > need only