Re: Pull-down menu weirdness
Re: Pull-down menu weirdness
- Subject: Re: Pull-down menu weirdness
- From: Matt Neuburg <email@hidden>
- Date: Sun, 16 Jul 2006 09:22:12 -0700
- Thread-topic: Pull-down menu weirdness
On Sat, 15 Jul 2006 02:24:19 -0700 (PDT), Keith Blount
<email@hidden> said:
>Hello,
>
>I am currently implementing an action pull-down menu
>like the one at the bottom of the mailboxes in
>Mail.app. I expected this to be very trivial, but it
>is not. I had to subclass NSPopUpButtonCell and
>NSPopUpButton to call through to an NSButtonCell to do
>all the drawing, and now that is all looking good.
>
>However, the problem I now have has nothing to do with
>the subclass, as it occurs in normal NSPopUpButtons.
>My pop up button is set to be a pull down menu. By
>default, pull-down menus use the first item in the
>menu for the title. How do I prevent this behaviour?
Disinguish between a pop-up list and a pull-down list.
<http://developer.apple.com/documentation/Cocoa/Conceptual/MenuList/Concepts
/HowPullDownListsWork.html>
m.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden