<?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 : Add a seporator</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Add a seporator]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 05 Apr 2026 06:15:42 +0000</pubDate>
  <lastBuildDate>Fri, 22 Dec 2006 10:38:52 +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=5859</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[Add a seporator : Thank You Oleg, that is realywhatI...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5859&amp;PID=18541&amp;title=add-a-seporator#18541</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2267">Frme</a><br /><strong>Subject:</strong> 5859<br /><strong>Posted:</strong> 22 December 2006 at 10:38am<br /><br />Thank You Oleg, that is realy&nbsp;what&nbsp;I need :) Tnanks again! ]]>
   </description>
   <pubDate>Fri, 22 Dec 2006 10:38:52 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5859&amp;PID=18541&amp;title=add-a-seporator#18541</guid>
  </item> 
  <item>
   <title><![CDATA[Add a seporator : Hello, SetBeginGroup adds separator...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5859&amp;PID=18535&amp;title=add-a-seporator#18535</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 5859<br /><strong>Posted:</strong> 22 December 2006 at 10:04am<br /><br /><P>Hello,</P><DIV>SetBeginGroup adds separator before control. You added separator before first item so it is not visible.</DIV><DIV>&nbsp;</DIV><DIV>add it in "for loop" </DIV><DIV>&nbsp;</DIV><DIV><FONT size=2>pControl-&gt;SetBeginGroup(iter == m_PlVec.begin());</FONT></DIV>]]>
   </description>
   <pubDate>Fri, 22 Dec 2006 10:04:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5859&amp;PID=18535&amp;title=add-a-seporator#18535</guid>
  </item> 
  <item>
   <title><![CDATA[Add a seporator : Thank You oleg, but I still cannot...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5859&amp;PID=18532&amp;title=add-a-seporator#18532</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2267">Frme</a><br /><strong>Subject:</strong> 5859<br /><strong>Posted:</strong> 22 December 2006 at 9:30am<br /><br />Thank You oleg, but I still cannot add a separator :(<DIV>Below is the snapshot of my code:</DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>CXTPControlButton* pControl = (CXTPControlButton*)m_pControls-&gt;Add(xtpControlButton, ID_PLUGINS_RELOADPLUGINS, L</FONT><FONT color=#800000 size=2>"Reload plugins"</FONT><FONT size=2>,1);</DIV><DIV><DIV>pControl-&gt;SetCaption(L</FONT><FONT color=#800000 size=2>"Reload plugins"</FONT><FONT size=2>);</FONT></DIV><DIV><FONT size=2>pControl-&gt;SetTooltip(L</FONT><FONT color=#800000 size=2>"Click to reload present plugins"</FONT><FONT size=2>);</FONT></DIV><DIV><FONT size=2>pControl-&gt;SetDescription(L</FONT><FONT color=#800000 size=2>"Click to reload present plugins"</FONT><FONT size=2>); </FONT></DIV><DIV><FONT size=2>pControl-&gt;SetFlags(xtpFlagManualUpdate);</FONT></DIV><DIV><FONT size=2>pControl-&gt;SetStyle(xtpButtonIconAndCaption);</DIV><P></FONT><FONT color=#008000 size=2>//CXTPControlButton* pControl1 = (CXTPControlButton*)m_pControls-&gt;Add(xtpControlButton, 0, NULL, 2);</P></FONT><FONT size=2><P>pControl-&gt;SetBeginGroup(TRUE); </P><P></P><P></FONT><FONT color=#0000ff size=2>int</FONT><FONT size=2> i = 2;</P><DIV></FONT><FONT color=#0000ff size=2>for</FONT><FONT size=2> (folder_entry_vec::iterator iter = m_PlVec.begin(); iter != m_PlVec.end(); iter++ ){</FONT></DIV><DIV><FONT size=2>CXTPControlButton* pControl = (CXTPControlButton*)m_pControls-&gt;Add(xtpControlButton, ID_PLUGINS_RELOADPLUGINS+i-1, (LPCWSTR)iter-&gt;m_PlResName, i, FALSE);</FONT></DIV><DIV><FONT size=2>pControl-&gt;SetCaption((LPCWSTR)iter-&gt;m_PlResName);</FONT></DIV><DIV><FONT size=2>pControl-&gt;SetTooltip((LPCWSTR)iter-&gt;m_PlDescription);</FONT></DIV><DIV><FONT size=2>pControl-&gt;SetDescription((LPCWSTR)iter-&gt;m_PlDescription);</FONT></DIV><DIV><FONT size=2>pControl-&gt;SetCustomIcon((HICON)iter-&gt;m_PlIcon);</FONT></DIV><DIV><FONT size=2>pControl-&gt;SetFlags(xtpFlagManualUpdate);</FONT></DIV><DIV><FONT size=2>pControl-&gt;SetStyle(xtpButtonIconAndCaption);</FONT></DIV><DIV><FONT size=2>++i;</FONT></DIV><DIV><FONT size=2>}</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>Excuse me for my &nbsp;obtrusiveness, i can release the app even without this separator, but i just want to make this question clear&nbsp;at least&nbsp;for me.</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>Thank You</DIV></FONT></DIV>]]>
   </description>
   <pubDate>Fri, 22 Dec 2006 09:30:52 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5859&amp;PID=18532&amp;title=add-a-seporator#18532</guid>
  </item> 
  <item>
   <title><![CDATA[Add a seporator : no. you don&amp;#039;t have add additonal...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5859&amp;PID=18481&amp;title=add-a-seporator#18481</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 5859<br /><strong>Posted:</strong> 22 December 2006 at 1:09am<br /><br />no. you don't have add additonal button. call SetBeginGroup for button you already have.]]>
   </description>
   <pubDate>Fri, 22 Dec 2006 01:09:39 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5859&amp;PID=18481&amp;title=add-a-seporator#18481</guid>
  </item> 
  <item>
   <title><![CDATA[Add a seporator : Thank You! I do this way:  CXTPControlButton*...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5859&amp;PID=18462&amp;title=add-a-seporator#18462</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2267">Frme</a><br /><strong>Subject:</strong> 5859<br /><strong>Posted:</strong> 21 December 2006 at 9:26am<br /><br />Thank You! I do this way:<DIV><FONT size=2><P>CXTPControlButton* pControl1 = (CXTPControlButton*)m_pControls-&gt;Add(xtpControlButton, 0, NULL, 2);</P><DIV>pControl1-&gt;SetBeginGroup(TRUE);</DIV><DIV>&nbsp;</DIV><DIV>but after this code after separator&nbsp; ihave the blank menu item. after it in turn everything is fine. How to avoid such 'blank' menu item after separator?</DIV><DIV>&nbsp;</DIV></FONT></DIV>]]>
   </description>
   <pubDate>Thu, 21 Dec 2006 09:26:50 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5859&amp;PID=18462&amp;title=add-a-seporator#18462</guid>
  </item> 
  <item>
   <title><![CDATA[Add a seporator : pControl-&amp;gt;SetBeginGroup(TRUE);...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5859&amp;PID=18436&amp;title=add-a-seporator#18436</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 5859<br /><strong>Posted:</strong> 21 December 2006 at 12:48am<br /><br />pControl-&gt;SetBeginGroup(TRUE);]]>
   </description>
   <pubDate>Thu, 21 Dec 2006 00:48:22 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5859&amp;PID=18436&amp;title=add-a-seporator#18436</guid>
  </item> 
  <item>
   <title><![CDATA[Add a seporator : Hi, I needdynamically add a separator...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5859&amp;PID=18431&amp;title=add-a-seporator#18431</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2267">Frme</a><br /><strong>Subject:</strong> 5859<br /><strong>Posted:</strong> 20 December 2006 at 8:01pm<br /><br />Hi, I need&nbsp;dynamically add a separator in dynamic sub-menu&nbsp;in the main frame. As a basic sample i use the '<FONT size=2>CControlFavorites</FONT>' class from 'dynamicpopups' sample (XTP ver. 10.3.1). As i understand i have to change some preperty of '<FONT size=2>CXTPControlButton</FONT>' object, but i cannot find the way to do it. What is the most preferable way to insert a separator dynamically?<DIV>&nbsp;</DIV><DIV>Thanks in advance.</DIV>]]>
   </description>
   <pubDate>Wed, 20 Dec 2006 20:01:28 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5859&amp;PID=18431&amp;title=add-a-seporator#18431</guid>
  </item> 
 </channel>
</rss>