<?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 : [SOLVED]ControlGallery Ribbon init shown small</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : [SOLVED]ControlGallery Ribbon init shown small]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 04:21:03 +0000</pubDate>
  <lastBuildDate>Fri, 12 Nov 2021 06:04:06 +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=23238</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[[SOLVED]ControlGallery Ribbon init shown small : Hi Artem,after almost 5 years...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23238&amp;PID=78309&amp;title=solvedcontrolgallery-ribbon-init-shown-small#78309</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=7972">BeeJay</a><br /><strong>Subject:</strong> 23238<br /><strong>Posted:</strong> 12 November 2021 at 6:04am<br /><br />Hi Artem,<div><br></div><div>after almost 5 years hoping to get a solution, we finally found a workaround/whatever for our specific context 1 year ago by ourselves. Do not ask me, what it was. :-)&nbsp;</div><div><br></div><div>Being that, I cannot verify anymore, if your fix would solve it, too. Sorry.</div><div><br></div><div>Thank you nevertheless.</div><div><br></div><div>BJ</div>]]>
   </description>
   <pubDate>Fri, 12 Nov 2021 06:04:06 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23238&amp;PID=78309&amp;title=solvedcontrolgallery-ribbon-init-shown-small#78309</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED]ControlGallery Ribbon init shown small : Hello,During investigation of...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23238&amp;PID=78305&amp;title=solvedcontrolgallery-ribbon-init-shown-small#78305</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=9012">agontarenko</a><br /><strong>Subject:</strong> 23238<br /><strong>Posted:</strong> 11 November 2021 at 6:01am<br /><br /><div>Hello,</div><div><br></div><div>During investigation of the bug I found maybe RobbonSample has same behaior in certain conditions.<br><br>In sample we have couple buttons "Signature line", "Date &amp; Time" and "Insert object", they all in "INSERT" tab. During initialization for every button was set style pControlButton-&gt;SetStyleEx(xtpButtonIconAndCaption);.</div><div><img src="uploads/9012/0000946_1.png" height="152" width="1438" border="0" /><br></div><div><br>This buttons works as expected. But if I to add next functions calls for save and load ribbon state:<br>LoadCommandBars(_PROFILE_NAME);<br>SaveCommandBars(_PROFILE_NAME);<br>- buttons has wrong style after LoadCommandBars function call.</div><div><img src="uploads/9012/0000946_2.png" height="152" width="1438" border="0" /><br></div><div><br>To fix this bug I've changed DoPropExchange as below.</div><div><img src="uploads/9012/0000946_3.png" height="487" width="1368" border="0" /><br></div><div><br>May be this fix will to resolve your problem.</div><div>Can you please to respond me, if this fix resolve your problem.</div><div><br></div><div>FYI: For test you can to remove registry key</div><div>HKEY_CURRENT_USER\SOFTWARE\Codejock Software Sample Applications\Codejock Ribbon Sample<br></div><div><br></div><div>Regards,</div><div>Artem Gontarenko<br></div>]]>
   </description>
   <pubDate>Thu, 11 Nov 2021 06:01:44 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23238&amp;PID=78305&amp;title=solvedcontrolgallery-ribbon-init-shown-small#78305</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED]ControlGallery Ribbon init shown small : BeeJay, other customers also can...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23238&amp;PID=76571&amp;title=solvedcontrolgallery-ribbon-init-shown-small#76571</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8730">olebed</a><br /><strong>Subject:</strong> 23238<br /><strong>Posted:</strong> 05 February 2018 at 9:16am<br /><br />BeeJay, other customers also can help and interested in solution.<br><br>So in MFC RibbonSample I have added code similar to first post<table width="99%"><tr><td><pre class="BBcode">CMainFrame::CreateRibbonBar()BOOL CMainFrame::CreateRibbonBar()<div>{</div><div>.....</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; CXTPRibbonTab* pTabHome = pRibbonBar-&gt;AddTab(ID_TAB_HOME);</div><div>&nbsp; &nbsp; pTabHome-&gt;SetCustomizeCaption(_T("(Home)"));</div><div><br></div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; <b>CXTPRibbonGroup* pGroup1 = pTabHome-&gt;AddGroup(ID_GROUP_CLIPBOARD);</b></div><div><b>&nbsp; &nbsp;&nbsp;</b></div><div><b>&nbsp; &nbsp; CXTPControlPopup* pPopup = (CXTPControlPopup*)pGroup1-&gt;Add(xtpControlSplitButtonPopup, ID_EDIT_PASTE);</b></div><div><b>&nbsp; &nbsp; pPopup-&gt;SetCaption(_T("bla bla"));</b></div><div><b>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</b></div><div><b>&nbsp; &nbsp; CXTPControlGallery* pControlGallery1 = (CXTPControlGallery*)pPopup-&gt;GetCommandBar()-&gt;GetControls()-&gt;Add(new CXTPControlGallery(), ID_GALLERY_STYLES);</b></div><div><b>&nbsp; &nbsp; pControlGallery1-&gt;ShowScrollBar(FALSE);</b></div><div><b>&nbsp; &nbsp; pControlGallery1-&gt;SetStyle(xtpButtonIconAndCaption);</b></div><div><b>&nbsp; &nbsp; pControlGallery1-&gt;SetItemsMargin(XTP_DPI_X(2), XTP_DPI_Y(2), XTP_DPI_X(2), XTP_DPI_Y(2));</b></div><div><br></div><div>.....</div><div><br></div>//excluded adding groups ID_GROUP_PARAGRAPH and ID_GROUP_STYLES</pre></td></tr></table><br>Try to change this to reproduce your issues.<br>Do I correctly understood that problem on GIF with icon in GroupPopup in&nbsp; tab "Start" &gt;&nbsp; group&nbsp;"Anzeigen" ?<br><br>Regards,<br>&nbsp;Oleksandr Lebed]]>
   </description>
   <pubDate>Mon, 05 Feb 2018 09:16:41 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23238&amp;PID=76571&amp;title=solvedcontrolgallery-ribbon-init-shown-small#76571</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED]ControlGallery Ribbon init shown small : Hi Oleksandr,sorry our application...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23238&amp;PID=76570&amp;title=solvedcontrolgallery-ribbon-init-shown-small#76570</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=7972">BeeJay</a><br /><strong>Subject:</strong> 23238<br /><strong>Posted:</strong> 05 February 2018 at 2:00am<br /><br />Hi Oleksandr,<div><br></div><div>sorry our application is far too huge and complex to pass it on. If you provide us the right places where to add TRACEs in the XTP source to narrow it down, we will happy to do this to help! Please refer to issue&nbsp;#35615 for further contact.</div><div><br></div><div>@forum: we will let you know as soon as we know how to fix it</div>]]>
   </description>
   <pubDate>Mon, 05 Feb 2018 02:00:47 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23238&amp;PID=76570&amp;title=solvedcontrolgallery-ribbon-init-shown-small#76570</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED]ControlGallery Ribbon init shown small : Hello,Can somebody give source...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23238&amp;PID=76569&amp;title=solvedcontrolgallery-ribbon-init-shown-small#76569</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8730">olebed</a><br /><strong>Subject:</strong> 23238<br /><strong>Posted:</strong> 04 February 2018 at 2:57pm<br /><br />Hello,<br><br>Can somebody give source code, which reproduce this issue. I can't reproduce it with codesample from first post. It will be ideal if this can be inserted in our RibbonSample or other sample.&nbsp;<br><br>Regards,<br>&nbsp;Oleksandr Lebed]]>
   </description>
   <pubDate>Sun, 04 Feb 2018 14:57:05 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23238&amp;PID=76569&amp;title=solvedcontrolgallery-ribbon-init-shown-small#76569</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED]ControlGallery Ribbon init shown small : any news on this?!? Problem ist...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23238&amp;PID=76558&amp;title=solvedcontrolgallery-ribbon-init-shown-small#76558</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=7972">BeeJay</a><br /><strong>Subject:</strong> 23238<br /><strong>Posted:</strong> 02 February 2018 at 2:05am<br /><br />any news on this?!? Problem ist still there :( It was promised to be addressed in 18.1 - but nothing happens at all!! :(]]>
   </description>
   <pubDate>Fri, 02 Feb 2018 02:05:44 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23238&amp;PID=76558&amp;title=solvedcontrolgallery-ribbon-init-shown-small#76558</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED]ControlGallery Ribbon init shown small : any news on this? ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23238&amp;PID=75816&amp;title=solvedcontrolgallery-ribbon-init-shown-small#75816</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=7972">BeeJay</a><br /><strong>Subject:</strong> 23238<br /><strong>Posted:</strong> 31 May 2017 at 3:56am<br /><br />any news on this?<br>]]>
   </description>
   <pubDate>Wed, 31 May 2017 03:56:23 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23238&amp;PID=75816&amp;title=solvedcontrolgallery-ribbon-init-shown-small#75816</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED]ControlGallery Ribbon init shown small : is there a relation with http:...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23238&amp;PID=75791&amp;title=solvedcontrolgallery-ribbon-init-shown-small#75791</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=365">Alex H.</a><br /><strong>Subject:</strong> 23238<br /><strong>Posted:</strong> 17 May 2017 at 3:37am<br /><br />is there a relation with <br><br><a href="http://forum.codejock.com/forum_posts.asp?TID=23212&amp;KW=DPI&amp;title=solved-ribb&#111;n-loadcommandbars-bug" rel="nofollow">http://forum.codejock.com/forum_posts.asp?TID=23212&amp;KW=DPI&amp;title=solved-ribbon-loadcommandbars-bug</a><br><br>?<br><br>because&nbsp; CXTPControlGallery::DoPropExchange also uses<br><pre style="font-family:C&#111;nsolas;font-size:13;color:black;:white;">PX_DPI_Rect</pre>]]>
   </description>
   <pubDate>Wed, 17 May 2017 03:37:25 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23238&amp;PID=75791&amp;title=solvedcontrolgallery-ribbon-init-shown-small#75791</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED]ControlGallery Ribbon init shown small : Unfortunately it does not work...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23238&amp;PID=75790&amp;title=solvedcontrolgallery-ribbon-init-shown-small#75790</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=365">Alex H.</a><br /><strong>Subject:</strong> 23238<br /><strong>Posted:</strong> 17 May 2017 at 3:17am<br /><br />Unfortunately it does not work in every situation.<br>It looks like the serialization of ribbons has problems with DPI-Awareness?<br>]]>
   </description>
   <pubDate>Wed, 17 May 2017 03:17:32 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23238&amp;PID=75790&amp;title=solvedcontrolgallery-ribbon-init-shown-small#75790</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED]ControlGallery Ribbon init shown small : I found a solution!1. It is important...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23238&amp;PID=75664&amp;title=solvedcontrolgallery-ribbon-init-shown-small#75664</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=365">Alex H.</a><br /><strong>Subject:</strong> 23238<br /><strong>Posted:</strong> 29 March 2017 at 4:55am<br /><br />I found a solution!<br><br>1. It is important to reset the Ribbon (Config) <br>2. this option helped me to solve the Problem:<br>&nbsp;pGroup-&gt;AllowReduce(xtpRibbonGroupReductionDisabled);<br><br>:-)<br>]]>
   </description>
   <pubDate>Wed, 29 Mar 2017 04:55:30 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23238&amp;PID=75664&amp;title=solvedcontrolgallery-ribbon-init-shown-small#75664</guid>
  </item> 
 </channel>
</rss>