Sky Software Homepage LogicNP Software Knowledge Base And FAQ

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

HOWTO: Access dragged items in the NSEItem.DragEnter, etc events

 
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: Mon May 25, 2009 11:35 am    Post subject: HOWTO: Access dragged items in the NSEItem.DragEnter, etc events

To access items dragged from your own nse, you need to store them in your own format in the CNSEFolder.InitDataObject function. For example code, see the RegistryBrowser sample which stores the dragged keys or values in string form using the 'REGBROWSER_DATA_DORMAT' data format.

This stored data can be retrieved by the drop-target in the CNSEItem.DragEnter, CNSEItem.DragOver and CNSEItem.DragDrop functions and the corresponding items can be instantiated. For example, in the RegistryBrowser sample, the CKeyItem.DragDrop function retrieves the stored data format and parses it to create the corresponding CKeyItem or CValueItem instances and act on them.
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