Re: Moving other application windows
Re: Moving other application windows
- Subject: Re: Moving other application windows
- From: Mike Paquette <email@hidden>
- Date: Sun, 26 Jun 2005 18:10:01 -0700
In general, applications are not allowed to alter the state of the
windows of other applications without the cooperation of the other
applications. If an application were expecting it's windows to
remain in a particular state, and the window state is altered
externally, then that application could experience, what in
engineering terms is called a 'surprise'.
FYI, it appears that your program is using one or more private
interfaces, or SPIs, which are very likely to change or be deleted in
a future release.
Mike Paquette
CoreGraphics Designated Floccinaucinihilipilificator
On Jun 26, 2005, at 7:46 AM, David Schneider-Joseph wrote:
Hi everyone,
I am trying to write a window manager which can manipulate
applications not belonging to its own process. I am using
_CGSDefaultConnection(), CGSGetWorkspaceWindowCount(), and
CGSGetWorkspaceWindowList() to enumerate through the list of
currently running windows. I then attempt to use CGSMoveWindow()
to move windows when necessary. It works for windows within my
application's process, but for all other windows I get a
kCGErrorIllegalArgument.
I know these are undocumented and unsupported functions, but there
must be a way to do what I want. Can anyone help me?
Thanks!
David Schneider-Joseph
http://www.davidsj.com/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden