Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting keyboard events while tracking a drag.



On Mon, 15 Jan 2007 11:47:11, Gerald Miller <email@hidden> wrote:

> I'd like to get keyboard events during a Drag Manager drag. On windows I can
> do this by setting a hook using ::SetWindowsEventHookEx, but there doesn't
> seem to be anything analogous on the Mac. Quartz event services Event Taps is
> similar, but doesn't provide access to Keyboard events unless cccess for
> assistive devices is enabled. Can an event handler be installed that recieves
> keyboard events during a drag? Alternatively, is there a way to inspect the
> event queue while tracking a drag to get key down events?
> 
> I need these keyboard events to implement a limited set of keyboard shortcuts
> during a drag.

There are probably other ways, but DragInputProc springs to mind first.

Mike


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden

References: 
 >Getting keyboard events while tracking a drag. (From: Gerald Miller <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.