Emulating Carbon menu bevel button?

2009-05-24 Thread Jo Meder
Hi, I was wondering if anyone has emulated a Carbon menu bevel button in Cocoa? I find this to be a notable lack in Cocoa. I've tried using a NSPopUpButton but that's obviously not suited to the purpose. At this stage I'm thinking of custom drawing the button to have a smaller arrow in th

Re: Emulating Carbon menu bevel button?

2009-05-25 Thread Jo Meder
Hi, On 25/05/2009, at 7:15 PM, listsapple wrote: Don't know if supported in 10.4 but how about a popup button with attributes: Type: Pull Down Style: Square Thanks, but that's what I've tried already and found unsuitable. There are two main problems with it: - The arrow used by the Coc

Re: Emulating Carbon menu bevel button?

2009-05-25 Thread Kyle Sluder
On Mon, May 25, 2009 at 1:43 AM, Jo Meder wrote: > - The arrow used by the Cocoa control is really big and it doesn't seem like > it can be placed in the same way, for example bottom right, facing right. Shouldn't this be bottom-right, facing down as per the HIG? > - The control seems to want to

Re: Emulating Carbon menu bevel button?

2009-05-25 Thread Jo Meder
Hi Kyle, On 25/05/2009, at 8:52 PM, Kyle Sluder wrote: On Mon, May 25, 2009 at 1:43 AM, Jo Meder wrote: - The arrow used by the Cocoa control is really big and it doesn't seem like it can be placed in the same way, for example bottom right, facing right. Shouldn't this be bottom-right, f

Re: Emulating Carbon menu bevel button?

2009-05-25 Thread Kyle Sluder
On Mon, May 25, 2009 at 2:42 AM, Jo Meder wrote: > I can go with that, although it has been a choice to have the menu on the > right with the arrow bottom right facing right for a long time on Carbon. > It's been the option I've used most, but I'm happy to go the other way now > it seems to be the

Re: Emulating Carbon menu bevel button?

2009-05-25 Thread Jo Meder
Hi Kyle, On 26/05/2009, at 8:04 AM, Kyle Sluder wrote: That's what I'm doing, by emulating the Carbon control. I think this is a deficiency in Cocoa, I don't see how it's possible implement the bevel button with a popup menu as shown in the HIG, where the button represents the menu title a