Re: How to build a popup menu and show this menu?
Re: How to build a popup menu and show this menu?
- Subject: Re: How to build a popup menu and show this menu?
- From: j o a r <email@hidden>
- Date: Thu, 23 Feb 2006 08:21:32 +0100
On 23 feb 2006, at 08.01, wlq wrote:
I means that I want show a popup menu when my window receive
right mouse down message.
OK, so far so good.
In fact, the popup menu I want to show is not a true popup menu.
This "menu" is more like a pallete bar.
Is there some way to implement this bar?
Well, menus are a sort of "palette bar" that you can pop open on
mouse events. That's the supported functionality provided for by the
frameworks.
If you want to have some other behaviour, you're of course able to
implement this by catching mouse events and opening / closing your
palette window at the appropriate time.
Note that it's easy to underestimate the effort required to implement
custom controls in a way that they end up with a "look and feel" that
matches the standard controls of Mac OS X, and the expectations of
Mac users. I'm not saying this to discourage you, Apple creates new
custom controls all the time, but you need to be prepared to spend
time on getting their appearance and behaviour right if you want your
app to be appreciated by your users.
j o a r
Btw. Why do I get multiple copies of your messages? Problems with the
list server?
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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