<?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 : CXTColorPicker popup font problem</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Controls : CXTColorPicker popup font problem]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 09:34:42 +0000</pubDate>
  <lastBuildDate>Thu, 29 Jul 2010 09:57:58 +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=17029</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[CXTColorPicker popup font problem : color picker used in dialog inserted...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17029&amp;PID=59532&amp;title=cxtcolorpicker-popup-font-problem#59532</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3036">Jimor Marlow</a><br /><strong>Subject:</strong> 17029<br /><strong>Posted:</strong> 29 July 2010 at 9:57am<br /><br />color picker used in dialog inserted to TaskPanel. All popup font are huge, but in "More Colors" (ColorDlg) all ok. How to set font for popup correctly?<br /><br /><img src="uploads/20100729_095150_xtpcolorpicker_.png" border="0"><br /><br />I've tried:<br />//&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;m_cpMarker.GetTheme()-&gt;SetThemeFont( XTPPaintManager()-&gt;GetRegularFont() );<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;m_cpMarker.SetFont( XTPPaintManager()-&gt;GetRegularFont() );<br /><br />No any luck. I've even tried to overload OnShowPopup() in clor picker:<br /><br /> void CXTColorPickerEx::OnShowPopup()<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Get the size of the picker button.<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CRect rcWindow;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;GetWindowRect(&rcWindow);<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Create the color popup window.<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CXTColorPopup *pColorPopup = new CXTColorPopup(TRUE);<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if (m_pExtendedColors)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pColorPopup-&gt;SetColors(m_pExtendedColors, m_nExtendedColors, m_nCols);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pColorPopup-&gt;Create(rcWindow, this, m_dwPopup, GetColor(), GetDefaultColor());<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pColorPopup-&gt;SetFont(XTPPaintManager()-&gt;GetRegularFont()); // ADDED, but no differnce<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pColorPopup-&gt;SetFocus();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}]]>
   </description>
   <pubDate>Thu, 29 Jul 2010 09:57:58 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17029&amp;PID=59532&amp;title=cxtcolorpicker-popup-font-problem#59532</guid>
  </item> 
 </channel>
</rss>