<?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 : Transparent border with themed CXTPControlCustom</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Transparent border with themed CXTPControlCustom]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 02:45:56 +0000</pubDate>
  <lastBuildDate>Fri, 01 Jun 2012 04:41:29 +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=19827</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[Transparent border with themed CXTPControlCustom : Using Xtreme ToolkitProV13.4.2,I...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=19827&amp;PID=68372&amp;title=transparent-border-with-themed-cxtpcontrolcustom#68372</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3827">DoubleHammer</a><br /><strong>Subject:</strong> 19827<br /><strong>Posted:</strong> 01 June 2012 at 4:41am<br /><br /><p ="Ms&#111;normal"><span style="font-size: 9pt; line-height: 115%; ">Using Xtreme ToolkitProV13.4.2,&nbsp;</span><b style="font-size: 11px; line-height: 15px; ">&nbsp;</b><span style="font-size:9.0pt;line-height:115%;font-family:  &quot;Verdana&quot;,&quot;sans-serif&quot;">I have added a </span><span style="font-size:9.0pt;line-height:115%;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;  mso-bidi-font-family:&quot;Courier New&quot;;mso-no-proof:yes">CXTPControlCustom</span><span style="font-size:9.0pt;line-height:115%;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;"> controlcontaining a </span><span style="font-size:9.0pt;line-height:115%;font-family:  &quot;Verdana&quot;,&quot;sans-serif&quot;;mso-bidi-font-family:&quot;Courier New&quot;;mso-no-proof:yes">CXTDateTimeCtrl</span><span style="font-size:9.0pt;line-height:115%;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">control, to a CXTPCommandBar . However, when using certain themes, the </span><span style="font-size:9.0pt;line-height:115%;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;  mso-bidi-font-family:&quot;Courier New&quot;;mso-no-proof:yes">CXTDateTimeCtrl controlhas a transparent border as shown below. Is there a work around for this, as I stillwant to use the same theme.</span></p><p ="Ms&#111;normal"><span style="font-size:9.0pt;line-height:115%;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;  mso-bidi-font-family:&quot;Courier New&quot;;mso-no-proof:yes"><img src="uploads/3827/CommandBar_2.png" height="150" width="945" border="0" /><br></span></p><p ="Ms&#111;normal"><p ="Ms&#111;normal" style="margin-bottom: 0.0001pt; "><font face="Courier New" size="2"><span style="line-height: normal;"><p ="Ms&#111;normal" style="margin-bottom: 0.0001pt; "><br></p><p ="Ms&#111;normal" style="margin-bottom: 0.0001pt; ">// Code</p><p ="Ms&#111;normal" style="margin-bottom: 0.0001pt; ">CXTPCommandBars* pCommandBars = GetParentFrame()-&gt;GetCommandBars();</p><p ="Ms&#111;normal" style="margin-bottom: 0.0001pt; ">// Add the date restrictions command bar</p><p ="Ms&#111;normal" style="margin-bottom: 0.0001pt; ">pCommandBars-&gt;Add(_T("Report Date Options"), xtpBarTop);&nbsp;</p><p ="Ms&#111;normal" style="margin-bottom: 0.0001pt; ">// Add some other controls….&nbsp;</p><p ="Ms&#111;normal" style="margin-bottom: 0.0001pt; ">// Create a CXTDateTimeCtrl control</p><p ="Ms&#111;normal" style="margin-bottom: 0.0001pt; ">if (!m_dateFrom.Create(WS_TABSTOP | WS_CHILD | WS_VISIBLE | WS_BORDER,</p><p ="Ms&#111;normal" style="margin-bottom: 0.0001pt; ">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CRect(0, 0, 100, 22), this, ID_DATE_FROM))</p><p ="Ms&#111;normal" style="margin-bottom: 0.0001pt; ">{</p><p ="Ms&#111;normal" style="margin-bottom: 0.0001pt; "><span ="Apple-tab-span" style="white-space:pre">	</span>return FALSE;</p><p ="Ms&#111;normal" style="margin-bottom: 0.0001pt; ">}</p><p ="Ms&#111;normal" style="margin-bottom: 0.0001pt; ">&nbsp; &nbsp; &nbsp;</p><p ="Ms&#111;normal" style="margin-bottom: 0.0001pt; ">// Create a new CXTPControlCustom* control from the m_date control.</p><p ="Ms&#111;normal" style="margin-bottom: 0.0001pt; ">CXTPControlCustom* pControlDateFrom = CXTPControlCustom::CreateControlCustom(&amp;m_dateFrom);</p><p ="Ms&#111;normal" style="margin-bottom: 0.0001pt; ">m_pControl = (CXTPControlCustom*)pCommandBar-&gt;GetControls()-&gt;Add(pControlDateFrom, ID_DATE_FROM);</p><p ="Ms&#111;normal" style="margin-bottom: 0.0001pt; ">pControlDateFrom-&gt;SetFlags(xtpFlagManualUpdate);</p></span></font></p><p ="Ms&#111;normal"><o:p></o:p></p></p>]]>
   </description>
   <pubDate>Fri, 01 Jun 2012 04:41:29 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=19827&amp;PID=68372&amp;title=transparent-border-with-themed-cxtpcontrolcustom#68372</guid>
  </item> 
 </channel>
</rss>