• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: regarding transparent NSWindow.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >regarding transparent NSWindow. (From: "Amit Jain" <email@hidden>)
 >Re: regarding transparent NSWindow. (From: Nir Soffer <email@hidden>)
 >Re: regarding transparent NSWindow. (From: "Amit Jain" <email@hidden>)

  • Prev by Date: NSToolbarItem enable binding
  • Next by Date: NSCell with various fonts
  • Previous by thread: Re: regarding transparent NSWindow.
  • Next by thread: Re: regarding transparent NSWindow.
  • Index(es):
    • Date
    • Thread