<?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 : SplitButtonPopup enabling &amp; disabling</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : SplitButtonPopup enabling &amp; disabling]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 11 Jun 2026 22:37:11 +0000</pubDate>
  <lastBuildDate>Thu, 05 Mar 2009 14:40:56 +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=12462</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[SplitButtonPopup enabling &amp; disabling : i have the same problem, but i...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12462&amp;PID=46315&amp;title=splitbuttonpopup-enabling-disabling#46315</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5028">luizturmina</a><br /><strong>Subject:</strong> 12462<br /><strong>Posted:</strong> 05 March 2009 at 2:40pm<br /><br />i have the same problem, but i work in VB6.<br>Any help?<br>]]>
   </description>
   <pubDate>Thu, 05 Mar 2009 14:40:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12462&amp;PID=46315&amp;title=splitbuttonpopup-enabling-disabling#46315</guid>
  </item> 
  <item>
   <title><![CDATA[SplitButtonPopup enabling &amp; disabling : Maybe it was implied, butI didn&amp;#039;t...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12462&amp;PID=44332&amp;title=splitbuttonpopup-enabling-disabling#44332</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3003">mrmathis</a><br /><strong>Subject:</strong> 12462<br /><strong>Posted:</strong> 08 January 2009 at 6:04pm<br /><br />Maybe it was implied, but&nbsp;I didn't catch that and had to add&nbsp;<FONT color=#0000ff>this</FONT> to get exactly what I wanted:<DIV>&nbsp;</DIV><DIV>{</DIV><DIV>&nbsp;&nbsp;&nbsp; <FONT color=#0000ff>BOOL bDisableButton = (...my code...) ? TRUE : FALSE;<BR></FONT>&nbsp;&nbsp;&nbsp; pControl-&gt;SetEnabled(<FONT color=#0000ff>bDisableButton ? </FONT>TRUE_SPLITDROPDOWN<FONT color=#0000ff> : </FONT><FONT color=#0000ff>TRUE</FONT>);</DIV><DIV>}</DIV><DIV><BR>Without the bDisableButton check, my button was always disabled.&nbsp; Sorry if I was dense, but thanks for putting me on the right track.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 08 Jan 2009 18:04:30 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12462&amp;PID=44332&amp;title=splitbuttonpopup-enabling-disabling#44332</guid>
  </item> 
  <item>
   <title><![CDATA[SplitButtonPopup enabling &amp; disabling : Hi, Here non documented workaround...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12462&amp;PID=42098&amp;title=splitbuttonpopup-enabling-disabling#42098</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 12462<br /><strong>Posted:</strong> 17 October 2008 at 2:40am<br /><br />Hi,<DIV>Here non documented workaround :)</DIV><DIV>&nbsp;</DIV><DIV>void CRibbonSampleView::OnUpdateCharUnderline(CCmdUI* pCmdUI)<BR>{<BR>&nbsp;pCmdUI-&gt;m_bEnableChanged = 1;</DIV><DIV>&nbsp;CXTPControl* pControl = CXTPControl::FromUI(pCmdUI);<BR>&nbsp;if (pControl &amp;&amp; pControl-&gt;GetType() == xtpControlSplitButtonPopup)<BR>&nbsp;{<BR>&nbsp;&nbsp;pControl-&gt;SetEnabled(<strong>TRUE_SPLITDROPDOWN</strong>);<BR>&nbsp;}</DIV><DIV>}</DIV>]]>
   </description>
   <pubDate>Fri, 17 Oct 2008 02:40:13 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12462&amp;PID=42098&amp;title=splitbuttonpopup-enabling-disabling#42098</guid>
  </item> 
  <item>
   <title><![CDATA[SplitButtonPopup enabling &amp; disabling : Whoops, hit Post too quickly....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12462&amp;PID=42085&amp;title=splitbuttonpopup-enabling-disabling#42085</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3003">mrmathis</a><br /><strong>Subject:</strong> 12462<br /><strong>Posted:</strong> 16 October 2008 at 5:21pm<br /><br />Whoops, hit Post too quickly.&nbsp; What I would like to see would be the droplist control disabled only if all the commands on it are disabled, independent of whether the button half of the control is enabled or disabled.&nbsp; Is that possible?]]>
   </description>
   <pubDate>Thu, 16 Oct 2008 17:21:59 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12462&amp;PID=42085&amp;title=splitbuttonpopup-enabling-disabling#42085</guid>
  </item> 
  <item>
   <title><![CDATA[SplitButtonPopup enabling &amp; disabling : I have several xtpControlSplitButtonPopup...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12462&amp;PID=42084&amp;title=splitbuttonpopup-enabling-disabling#42084</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3003">mrmathis</a><br /><strong>Subject:</strong> 12462<br /><strong>Posted:</strong> 16 October 2008 at 5:18pm<br /><br />I have several xtpControlSplitButtonPopup controls on my ribbon bar.&nbsp; It seems that the enabled state of the droplist half of the control (the little down-arrow) is tied to the enabled state of the button half of the control.&nbsp; I would like to separate this linkage, since I have cases in which the command tied to the button is disabled, but one or more of the commands on the droplist are valid/enabled.&nbsp; In those cases, my users can't get to the enabled commands, since the entire control is disabled and the list won't drop.&nbsp; Is there any way to get around this?]]>
   </description>
   <pubDate>Thu, 16 Oct 2008 17:18:40 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12462&amp;PID=42084&amp;title=splitbuttonpopup-enabling-disabling#42084</guid>
  </item> 
 </channel>
</rss>