Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSSearchField problem under 10.3



I developed a view with an NSSearchField in 10.4 that is having a strange problem running in 10.3. I have a menu created in interface builder, who's items are connected to methods of my view controller class. In 10.4, these menu items are active, in 10.3, they are disabled. Everything else works in my view except for this and I can find nothing in the documentation to explain the difference. If it matters, this is a Cocoa dialog I am calling from a MacApp based carbon app. We are using many different Cocoa views, and this is the only major problem we have run into (other than not being able to tie the dialogs to the menu bar, which is an annoyance we haven't solved yet either).

Another thing about our using NSSearchField, I've found that to update the checkmarks, I have to first update my menu, then call

[[searchField cell] setSearchMenuTemplate:menu];

to actually update the menu. This is despite the fact that we are not currently supporting recent searches. Is this the correct way to do this, or is it possible to check/uncheck the items in this menu directly.

Alan

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.