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: btnState?



Eric Schlegel wrote:

>Are you referring to an InterfaceLib-based app running in Classic here,
>or a native Carbon-based application?

Native Carbon.

>For Carbon apps, right clicks are reported as control-clicks via
>WaitNextEvent.

Hmmm... strange, I really see 128 coming in as the modifiers. Could it be
the Logitech driver messing things up?

>You can also detect a right click using a Carbon event
>handler (this is the preferred method).

My application is a plug-in, I don't think I have control over that, or
do I? I'm now using:

EventRecord evt;

EventAvail( everyEvent, &evt );

To determine the modifiers (which are not passed to me by the host app at
the time the mouse is actually clicked).

W!d
_______________________________________________
hit-developers mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/hit-developers
Do not post admin requests to the list. They will be ignored.



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.