• 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
Re: Accessibility API - moving and resizing windows (in one API call)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Accessibility API - moving and resizing windows (in one API call)
      • From: John Clayton <email@hidden>
References: 
 >Accessibility API - moving and resizing windows (in one API call) (From: John Clayton <email@hidden>)

  • Prev by Date: Re: leaking memory in Core Data
  • Next by Date: Re: NSCell copyWithZone producing EXC_BAD_ACCESS
  • Previous by thread: Accessibility API - moving and resizing windows (in one API call)
  • Next by thread: Re: Accessibility API - moving and resizing windows (in one API call)
  • Index(es):
    • Date
    • Thread