Re: regarding transparent NSWindow.
Re: regarding transparent NSWindow.
- Subject: Re: regarding transparent NSWindow.
- From: Rob Keniger <email@hidden>
- Date: Sat, 6 Jan 2007 18:26:51 +1000
On 05/01/2007, at 16:00, Amit Jain wrote:
Your worry regarding DnD on transparent window is correct.But what I
am
trying to implement is to put a transperent window over my
applications dock
icon so that when a user DnD a playlist from iTunes to my
applications icon
then he should feel that he is dragging and dropping on the dock not
on
window.But today i faced one more problem that when i kept the
window on
dock by getting the icon position then the window lied behind the
dock and
even our window was opaque still it doesnt accepted the mouse drag.
So now one more query is that how to keep window in front of dock?
thankx..
Why don't you just use [NSApplication setApplicationIconImage:(NSImage
*)anImage] ?
This is the supported way to change your dock icon to whatever image
you like. You can draw anything you wanted to draw in your transparent
window in the dock icon image.
- rob.keniger
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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