<?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 : Controlling popup automatic closing</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Controlling popup automatic closing]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 03 Apr 2026 19:54:54 +0000</pubDate>
  <lastBuildDate>Mon, 22 Oct 2007 15:36:02 +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=8495</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[Controlling popup automatic closing : An update. The above code shows...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8495&amp;PID=27541&amp;title=controlling-popup-automatic-closing#27541</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2992">Joe19</a><br /><strong>Subject:</strong> 8495<br /><strong>Posted:</strong> 22 October 2007 at 3:36pm<br /><br />An update.&nbsp; The above code shows a complicated font combo box.&nbsp; The problem is the same if its a simple combo box with regular text.]]>
   </description>
   <pubDate>Mon, 22 Oct 2007 15:36:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8495&amp;PID=27541&amp;title=controlling-popup-automatic-closing#27541</guid>
  </item> 
  <item>
   <title><![CDATA[Controlling popup automatic closing : I am trying to implement a CXTPPopupToolBar...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8495&amp;PID=27539&amp;title=controlling-popup-automatic-closing#27539</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2992">Joe19</a><br /><strong>Subject:</strong> 8495<br /><strong>Posted:</strong> 22 October 2007 at 1:55pm<br /><br /><P><FONT size=2>I am trying to implement a CXTPPopupToolBar as part of a CXTPRibbonGroup in a ribbon bar.&nbsp; What I want is that when the popup displays for it not to close when the user uses&nbsp;any of the controls.&nbsp; I have this working except for a listbox font selector.</P><DIV>The SetCloseSubMenuOnClick method works for all the controls in my popup except for the listbox.&nbsp; If I use that method with the listbox, when the listbox expands it will not close.&nbsp; So I want the listbox to close when the user makes its selection, but not to have it close the underlying popup.</DIV><DIV>&nbsp;</DIV><DIV>Here is the code I am playing with.&nbsp; I have been experimenting with reacting to messages when the listbox is changed, but not getting good results there.&nbsp; I have not found a way to manually close the listbox once it is open.</DIV><DIV></FONT><img src="https://forum.codejock.com/uploads/20071022_135252_ScreenCapture.jpg" border="0"></DIV><DIV><FONT size=2>CXTPControlPopup* pButtonBasics = (CXTPControlPopup*)pGroupText-&gt;Add(xtpControlButtonPopup, ID_TEXT_BASICS);<BR>CXTPPopupToolBar* pBasicsBar = CXTPPopupToolBar::CreatePopupToolBar(GetCommandBars());<BR>pBasicsBar-&gt;EnableCustomization(FALSE);<BR>pBasicsBar-&gt;SetBorders(CRect(2, 2, 2, 2));<BR>pBasicsBar-&gt;DisableShadow();</FONT></DIV><P><FONT size=2>CXTPControlComboBox* pComboFont = new CXTPControlComboBox();<BR>pComboFont-&gt;SetDropDownListStyle(TRUE);<BR>pComboFont-&gt;EnableAutoComplete();<BR>pComboFont-&gt;SetCloseSubMenuOnClick(FALSE);<BR>pBasicsBar-&gt;GetControls()-&gt;Add(pComboFont, ID_FONT_FACE);</FONT></P><P><FONT size=2>CXTPPopupBar* pPopupBarGallery = CXTPControlComboBoxGalleryPopupBar::CreateComboBoxGalleryPopupBar(pCommandBars);<BR>pComboFont-&gt;SetCommandBar(pPopupBarGallery);</FONT></P><P><FONT size=2>CXTPControlGallery* pControlGallery = new CXTPControlGallery();<BR>pControlGallery-&gt;SetControlSize(CSize(290, 300));<BR>pControlGallery-&gt;ShowLabels(TRUE); // doesn't seem to do anything<BR>CXTPControlGalleryItems* pItemsFontFace = CXTPControlGalleryItems::CreateItems(pCommandBars, ID_GALLERY_FONTFACE);<BR>pItemsFontFace-&gt;SetItemSize(CSize(0, 26));<BR>CGalleryItemFontFace::AddFontItems(pItemsFontFace);</FONT></P><P><FONT size=2>pControlGallery-&gt;SetItems(pItemsFontFace);<BR>pPopupBarGallery-&gt;GetControls()-&gt;Add(pControlGallery, ID_GALLERY_FONTFACE);<BR>pPopupBarGallery-&gt;InternalRelease();<BR></FONT><FONT size=2></P><P></P></FONT>]]>
   </description>
   <pubDate>Mon, 22 Oct 2007 13:55:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8495&amp;PID=27539&amp;title=controlling-popup-automatic-closing#27539</guid>
  </item> 
 </channel>
</rss>