• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Runloop hangs/stops when clicking programmatically on GUI
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Runloop hangs/stops when clicking programmatically on GUI


  • Subject: Runloop hangs/stops when clicking programmatically on GUI
  • From: Gabriel Höhener <email@hidden>
  • Date: Thu, 29 Oct 2009 15:55:22 +0100

Hello together

How can I avoid that my program "hangs" when I programmatically simulate a mouseclick on my app window?
If I simulate a click on the desktop or any other app or app component, everything works fine, but if I click programmatically
on a let's say a button or a slider, the GUI tries to update itself and the program hangs and I cannot simulate any other
mouseclick.


Why does this happen? Is it because CGEventPost(kCGHIDEventTap, myEvent) works synchronously?

Thanks for any help

Gabe
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Runloop hangs/stops when clicking programmatically on GUI
      • From: Kyle Sluder <email@hidden>
  • Prev by Date: Re: Showing activity indicator during data download
  • Next by Date: Re: Showing activity indicator during data download
  • Previous by thread: Re: Seemingly Documentation confusion?
  • Next by thread: Re: Runloop hangs/stops when clicking programmatically on GUI
  • Index(es):
    • Date
    • Thread