2009/10/29 Gabriel Höhener <co...@weblooks.ch>: > How can I avoid that my program "hangs" when I programmatically simulate a > mouseclick on my app window?
Why are you simulating mouse clicks? This is usually an indication of a very poor design. > 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. Methinks you might want to brush up on the MVC pattern again. Don't manipulate the view in order to change your model. That's what the controller layer is for. --Kyle Sluder _______________________________________________ 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 arch...@mail-archive.com