<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0054)http://www.codeproject.com/KB/shell/NSExtDragDrop.aspx -->
<HTML><HEAD><TITLE>CodeProject: Tips in Writing Namespace Extension (III) - Drag and Drop objects between System Namespace and your NSE. Free source code and programming help</TITLE>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META
content="An article on implementing drag and drop operation between your NSE and system namespace.; Author: zengxi; Section: Shell and IE programming; Chapter: Desktop Development"
name=Description>
<META
content="VC6, Win2K, WinXP, VS6, Dev, Beginner,Shell and IE programming,Desktop Development,Free source code, tutorials"
name=Keywords>
<META content="The Code Project" name=Author>
<META content=General name=Rating>
<META content="index, follow" name=Robots>
<META content="1 days" name=Revisit-After><LINK
title="CodeProject Latest articles - All topics"
href="http://www.codeproject.com/webservices/articlerss.aspx?cat=1"
type=application/rss+xml rel=alternate><LINK
title="CodeProject Latest articles - MFC / C++"
href="http://www.codeproject.com/webservices/articlerss.aspx?cat=2"
type=application/rss+xml rel=alternate><LINK
title="CodeProject Latest articles - C#"
href="http://www.codeproject.com/webservices/articlerss.aspx?cat=3"
type=application/rss+xml rel=alternate><LINK
title="CodeProject Latest articles - ASP.NET"
href="http://www.codeproject.com/webservices/articlerss.aspx?cat=4"
type=application/rss+xml rel=alternate><LINK
title="CodeProject Latest articles - .NET"
href="http://www.codeproject.com/webservices/articlerss.aspx?cat=5"
type=application/rss+xml rel=alternate><LINK
title="CodeProject Latest articles - VB.NET"
href="http://www.codeproject.com/webservices/articlerss.aspx?cat=6"
type=application/rss+xml rel=alternate><LINK title="CodeProject Lounge Postings"
href="http://www.codeproject.com/webservices/LoungeRSS.aspx"
type=application/rss+xml rel=alternate><LINK title=CodeProject
href="http://www.codeproject.com/info/OpenSearch.xml"
type=application/opensearchdescription+xml rel=search><LINK
href="CodeProject Tips in Writing Namespace Extension (III) - Drag and Drop objects between System Namespace and your NSE_ Free source code and programming help.files/CodeProject.css"
type=text/css rel=stylesheet><LINK
href="CodeProject Tips in Writing Namespace Extension (III) - Drag and Drop objects between System Namespace and your NSE_ Free source code and programming help.files/ForumClassic.css"
type=text/css rel=stylesheet>
<SCRIPT type=text/javascript>
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</SCRIPT>
<SCRIPT type=text/javascript>
var pageTracker = _gat._getTracker("UA-1735123-1");
pageTracker._setDomainName("www.codeproject.com");
pageTracker._setSessionTimeout("1200"); // 20 mins
pageTracker._initData();
pageTracker._trackPageview();
</SCRIPT>
<SCRIPT language=Javascript type=text/javascript>//<![CDATA[
if(top!=self)top.location.href=location.href; if(typeof(DemoUrl)!="undefined")document.write(unescape('%3Cme')+'ta http'+'-equiv="re' +'fresh" con'+'tent="1;url='+DemoUrl+unescape('"%3CE'));
//]]></SCRIPT>
<SCRIPT language=Javascript
src="CodeProject Tips in Writing Namespace Extension (III) - Drag and Drop objects between System Namespace and your NSE_ Free source code and programming help.files/oncopy.js"
type=text/javascript></SCRIPT>
<SCRIPT language=Javascript
src="CodeProject Tips in Writing Namespace Extension (III) - Drag and Drop objects between System Namespace and your NSE_ Free source code and programming help.files/apiresults.js"
type=text/javascript></SCRIPT>
<SCRIPT language=Javascript
src="CodeProject Tips in Writing Namespace Extension (III) - Drag and Drop objects between System Namespace and your NSE_ Free source code and programming help.files/JobsSummaryRetriever.js"
type=text/javascript></SCRIPT>
<SCRIPT language=Javascript
src="CodeProject Tips in Writing Namespace Extension (III) - Drag and Drop objects between System Namespace and your NSE_ Free source code and programming help.files/jquery-1.2.6.min.js"
type=text/javascript></SCRIPT>
<SCRIPT language=Javascript type=text/javascript>//<![CDATA[
function ToggleMenu(itemName)
{
var elm = document.getElementById(itemName);
var i,others = document.getElementById('SectionMenu');
for(i=0; i < others.childNodes.length; i++)
{
var other = others.childNodes[i];
if ((other.className == 'MenuSectionBlock') && (other != elm))
other.style.display='none';
}
if (elm.style.display == 'block') elm.style.display='none';
else elm.style.display='block';
return false;
}
//]]></SCRIPT>
<SCRIPT language=Javascript
src="CodeProject Tips in Writing Namespace Extension (III) - Drag and Drop objects between System Namespace and your NSE_ Free source code and programming help.files/addto.js"
type=text/javascript></SCRIPT>
<SCRIPT language=Javascript
src="CodeProject Tips in Writing Namespace Extension (III) - Drag and Drop objects between System Namespace and your NSE_ Free source code and programming help.files/jxs.js"
type=text/javascript></SCRIPT>
<SCRIPT language=Javascript
src="CodeProject Tips in Writing Namespace Extension (III) - Drag and Drop objects between System Namespace and your NSE_ Free source code and programming help.files/rateitem.js"
type=text/javascript></SCRIPT>
<SCRIPT language=Javascript type=text/javascript>//<![CDATA[
var Selected = "-1";
function SwitchMessage(e, msgId)
{
if (!msgId) {
if(!e)e=window.event;
var target=e.target?e.target:e.srcElement;
while(target&&target.id!='DynMessLink')target=target.parentNode;
if(!target||target.id!='DynMessLink')return;
msgId=target.name;
}
if(Selected&&Selected!=""){
var body=eval("document.getElementById('F" + Selected + "_h1')");
if(body) body.style.display = 'none';
var head=eval("document.getElementById('F" + Selected + "_h0')");
if(head) head.className = head.className.replace("Sel", "UnSel");
}
if(Selected==msgId.toString())
Selected="";
else {
Selected=msgId.toString();
var body=eval("document.getElementById('F" + Selected + "_h1')");
if(body){
if(body.style.display=='none') body.style.display='';
else body.style.display = 'none';
}
var head=eval("document.getElementById('F" + Selected + "_h0')");
if (head)
head.className = head.className.replace("UnSel", "Sel");
if(body&&head&&body.style.display!='none'){
document.body.scrollTop = getRealPos(head, "Top") - document.body.clientHeight/10;
EnsureMessageVisible(Selected, true);
}
}
if (e){if(e.preventDefault)e.preventDefault;else e.returnValue=false;}
return false;
}
//]]></SCRIPT>
<SCRIPT language=Javascript
src="CodeProject Tips in Writing Namespace Extension (III) - Drag and Drop objects between System Namespace and your NSE_ Free source code and programming help.files/ShortCuts.js"
type=text/javascript></SCRIPT>
<LINK
href="CodeProject Tips in Writing Namespace Extension (III) - Drag and Drop objects between System Namespace and your NSE_ Free source code and programming help.files/ForumClassicIE6.css"
type=text/css rel=stylesheet><LINK href="/favicon.ico" type=image/ico
rel=icon><LINK href="/favicon.ico" type=image/ico rel="shortcut icon">
<META content="MSHTML 6.00.2900.3395" name=GENERATOR></HEAD>
<BODY>
<TABLE id=ctl00_AT cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR vAlign=top>
<TD colSpan=2>
<TABLE cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR>
<TD class=HeaderLogo><A href="http://www.codeproject.com/"><IMG