<?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 : Create ArrowLine</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Create ArrowLine]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 12 Jun 2026 04:41:00 +0000</pubDate>
  <lastBuildDate>Fri, 12 May 2006 09:23:35 +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=4204</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[Create ArrowLine : Hi. I have problems to set properties...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4204&amp;PID=12899&amp;title=create-arrowline#12899</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1999">FSauer</a><br /><strong>Subject:</strong> 4204<br /><strong>Posted:</strong> 12 May 2006 at 9:23am<br /><br /><P>Hi.</P><P>I have problems to set properties by creating an arrow!</P><P>I create my Arrowline as listed below:</P><P>ViewClass:</P><P>void XDVView::OnArrowLine() <BR>{<BR>&nbsp;m_drawshape = FO_COMP_ARROWLINE;<BR>&nbsp;SetCurrentDrawingCursor(IDC_FO_DRAWLINE_CURSOR);<BR>&nbsp;m_action_state = State_DrawLine;;<BR>&nbsp;m_bUpRightMode = FALSE;<BR>}<BR></P><P>MyDataModalClass:</P><P>void CMyExtDataModel::AddLineShape(UINT m_drawshape,LPPOINT pptPoints, int nCount,BOOL bArrow)<BR>{<BR>&nbsp;switch(m_drawshape)<BR>&nbsp;{<BR>&nbsp;case FO_COMP_LINE:<BR>&nbsp; {<BR>&nbsp;&nbsp; CString strCaption;<BR>&nbsp;&nbsp; CString strName;<BR>&nbsp;&nbsp; strCaption = _T("");<BR>&nbsp;&nbsp; strName = _T("");<BR>&nbsp;&nbsp; <BR>&nbsp;&nbsp; CFOLineShape *pReturn = new CFOLineShape;<BR>&nbsp;&nbsp; pReturn-&gt;AddRef();<BR>&nbsp;&nbsp; pReturn-&gt;Create(pptPoints,nCount);<BR>&nbsp;&nbsp; pReturn-&gt;UpdatePosition();<BR>&nbsp;&nbsp; strCaption = GetUniqueCaption(m_drawshape);<BR>&nbsp;&nbsp; strName = GetUniqueName(m_drawshape);<BR>&nbsp;&nbsp; pReturn-&gt;SetObjectCaption(strCaption);<BR>&nbsp;&nbsp; pReturn-&gt;SetObjectName(strName);<BR>&nbsp;&nbsp; pReturn-&gt;SetLineWidth(4);<BR>&nbsp;&nbsp; pReturn-&gt;SetLineColor(RGB(0,255,0));<BR>&nbsp;&nbsp; if(bArrow)<BR>&nbsp;&nbsp; {<BR>&nbsp;&nbsp;&nbsp; pReturn-&gt;SetEndArrowType(5);<BR>&nbsp;&nbsp;&nbsp; pReturn-&gt;SetEndArrowWidth(5);<BR>&nbsp;&nbsp;&nbsp; pReturn-&gt;SetEndArrowLength(5);<BR>&nbsp;&nbsp; }&nbsp; <BR>&nbsp;&nbsp; InsertShape(pReturn);<BR>&nbsp;&nbsp; pReturn-&gt;Release();<BR>&nbsp;&nbsp; pReturn=NULL;<BR>&nbsp;&nbsp; SetModifiedFlag(TRUE);<BR>&nbsp;&nbsp; break;<BR>&nbsp; }<BR>&nbsp;default:<BR>&nbsp; {<BR>&nbsp;&nbsp;  CFODataModel::AddLineShape(m_drawshape,pptPoints,nCount,bArr ow);<BR>&nbsp; }<BR>&nbsp;}<BR>}</P><P><BR>It looks like this:<IMG src="https://forum.codejock.com/uploads/FSauer/2006-05-12_091108_Arrow.bmp" border="0"></P><P>Can anybody help me? What's wrong?<IMG src="http://forum.codejock.com/smileys/smiley19.gif" border="0"></P>]]>
   </description>
   <pubDate>Fri, 12 May 2006 09:23:35 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4204&amp;PID=12899&amp;title=create-arrowline#12899</guid>
  </item> 
 </channel>
</rss>