Re: applications list on Multi monitor
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