Re: XCode style toolbar buttons
Re: XCode style toolbar buttons
- Subject: Re: XCode style toolbar buttons
- From: Ondra Cada <email@hidden>
- Date: Sat, 22 May 2004 23:57:45 +0200
Moray,
On 22.5.2004, at 22:22, Moray Taylor wrote:
>
...telling the difference between a click, and a click-hold which I
>
don't get, any tips?
The principle is, at mouseDown you start a timer, at mouseUp you cancel
the timer and perform the action, at timer fire you show the menu
(which as a sideeeffect would cancel the action, of course).
At the moment I am not sure how much of this funtionality you find in
Cocoa for free and what part you have to implement yourself.
---
Ondra Hada
OCSoftware: email@hidden
http://www.ocs.cz
private email@hidden
http://www.ocs.cz/oc
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.