Re: Change a NSMenu's shape?
Re: Change a NSMenu's shape?
- Subject: Re: Change a NSMenu's shape?
- From: Pleasant Software for the People <email@hidden>
- Date: Tue, 13 Nov 2007 16:49:36 +0100
1) Is there a way to make a popup menu (popped by [NSMenu
popUpContextMenu:...] or any other method) look like a Dock menu?
2) and if yes, I need to position the menu's triangle point very
precisely, too...
MAAttachedWindow by Matt Gemmell (http://mattgemmell.com/source) may
be a solution for your problem (or at least a starting point).
It's a NSWindow subclass which should be easy to customize for your
needs.
Cheers
Eberhard
--
Eberhard Rensch
Pleasant Software
Offenburg, Germany
email: email@hidden
http://www.pleasantsoftware.com
Am 13.11.2007 um 16:30 schrieb David Alger:
On Nov 12, 2007, at 9:42 PM, John Stiles wrote:
In fact, even the Dock can no longer display that appearance.
Why do you say that? Control-click any application in the Dock and
you get a popup menu with a little triangle pointing back towards
the application you clicked on.
David
On Nov 12, 2007, at 7:19 PM, Peter Ammon wrote:
On Nov 12, 2007, at 5:06 PM, Rainer Brockerhoff wrote:
At 14:21 -0800 12/11/2007, email@hidden wrote:
From: "Ken Ferry" <email@hidden>
References: <email@hidden>
In-Reply-To: <email@hidden>
Date: Mon, 12 Nov 2007 12:50:35 -0800
Message-ID: <email@hidden
>
No, I don't think there's a way to make a pop up button's menu
look
like a status item's menu.
Can't hurt to ask then:
1) Is there a way to make a popup menu (popped by [NSMenu
popUpContextMenu:...] or any other method) look like a Dock menu?
2) and if yes, I need to position the menu's triangle point very
precisely, too...
No, there is no way to get a Dock-menu appearance.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
********************
Ron Paul for President 2008
http://ronpaul2008.com/
RESTORE THE REPUBLIC & RETAIN YOUR RIGHTS
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden