Re: Accessibility API - moving and resizing windows (in one API call)
Re: Accessibility API - moving and resizing windows (in one API call)
- Subject: Re: Accessibility API - moving and resizing windows (in one API call)
- From: Manfred Schwind <email@hidden>
- Date: Mon, 12 Nov 2007 14:55:48 +0100
I'd love to somehow say something like this:
* window server: do all the following stuff in one atomic op /
begin transaction *
AXCALL_LOG( AXUIElementSetAttributeValue(_topLevelUIElement,
kAXPositionAttribute, newLocRef) );
AXCALL_LOG( AXUIElementSetAttributeValue(_topLevelUIElement,
kAXSizeAttribute, newSizeRef) );
* window server: end of stuff that I want done in one
transaction / go do it now *
You could try to use NSDisableScreenUpdates() and
NSEnableScreenUpdates(). I am not sure if this works in your case,
because it's documented to disable screen updates for all windows
belonging to the calling process, but as far as I understand you're
trying to control the windows of other processes. But it may be worth
a try.
Regards,
Mani
--
http://www.mani.de
iVolume - Loudness adjustment for iTunes.
LittleSecrets - The encrypted notepad.
_______________________________________________
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