<?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 : SetCloseSubMenuOnClick - redraw problem</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : SetCloseSubMenuOnClick - redraw problem]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 12 Jun 2026 04:42:35 +0000</pubDate>
  <lastBuildDate>Thu, 21 May 2009 08:42:53 +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=14348</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[SetCloseSubMenuOnClick - redraw problem : hi,  think best way is pComma...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14348&amp;PID=49249&amp;title=setclosesubmenuonclick-redraw-problem#49249</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 14348<br /><strong>Posted:</strong> 21 May 2009 at 8:42am<br /><br /><P>hi, </P><DIV>think best way is pCommandBars-&gt;GetActions()-&gt;GetAction(Id)-&gt;RedrawControls();</DIV>]]>
   </description>
   <pubDate>Thu, 21 May 2009 08:42:53 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14348&amp;PID=49249&amp;title=setclosesubmenuonclick-redraw-problem#49249</guid>
  </item> 
  <item>
   <title><![CDATA[SetCloseSubMenuOnClick - redraw problem : Is there a nice way of getting...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14348&amp;PID=49243&amp;title=setclosesubmenuonclick-redraw-problem#49243</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 14348<br /><strong>Posted:</strong> 21 May 2009 at 6:28am<br /><br />Is there a nice way of getting the gallery pointer?<DIV></DIV><DIV></DIV>Do I have to use pRibbon-&gt;Find...?]]>
   </description>
   <pubDate>Thu, 21 May 2009 06:28:03 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14348&amp;PID=49243&amp;title=setclosesubmenuonclick-redraw-problem#49243</guid>
  </item> 
  <item>
   <title><![CDATA[SetCloseSubMenuOnClick - redraw problem : Hi,  We don&amp;#039;t have SetChecked...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14348&amp;PID=49227&amp;title=setclosesubmenuonclick-redraw-problem#49227</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 14348<br /><strong>Posted:</strong> 21 May 2009 at 1:34am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>We don't have SetChecked method - so its part of your code - add pGallery-&gt;InvalidateItems(); after.</DIV>]]>
   </description>
   <pubDate>Thu, 21 May 2009 01:34:32 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14348&amp;PID=49227&amp;title=setclosesubmenuonclick-redraw-problem#49227</guid>
  </item> 
  <item>
   <title><![CDATA[SetCloseSubMenuOnClick - redraw problem : Here&amp;#039;s a popup-gallery (SetCloseSubMenuOnClick...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14348&amp;PID=49198&amp;title=setclosesubmenuonclick-redraw-problem#49198</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 14348<br /><strong>Posted:</strong> 20 May 2009 at 7:53am<br /><br /><DIV>Here's a popup-gallery (SetCloseSubMenuOnClick = FALSE):</DIV><DIV><img src="http://forum.codejock.com/uploads/20090520_075130_gallery_redraw.bmp" border="0"></DIV><DIV>&nbsp;</DIV><DIV>"Clear" has been pressed, but the list is not redrawn until I hover it with the mouse!</DIV><DIV>&nbsp;</DIV><DIV><BR>When I press "Clear" the following code is executed:</DIV><DIV>&nbsp;</DIV><DIV>void CMainFrame::OnGalleryClear()<BR>{<BR>&nbsp;for (int i = 0; i &lt; m_pItems-&gt;GetItemCount(); ++i)<BR>&nbsp;{<BR>&nbsp; CControlGalleryItem *pItem = DYNAMIC_DOWNCAST(CControlGalleryItem, m_pItems-&gt;GetItem(i));<BR>&nbsp; ASSERT(pItem);<BR>&nbsp; if (pItem)<BR>&nbsp;&nbsp; pItem-&gt;SetChecked(FALSE);<BR>&nbsp;}<BR>}</DIV><DIV><BR><strong>Q: How do I enforce a redraw of the list here?</strong></DIV>]]>
   </description>
   <pubDate>Wed, 20 May 2009 07:53:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14348&amp;PID=49198&amp;title=setclosesubmenuonclick-redraw-problem#49198</guid>
  </item> 
 </channel>
</rss>