Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Drag Icon Outside My Application Window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Drag Icon Outside My Application Window




On Oct 31, 2005, at 9:10 AM, John Sextro wrote:

Hi All,

I am brand new to developing for the Mac. I am however, a seasoned Java developer. My friend has an open-source tool in Java called FlexDock and he is trying it out on Mac OSX. Essentially it makes developing dragable and dockable window componets easy for custom Java Swing applications.

He has hit a snag. When draging a dockable window around the application the window is displayed as a "ghost image" of itself. However, if the window is drug outside of the application window the drag image is lost. He has successfully hooked into APIs on other OSs to create a drag icon when the window is drug over the desktop outside of the custom application.

Would anyone have some advice or sample code for doing this with Carbon for OSX? Thanks for your advice and help.

The Carbon Drag Manager APIs can be found in Drag.h and the following URL points to some supporting documentation.


http://developer.apple.com/ja/technotes/bin/1085/dmpg.pdf
http://developer.apple.com/documentation/Carbon/Reference/Drag_Manager/index.html
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Drag Icon Outside My Application Window (From: John Sextro <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.