Re: GetDblTime, 64-bit, and cocoa

2008-08-05 Thread Sean McBride
On 8/5/08 2:00 PM, Gary L. Wade said:

>Well, the global domain has this key:
>
>com.apple.mouse.doubleClickThreshold

Good find.  Alas, the only hits on Apple's website are posts on this
list, which pretty much makes it an undocumented API; as opposed to
GetDblTime() which was a supported API.  Still, for 64 bit, I guess it's
the only choice.

--

Sean McBride, B. Eng [EMAIL PROTECTED]
Rogue Researchwww.rogue-research.com
Mac Software Developer  Montréal, Québec, Canada


___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: GetDblTime, 64-bit, and cocoa

2008-08-05 Thread Gary L. Wade
Well, the global domain has this key:

com.apple.mouse.doubleClickThreshold

>On 7/22/08 11:48 AM, [EMAIL PROTECTED] said:
>
>>i need to set a timer when i get a first mouse click and perform
>>something if i don't get another click within the double click time.
>>i found this old thread (from 2003) in the archives:
>>http://www.cocoabuilder.com/archive/message/cocoa/2003/10/22/90328
>>from that thread, it would appear that the best solution may be to
>>use GetDblTime. but this is a 32-bit only solution. is there a
>>documented (cocoa) way to do this that may be future/64-bit safe?
>
>Since no one else has replied, I'll just say that I searched around and
>have come to the same conclusion as you.  It looks like it was
>deprecated without any replacement being added.  You should definitely
>file a bug.
>
>--
>
>Sean McBride, B. Eng [EMAIL PROTECTED]
>Rogue Researchwww.rogue-research.com
>Mac Software Developer  Montréal, Québec, Canada
>
>
___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: GetDblTime, 64-bit, and cocoa

2008-08-05 Thread Sean McBride
On 7/22/08 11:48 AM, [EMAIL PROTECTED] said:

>i need to set a timer when i get a first mouse click and perform
>something if i don't get another click within the double click time.
>i found this old thread (from 2003) in the archives:
>http://www.cocoabuilder.com/archive/message/cocoa/2003/10/22/90328
>from that thread, it would appear that the best solution may be to
>use GetDblTime. but this is a 32-bit only solution. is there a
>documented (cocoa) way to do this that may be future/64-bit safe?

Since no one else has replied, I'll just say that I searched around and
have come to the same conclusion as you.  It looks like it was
deprecated without any replacement being added.  You should definitely
file a bug.

--

Sean McBride, B. Eng [EMAIL PROTECTED]
Rogue Researchwww.rogue-research.com
Mac Software Developer  Montréal, Québec, Canada


___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


GetDblTime, 64-bit, and cocoa

2008-07-22 Thread [EMAIL PROTECTED]
i need to set a timer when i get a first mouse click and perform 
something if i don't get another click within the double click time. 
i found this old thread (from 2003) in the archives:

http://www.cocoabuilder.com/archive/message/cocoa/2003/10/22/90328
from that thread, it would appear that the best solution may be to 
use GetDblTime. but this is a 32-bit only solution. is there a 
documented (cocoa) way to do this that may be future/64-bit safe?


thanx,
ken
___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]