• 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: applications list on Multi monitor
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: applications list on Multi monitor


  • Subject: Re: applications list on Multi monitor
  • From: David Duncan <email@hidden>
  • Date: Mon, 9 Jun 2008 13:08:41 -0700

On Jun 8, 2008, at 10:34 PM, Apparao Mulpuri wrote:

 In my Multi monitor application, i have to list out application
names with respect to each monitor.

Ex: Lets say Monitor 1(Primary monitor) having iTunes, AddressBook,
Calculator and TextEdit(Multi Doc) application windows and Monitor2
having TextEdit and Mail application windows.

For Monitor1, i have to get iTunes, AddressBook, Calculator, TextEdit
applications list and for Monitor2, it is  TextEdit and Mail list.

In Cocoa, is there any provision to achieve this?.


In Leopard you can use the CGWindow apis to get a list of all windows on the screen (see the Son Of Grab sample code) and then use CGGetDisplaysWithRect() to determine what displays each window is on.

--
David Duncan
Apple DTS Animation and Printing
email@hidden



_______________________________________________

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


References: 
 >applications list on Multi monitor (From: "Apparao Mulpuri" <email@hidden>)

  • Prev by Date: Re: Where is CIFilterBrowser?
  • Next by Date: Re: TDD/BDD testing methodologies?
  • Previous by thread: Re: applications list on Multi monitor
  • Next by thread: IBPlugin error
  • Index(es):
    • Date
    • Thread