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 user switch notifications with a CFRunLoop



You can use the SystemConfiguration framework and setup a callback when the console user key changes. SysConfig might take some studying to figure out how it works.


On Mar 14, 2008, at 7:13 PM, Rick Mann wrote:

I ask this question here because I'm using CGEventTaps. They run in a CFRunLoop, so my little app uses a CFRunLoop. But it needs to be notified when users switch. I see the docs that talk about getting notifications via CarbonEvents and Cocoa, but I don't know how this applies to CFRunLoop. Can anyone enlighten me, or tell me where to look for answers?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartz-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartz-dev/email@hidden

This email sent to email@hidden
References: 
 >Getting user switch notifications with a CFRunLoop (From: Rick Mann <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.