• 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
Dock event handling
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Dock event handling


  • Subject: Dock event handling
  • From: "Joseph Menezes" <email@hidden>
  • Date: Wed, 14 Feb 2007 17:58:28 +0530

Hi All,
I should be able to drag and drop iTunes tracks and playlists to my
application dock icon. Since there is no direct way, I am drawing a
transparent window over my application dock icon, to handle the drag and
drop. Because of the transparent window, I am not able to get the normal
dock behavior when i drag and move over my application dock icon, when
magnification of dock is on. This is because the events are going to my
window.
In order to get the normal dock behavior, i tried to post the events(mouse
events) whatever I get in my window to dock using "CGEventPostToPSN" api
(for example, when I click over my transparent window, I post the mouse down
event to dock with proper mouse location. In response to this, dock has to
open my application).
But I am not getting the expected dock behavior. If anyone knows about how
dock handles the events to open the application or enlarging the dock icon
when you move the mouse over it when there is a magnification set on, please
help me.

Thanks in advance,
Joseph
_______________________________________________

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


  • Prev by Date: Programatically pop-up a NSPopUpButtonCell in a NSTableView
  • Next by Date: NSTableView Clear method
  • Previous by thread: Programatically pop-up a NSPopUpButtonCell in a NSTableView
  • Next by thread: NSTableView Clear method
  • Index(es):
    • Date
    • Thread