<?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 : Checkbox in ribbon</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Checkbox in ribbon]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 10 Jun 2026 19:35:00 +0000</pubDate>
  <lastBuildDate>Mon, 05 Nov 2007 05:36:26 +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=8655</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[Checkbox in ribbon : Thanks for let us know. ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8655&amp;PID=28085&amp;title=checkbox-in-ribbon#28085</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 8655<br /><strong>Posted:</strong> 05 November 2007 at 5:36am<br /><br />Thanks for let us know. ]]>
   </description>
   <pubDate>Mon, 05 Nov 2007 05:36:26 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8655&amp;PID=28085&amp;title=checkbox-in-ribbon#28085</guid>
  </item> 
  <item>
   <title><![CDATA[Checkbox in ribbon : I tried to insert your code into...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8655&amp;PID=28081&amp;title=checkbox-in-ribbon#28081</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2994">pavold</a><br /><strong>Subject:</strong> 8655<br /><strong>Posted:</strong> 05 November 2007 at 4:59am<br /><br />I tried to insert your code into our application and play around to see what causes the problem.<br><br>Finally I have found the problem. In our code, the second checkbox is associated with a resource, that have an icon. In the case of checkbox it is used only for tooltip. Yet, the framework probably applied default button style (xtpButtonIconAndCaptionBelow) when it was positioning the checkxbox.<br><br>Using pControl-&gt;SetStype(xtpButtonIconAndCaption) have fixed the problem.<br><br>Best Regards,<br>Pavol<br>]]>
   </description>
   <pubDate>Mon, 05 Nov 2007 04:59:28 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8655&amp;PID=28081&amp;title=checkbox-in-ribbon#28081</guid>
  </item> 
  <item>
   <title><![CDATA[Checkbox in ribbon : Hello, Sorry, again can&amp;#039;t...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8655&amp;PID=28075&amp;title=checkbox-in-ribbon#28075</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 8655<br /><strong>Posted:</strong> 05 November 2007 at 4:27am<br /><br /><DIV>Hello,</DIV><DIV>Sorry, again can't reproduce.</DIV><DIV>&nbsp;</DIV><DIV>I tried add this code to our sample:</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;CXTPRibbonGroup* pGroupShowHide = pTabView-&gt;AddGroup(ID_GROUP_SHOWHIDE);<BR>&nbsp;pGroupShowHide-&gt;SetControlsCentering(TRUE);</DIV><DIV>&nbsp;pGroupShowHide-&gt;Add(xtpControlComboBox, ID_EDIT_PASTE)-&gt;SetStyle(xtpButtonIconAndCaption);;<BR>&nbsp;pGroupShowHide-&gt;Add(xtpControlComboBox, ID_EDIT_PASTE)-&gt;SetStyle(xtpButtonIconAndCaption);;<BR>&nbsp;pGroupShowHide-&gt;Add(xtpControlPopup, ID_EDIT_PASTE)-&gt;SetStyle(xtpButtonIconAndCaption);<BR>&nbsp;pControl = pGroupShowHide-&gt;Add(xtpControlCheckBox, ID_VIEW_RULER);<BR>&nbsp;pControl-&gt;SetBeginGroup(TRUE);<BR>&nbsp;pControl-&gt;SetCaption("3D Lines");<BR>&nbsp;pControl = pGroupShowHide-&gt;Add(xtpControlCheckBox, ID_VIEW_GRIDLINES);<BR>&nbsp;pControl-&gt;SetCaption("Width By Object");<BR></DIV><DIV>&nbsp;</DIV><DIV>and see it right. May be something was fixed in newer versions. Can you download 11.2.1 to check ?</DIV>]]>
   </description>
   <pubDate>Mon, 05 Nov 2007 04:27:03 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8655&amp;PID=28075&amp;title=checkbox-in-ribbon#28075</guid>
  </item> 
  <item>
   <title><![CDATA[Checkbox in ribbon : Hi,Here is the code for the problematic...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8655&amp;PID=28067&amp;title=checkbox-in-ribbon#28067</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2994">pavold</a><br /><strong>Subject:</strong> 8655<br /><strong>Posted:</strong> 05 November 2007 at 2:23am<br /><br />Hi,<br><br>Here is the code for the problematic checkboxes:<br><br><font face="Courier New, Courier, mono">CXTPRibbonGroup* pGroup=AddGroup(ID_OBJECT_LINES_GROUP);<br>pGroup-&gt;SetControlsCentering(TRUE);<br></font><br>.....<br><br><font face="Courier New, Courier, mono">{<br>&nbsp;&nbsp;&nbsp; CXTPControl* pControl=<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pGroup-&gt;Add(xtpControlCheckBox, ID_CONNECT_LINES_3D);<br>&nbsp;&nbsp;&nbsp; pControl-&gt;SetTag(VIEWID(NView::ELEMID_CONNECT_LINES, 0));<br>&nbsp;&nbsp;&nbsp; pControl-&gt;SetBeginGroup(TRUE);<br>}<br><br>{<br>&nbsp;&nbsp;&nbsp; CXTPControl* pControl=<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pGroup-&gt;Add(xtpControlCheckBox, ID_CONNECT_LINES_WIDTH_BY_OBJECT);<br>&nbsp;&nbsp;&nbsp; pControl-&gt;SetTag(VIEWID(NView::ELEMID_CONNECT_LINES, 0));<br>}<br></font><font face="Courier New, Courier, mono"><br><font face="Verdana, Arial, Helvetica, sans-serif">And here is the screenshot:<br><img src="uploads/20071105_021913_checkbox.png" height="128" width="338" border="0"><br></font><font face="Verdana, Arial, Helvetica, sans-serif"><br></font></font><br>Regards,<br>Pavol.<br>]]>
   </description>
   <pubDate>Mon, 05 Nov 2007 02:23:25 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8655&amp;PID=28067&amp;title=checkbox-in-ribbon#28067</guid>
  </item> 
  <item>
   <title><![CDATA[Checkbox in ribbon : Hello,  Show code you tried....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8655&amp;PID=28056&amp;title=checkbox-in-ribbon#28056</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 8655<br /><strong>Posted:</strong> 05 November 2007 at 1:04am<br /><br />Hello,<DIV>&nbsp;</DIV><DIV>Show code you tried.</DIV>]]>
   </description>
   <pubDate>Mon, 05 Nov 2007 01:04:45 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8655&amp;PID=28056&amp;title=checkbox-in-ribbon#28056</guid>
  </item> 
  <item>
   <title><![CDATA[Checkbox in ribbon : Hi, I have a problem with checkbox...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8655&amp;PID=28050&amp;title=checkbox-in-ribbon#28050</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2994">pavold</a><br /><strong>Subject:</strong> 8655<br /><strong>Posted:</strong> 04 November 2007 at 6:19pm<br /><br />Hi, <br><br>I have a problem with checkbox control in the RibbonBar.<br>When placing controls in a group, checkbox is always positioned at the top of the column. Even if one is followed by the another checkbox, the second checkbox is also positioned in the new column.<br><br>I have tried to force wrap by setting xtpFlagWrapRow flag, but it didn't help either.<br><br>Is there any way to circumvent this? I'm using toolkitpro version 11.1.3<br><br>Best Regards,<br>Pavol.<br>]]>
   </description>
   <pubDate>Sun, 04 Nov 2007 18:19:12 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8655&amp;PID=28050&amp;title=checkbox-in-ribbon#28050</guid>
  </item> 
 </channel>
</rss>