<?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 &#039;Automatic&#039; color</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : CXTColorPicker &#039;Automatic&#039; color]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 05 Apr 2026 19:03:03 +0000</pubDate>
  <lastBuildDate>Fri, 15 Sep 2006 11:35:50 +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=5053</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 &#039;Automatic&#039; color :  That worked great! Thanks! ...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5053&amp;PID=15740&amp;title=cxtcolorpicker-automatic-color#15740</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=996">DaveS</a><br /><strong>Subject:</strong> 5053<br /><strong>Posted:</strong> 15 September 2006 at 11:35am<br /><br /><DIV>&nbsp;</DIV><DIV>That worked great! Thanks!</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 15 Sep 2006 11:35:50 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5053&amp;PID=15740&amp;title=cxtcolorpicker-automatic-color#15740</guid>
  </item> 
  <item>
   <title><![CDATA[CXTColorPicker &#039;Automatic&#039; color : It is up to you to code what Automatic...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5053&amp;PID=15709&amp;title=cxtcolorpicker-automatic-color#15709</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=203">Ark42</a><br /><strong>Subject:</strong> 5053<br /><strong>Posted:</strong> 14 September 2006 at 8:47pm<br /><br />It is up to you to code what Automatic does, but there isn't an option I saw to remoev the button if you don't want it. What I did was basically copy a little bit and modify from the CodeJock source:<br><br>//.h file<br>class CXTColorPickerEx : public CXTColorPicker<br>{<br>&nbsp;&nbsp;&nbsp; DECLARE_DYNAMIC(CXTColorPickerEx)<br>public:<br>&nbsp;&nbsp;&nbsp; afx_msg void OnShowPopup();<br>&nbsp;&nbsp;&nbsp; DECLARE_MESSAGE_MAP()<br>};<br>class CXTColorPopupEx : public CXTColorPopup<br>{<br>protected:<br>&nbsp;&nbsp;&nbsp; afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);<br>&nbsp;&nbsp;&nbsp; DECLARE_MESSAGE_MAP()<br>};<br><br>//.cpp file<br><br>const UINT WM_XT_SHOWPOPUP = (WM_XTP_CONTROLS_BASE + 29);<br><br>IMPLEMENT_DYNAMIC(CXTColorPickerEx, CXTColorPicker)<br><br>BEGIN_MESSAGE_MAP(CXTColorPickerEx, CXTColorPicker)<br>&nbsp;&nbsp;&nbsp; ON_MESSAGE_VOID(WM_XT_SHOWPOPUP, OnShowPopup)<br>END_MESSAGE_MAP()<br><br>void CXTColorPickerEx::OnShowPopup()<br>{<br>&nbsp;&nbsp;&nbsp; CRect rcWindow;<br>&nbsp;&nbsp;&nbsp; GetWindowRect(&amp;rcWindow);<br><br>&nbsp;&nbsp;&nbsp; CXTColorPopupEx *pColorPopup = new CXTColorPopupEx(TRUE, 0); //use Ex version<br>&nbsp;&nbsp;&nbsp; pColorPopup-&gt;Create(rcWindow, this, m_dwPopup, GetColor(), GetDefaultColor());<br>&nbsp;&nbsp;&nbsp; pColorPopup-&gt;SetFocus();<br>}<br><br>BEGIN_MESSAGE_MAP(CXTColorPopupEx, CXTColorPopup)<br>&nbsp;&nbsp;&nbsp; ON_WM_CREATE()<br>END_MESSAGE_MAP()<br><br>int CXTColorPopupEx::OnCreate(LPCREATESTRUCT lpCreateStruct) <br>{<br>&nbsp;&nbsp;&nbsp; m_rcBorders.top -= 27;<br><br>&nbsp;&nbsp;&nbsp; CXTColorPopup::OnCreate(lpCreateStruct);<br><br>&nbsp;&nbsp;&nbsp; CRect rect;<br>&nbsp;&nbsp;&nbsp; GetWindowRect(&amp;rect);<br>&nbsp;&nbsp;&nbsp; rect.bottom -= 27;<br>&nbsp;&nbsp;&nbsp; MoveWindow(rect, FALSE);<br><br>&nbsp;&nbsp;&nbsp; return 0;<br>}<br><br>]]>
   </description>
   <pubDate>Thu, 14 Sep 2006 20:47:38 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5053&amp;PID=15709&amp;title=cxtcolorpicker-automatic-color#15709</guid>
  </item> 
  <item>
   <title><![CDATA[CXTColorPicker &#039;Automatic&#039; color :   I am using a CXTColorPicker,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5053&amp;PID=15702&amp;title=cxtcolorpicker-automatic-color#15702</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=996">DaveS</a><br /><strong>Subject:</strong> 5053<br /><strong>Posted:</strong> 14 September 2006 at 2:00pm<br /><br /><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><DIV>&nbsp;</DIV><DIV>I am using a CXTColorPicker, but the top portion of the color selector that says either ‘Automatic’ or ‘No Fill’ doesn’t make sense in my application. However I can find no way to disable it. I can comment out the code that creates it in CXTColorSelectorCtrl, but then that leaves an awkward-looking gap. Can that top portion of the selector be made optional?</SPAN></FONT></DIV><P =Ms&#111;normal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><?:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p>&nbsp;</o:p></SPAN></FONT><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">BTW, the ‘Automatic’ color doesn’t seem to work – it always shows black no matter what the default color is.</SPAN></FONT></P>]]>
   </description>
   <pubDate>Thu, 14 Sep 2006 14:00:12 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5053&amp;PID=15702&amp;title=cxtcolorpicker-automatic-color#15702</guid>
  </item> 
 </channel>
</rss>