 |
 |
Access Window Server
|
 |
|
 |
|
Forum Regular
Join Date: Jan 2004
Location: Indianapolis, Indiana
Status:
Offline
|
|
I am tring to find a method of getting all visible windows in Cocoa, is there documentation on accessing the window server its self?
Or will there be problems with accessing window server applications that are not in the same namespace?
Thanks for any help.
Brandon
|
|
|
| |
|
|
|
 |
|
 |
|
Forum Regular
Join Date: Aug 2001
Location: Vienna, Austria
Status:
Offline
|
|
it's possible to do that (see Quartz Debug), but it's neither documented nor supported.
|
|
|
| |
|
|
|
 |
|
 |
|
Forum Regular
Join Date: Jan 2004
Location: Indianapolis, Indiana
Status:
Offline
|
|
Thats exactly what Im looking for! Thank you!
Originally posted by amonitzer:
it's possible to do that (see Quartz Debug), but it's neither documented nor supported.
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Enthusiast
Join Date: Jan 2001
Status:
Offline
|
|
While not Cocoa, you may find the following useful... sorry I don't have time to explain each of the functions.
http://lorenb.com/developer/
you need to link against Carbon... but beware - it's quite easy to completely stall the window server using these functions.
|
|
|
| |
|
|
|
 |
|
 |
|
Forum Regular
Join Date: Jan 2004
Location: Indianapolis, Indiana
Status:
Offline
|
|
Is there a way to know when new windows are created? Well i know that you can, because CodeTek's VirtualDesktop does it. From looking at the processes, it doesnt look like its just continuely refreshing, but rather knows when a new window is created, any ideas?
Originally posted by 00101001:
While not Cocoa, you may find the following useful... sorry I don't have time to explain each of the functions.
http://lorenb.com/developer/
you need to link against Carbon... but beware - it's quite easy to completely stall the window server using these functions.
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Enthusiast
Join Date: Jan 2001
Status:
Offline
|
|
i have know idea how virtual desktop does its tricks... polling the number of windows is the only way i know of... and that's unacceptable.
|
|
|
| |
|
|
|
 |
|
 |
|
Forum Regular
Join Date: Jan 2004
Location: Indianapolis, Indiana
Status:
Offline
|
|
VirtualDesktop is refreshing the windowlist, at least thats what I think now after doing some investigations, i will say they did a heck of a job keeping this app using very little cpu...
Originally posted by 00101001:
i have know idea how virtual desktop does its tricks... polling the number of windows is the only way i know of... and that's unacceptable.
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|