Sky Software Homepage LogicNP Software Knowledge Base And FAQ

 
Contact Product Support    SearchSearch      Subscribe to the RSS feed for this forum

HOWTO : Support dragdrop within your namespace extension

 
Subscribe to the RSS feed for this forum  Forum Index -> EZNamespaceExtensionsMFC
View previous topic :: View next topic  
Author Message
Support



Joined: 18 Jul 2005
Posts: 731

Posted: Thu Dec 06, 2007 11:06 am    Post subject: HOWTO : Support dragdrop within your namespace extension

To support dragdrop in cases where both the source and target of the dragdrop operation is an item in your namespace extension, you must store data about the source item in the dataobject. This should be done in the CNSEFolder.GetData method. The data can be stored in any format you wish. This dataformat can later be retrieved by your code in the CNSEItem.DragDrop method.

For an example of this technique, see the RegistryBrowser sample that comes with EZNamespaceExtensionsMFC. This sample stores data about the source items of the dragdrop operation (registry keys/values) in the dataobject and this data is later retrieved in the DragDrop method.
Back to top
Display posts from previous:   
Forum Index -> EZNamespaceExtensionsMFC All times are GMT
Page 1 of 1

 
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group