<?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 : want to add border to CXTButt&#111;n</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : want to add border to CXTButt&#111;n]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 19 Apr 2026 18:13:47 +0000</pubDate>
  <lastBuildDate>Thu, 08 Apr 2004 17:27:55 +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=152</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[want to add border to CXTButt&#111;n : I would like to do this also....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=152&amp;PID=1580&amp;title=want-to-add-border-to-cxtbutton#1580</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=441">camow</a><br /><strong>Subject:</strong> 152<br /><strong>Posted:</strong> 08 April 2004 at 5:27pm<br /><br /><P>I would like to do this also. It would allow me to standardize on CXTButton everywhere instead of CButton and let me do the things that should have been simple in the first place - like setting the face color.</P><P>But it seems like CXTButton isn't a superset of CButton in looks.&nbsp; Because these are the only possible styles(?)</P><P>const UINT  BS_XT_FLAT&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp;&nbsp; = 0x0001; // Draws a flat button.<BR>const UINT  BS_XT_SEMIFLAT&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp; = 0x0002; // Draws a semi-flat button.<BR>const UINT  BS_XT_TWOROWS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp; = 0x0004; // Draws images and text are centered.<BR></P>]]>
   </description>
   <pubDate>Thu, 08 Apr 2004 17:27:55 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=152&amp;PID=1580&amp;title=want-to-add-border-to-cxtbutton#1580</guid>
  </item> 
  <item>
   <title><![CDATA[want to add border to CXTButt&#111;n : Hi, I want to add a black border...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=152&amp;PID=317&amp;title=want-to-add-border-to-cxtbutton#317</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=141">msthomas</a><br /><strong>Subject:</strong> 152<br /><strong>Posted:</strong> 08 September 2003 at 9:38am<br /><br /><P>Hi,</P><P>I want to add a black border to a flat style CXTButton within a dialog box. I would be very grateful for details on how to do this.</P><P>I have subclassed the OK button of the dialog&nbsp;within OnInitDialog(). The result is that the OK button is white and flat (which is what I want) but it needs a border&nbsp;:-</P><P><strong>m_ok_button.SubclassDlgItem(IDOK, this);<BR>m_ok_button.SetColorFace(RGB(255, 255, 255) ); //white<BR>m_ok_button.SetXButtonStyle(BS_XT_XPFLAT);</strong></P><P>And the m_ok_button is declared as :-</P><P><strong>CXTButton&nbsp;&nbsp; m_ok_button</strong></P><P>Thanks for any help.</P><P>Michael</P><P><strong></strong>&nbsp;</P><P><strong></strong></P>]]>
   </description>
   <pubDate>Mon, 08 Sep 2003 09:38:26 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=152&amp;PID=317&amp;title=want-to-add-border-to-cxtbutton#317</guid>
  </item> 
 </channel>
</rss>