Re: activate my application while dragging on other application window
But, in my case its differ. Here i am setting window appearence attributes like transprent, size and move. I don't thing, there is security reasons in this If Apple provide any api to set/get windows appearence attributes. My application is primarily designed for maximum use of Monitor space. For that, End user will divide the monitor space in to set of different size grids. Based on his requirement, he will move particular application window to a grid. - Apparao. On Fri, Apr 4, 2008 at 9:54 PM, Jens Alfke [EMAIL PROTECTED] wrote: On 3 Apr '08, at 11:03 PM, Apparao Mulpuri wrote: What type of Security issues are there in Windows appearance attributes change? Jens, Could you please explain your reply clearly? A window's pixels are accessible only to the process that owns the window, and to the window-server process (which is responsible for copying them to the screen.) If other processes could write into them, which is what your feature would require, then (a) a buggy process could write garbage into other applications' windows, messing up the entire screen; (b) a malicious process could write fake content into other applications' windows. For example, hiding a system security alert by clearing it to transparent. Even reading the pixels could be a security problem if there were confidential data in the other app's window. You haven't even explained _why_ your app would need such a feature, or what it's for in the first place. What's the use of an app that draws squares on my screen and changes other apps' windows colors when they move into them? —Jens ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
Re: activate my application while dragging on other application window
On 3 Apr '08, at 11:03 PM, Apparao Mulpuri wrote: What type of Security issues are there in Windows appearance attributes change? Jens, Could you please explain your reply clearly? A window's pixels are accessible only to the process that owns the window, and to the window-server process (which is responsible for copying them to the screen.) If other processes could write into them, which is what your feature would require, then (a) a buggy process could write garbage into other applications' windows, messing up the entire screen; (b) a malicious process could write fake content into other applications' windows. For example, hiding a system security alert by clearing it to transparent. Even reading the pixels could be a security problem if there were confidential data in the other app's window. You haven't even explained _why_ your app would need such a feature, or what it's for in the first place. What's the use of an app that draws squares on my screen and changes other apps' windows colors when they move into them? —Jens smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
Re: activate my application while dragging on other application window
On Thu, Apr 3, 2008 at 3:47 PM, Jens Alfke [EMAIL PROTECTED] wrote: By any other application window, do you mean a window belonging to a _different_ application other than your own? There's no way to do that. As I said, applications aren't allowed to mess with each other's windows. Is this really true? I was under the impression that Exposé was handled by Dock.app. Hamish ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
Re: activate my application while dragging on other application window
On 04 Apr 08, at 10:12, Hamish Allan wrote: On Thu, Apr 3, 2008 at 3:47 PM, Jens Alfke [EMAIL PROTECTED] wrote: By any other application window, do you mean a window belonging to a _different_ application other than your own? There's no way to do that. As I said, applications aren't allowed to mess with each other's windows. Is this really true? I was under the impression that Exposé was handled by Dock.app. It's true in the general case. Dock.app just has special privileges with WindowServer which allow it to modify other applications' windows.___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
Re: activate my application while dragging on other application window
On 3 Apr '08, at 1:57 AM, Apparao Mulpuri wrote: Now, if user drags any other application window -- i have to highlight the grid and make the dragging window to transparent. By any other application window, do you mean a window belonging to a _different_ application other than your own? There's no way to do that. As I said, applications aren't allowed to mess with each other's windows. If you're talking about windows in your _own_ app, then sure, this is easy. Look at NSWindowDidMoveNotification. —Jens smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
Re: activate my application while dragging on other application window
That is other application Window i.e window belonging to a different application. Is Apple is going to provide this type of support in coming newer releases?. Anybody from Apple, please help me out? Thanks Regards, - Apparao. On Thu, Apr 3, 2008 at 8:17 PM, Jens Alfke [EMAIL PROTECTED] wrote: On 3 Apr '08, at 1:57 AM, Apparao Mulpuri wrote: Now, if user drags any other application window -- i have to highlight the grid and make the dragging window to transparent. By any other application window, do you mean a window belonging to a _different_ application other than your own? There's no way to do that. As I said, applications aren't allowed to mess with each other's windows. If you're talking about windows in your _own_ app, then sure, this is easy. Look at NSWindowDidMoveNotification. —Jens ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
Re: activate my application while dragging on other application window
On 2 Apr '08, at 3:02 AM, Apparao Mulpuri wrote: Is there any undocumented apis available to achieve this? If there were, we wouldn't be allowed to talk about them on this list. Maybe you can describe in more detail what you want to do, and we can offer some advice. But keep in mind that there are good reasons for the OS keeping applications from groping each others' state (security, mostly, and system stability.) —Jens smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]