<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : How to disable Drag/Drop</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Calendar : How to disable Drag/Drop]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 30 May 2026 19:06:46 +0000</pubDate>
  <lastBuildDate>Tue, 03 Mar 2009 11:57:03 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=13556</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[How to disable Drag/Drop : You have to handle BeforeEditAction...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13556&amp;PID=46197&amp;title=how-to-disable-drag-drop#46197</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 13556<br /><strong>Posted:</strong> 03 March 2009 at 11:57am<br /><br />You have to handle BeforeEditAction for an event. Take a look at sample method: CCalendarDemoView::OnEvent_BeforeEditAction<br><br>Below is sample piece of code which does what you need:<br><br>void CCalendarDemoView::OnEvent_BeforeEditAction(XTP_NOTIFY_CODE Event, <br>													WPARAM wParam, LPARAM lParam)<br>{&nbsp; 	<br>	if (XTP_NC_CALENDAR_BEFORE_EVENT_EDIT_OPERATION != Event) {<br>		ASSERT(FALSE);<br>		return;<br>	}<br>&nbsp;&nbsp;	<br>	XTP_EVENT_EDIT_OPERATION_PARAMS* pOPparams = (XTP_EVENT_EDIT_OPERATION_PARAMS*)wParam;<br>	BOOL* pbHandled = (BOOL*)lParam;<br>	ASSERT(pbHandled &amp;&amp; pOPparams);<br><br>	// check is already canceled/handled<br>	if(!pOPparams || !pbHandled || *pbHandled) {<br>		return;<br>	}<br><br>	if(pOPparams-&gt;eOperation == xtpCalendarEO_DragCopy ||<br>		pOPparams-&gt;eOperation == xtpCalendarEO_DragMove)<br>	{<br>		XTP_EVENT_DRAG_OPERATION_PARAMS* pParamsDrag = (XTP_EVENT_DRAG_OPERATION_PARAMS*)wParam;<br>		if (pParamsDrag-&gt;pDraggingEvent-&gt;GetScheduleID() != <br>			pParamsDrag-&gt;pDraggingEventNew-&gt;GetScheduleID())<br>		{<br>			*pbHandled = TRUE;<br>			return;<br>		}<br>	}<br>....<br>//////////////////////////////////////////////////////////////////////////]]>
   </description>
   <pubDate>Tue, 03 Mar 2009 11:57:03 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13556&amp;PID=46197&amp;title=how-to-disable-drag-drop#46197</guid>
  </item> 
  <item>
   <title><![CDATA[How to disable Drag/Drop : Hi, We are having our own drag/drop...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13556&amp;PID=46167&amp;title=how-to-disable-drag-drop#46167</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2903">KumarCJ</a><br /><strong>Subject:</strong> 13556<br /><strong>Posted:</strong> 03 March 2009 at 3:26am<br /><br /><P>Hi,</P><P>We are having our own drag/drop implementation for calendar.</P><P>We want to disable codejock drag drop in our application, because we are using our own drag/drop implementation.</P><P>How we can do that?</P><P>Thanks in advance,<BR>saket</P><DIV><DIV>&nbsp;</DIV></DIV>]]>
   </description>
   <pubDate>Tue, 03 Mar 2009 03:26:48 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13556&amp;PID=46167&amp;title=how-to-disable-drag-drop#46167</guid>
  </item> 
 </channel>
</rss>