<?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 : ComboBox label</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : ComboBox label]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 14:04:21 +0000</pubDate>
  <lastBuildDate>Wed, 19 Dec 2007 10:27:38 +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=9146</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[ComboBox label : Hi,  in our ribbonbar is a combobox....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9146&amp;PID=29587&amp;title=combobox-label#29587</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3301">Michl</a><br /><strong>Subject:</strong> 9146<br /><strong>Posted:</strong> 19 December 2007 at 10:27am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>in our ribbonbar is a combobox. To show a label we changed the style to&nbsp;<FONT size=2>xtpButtonCaption. But if you add this combobox to quickaccess with right mouse button, the label is hiding!?</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>I found the place where style is overwritten:</FONT></DIV><DIV><FONT size=2><table width="99%"><tr><td><pre class="BBcode"></FONT></DIV><DIV>LRESULT CXTPRibbonBar::OnCustomizeCommand(WPARAM wParam, LPARAM lParam)<BR>{<BR>&nbsp;NMXTPCONTROL* tagNMCONTROL = (NMXTPCONTROL*)lParam;<BR>&nbsp;CXTPControl* pControl = (CXTPControl*)tagNMCONTROL-&gt;pControl-&gt;GetTag();</DIV><DIV>&nbsp;if (wParam == XTP_ID_RIBBONCUSTOMIZE_ADD)<BR>&nbsp;{<BR>&nbsp;&nbsp;GetCommandBars()-&gt;ClosePopups();</DIV><DIV>&nbsp;&nbsp;m_bInRecalcLayout = TRUE;<BR>&nbsp;&nbsp;pControl = m_pQuickAccessControls-&gt;AddClone(pControl, -1, TRUE);</DIV><DIV>&nbsp;&nbsp;pControl-&gt;SetBeginGroup(FALSE);<BR>&nbsp;&nbsp;pControl-&gt;SetVisible(TRUE);</DIV><DIV>&nbsp;&nbsp;if (pControl-&gt;GetType() == xtpControlGallery || pControl-&gt;GetType() == xtpControlPopup)<BR>&nbsp;&nbsp;&nbsp;pControl-&gt;SetStyle(xtpButtonIcon);<BR>&nbsp;&nbsp;else<BR>&nbsp;&nbsp;&nbsp;pControl-&gt;SetStyle(xtpButtonAutomatic);</DIV><DIV>&nbsp;&nbsp;m_bInRecalcLayout = FALSE;</DIV><DIV>&nbsp;&nbsp;OnRecalcLayout();</DIV><DIV>&nbsp;&nbsp;return TRUE;<BR>&nbsp;}</DIV><DIV></pre></td></tr></table><BR></DIV><DIV>Ok. I can overwrite the message,&nbsp;copy the source and remove the line</DIV><DIV><table width="99%"><tr><td><pre class="BBcode"></DIV><DIV>&nbsp;&nbsp;&nbsp;pControl-&gt;SetStyle(xtpButtonAutomatic);</DIV><DIV></pre></td></tr></table></DIV><DIV>&nbsp;</DIV><DIV>But why is this done??? Make this sense?</DIV><DIV>&nbsp;</DIV><DIV>Regards</DIV><DIV>Michael</DIV>]]>
   </description>
   <pubDate>Wed, 19 Dec 2007 10:27:38 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9146&amp;PID=29587&amp;title=combobox-label#29587</guid>
  </item> 
 </channel>
</rss>