<?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 : CXTButton</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : CXTButton]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 03 Apr 2026 23:49:09 +0000</pubDate>
  <lastBuildDate>Sun, 03 Jun 2007 09:33: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=7244</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[CXTButton : Oleg  It was my customers that...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7244&amp;PID=23399&amp;title=cxtbutton#23399</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=537">Kenneth</a><br /><strong>Subject:</strong> 7244<br /><strong>Posted:</strong> 03 June 2007 at 9:33am<br /><br />Oleg<DIV>&nbsp;</DIV><DIV>It was my customers that did not like the double border, not me.&nbsp; However the owner draw flag works great, and I don't have to modify the toolkit.&nbsp; Thanks a lot for resolving this!</DIV>]]>
   </description>
   <pubDate>Sun, 03 Jun 2007 09:33:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7244&amp;PID=23399&amp;title=cxtbutton#23399</guid>
  </item> 
  <item>
   <title><![CDATA[CXTButton : Try standard dialog with standard...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7244&amp;PID=23397&amp;title=cxtbutton#23397</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 7244<br /><strong>Posted:</strong> 03 June 2007 at 5:02am<br /><br />Try standard dialog with standard Ok and Cancel button - after you set focus to cancel you will see border around cancel - it show that button now default.&nbsp; OS automatically change style from BS_PUSHBUTTON to BS_DEFPUSHBUTTON if it become selected. <DIV>&nbsp;</DIV><DIV>btw if you don't like it - in propeties of this button set Owner drawn.</DIV>]]>
   </description>
   <pubDate>Sun, 03 Jun 2007 05:02:50 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7244&amp;PID=23397&amp;title=cxtbutton#23397</guid>
  </item> 
  <item>
   <title><![CDATA[CXTButton : Hi;   Perhaps if (m_bWordTheme...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7244&amp;PID=23395&amp;title=cxtbutton#23395</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=109">mgampi</a><br /><strong>Subject:</strong> 7244<br /><strong>Posted:</strong> 03 June 2007 at 4:32am<br /><br />Hi; <DIV>&nbsp;</DIV><DIV>Perhaps if (m_bWordTheme &amp;&amp; pButton-&gt;GetButtonStyle() == BS_DEFPUSHBUTTON)</DIV><DIV>&nbsp;</DIV><DIV>should be changed to</DIV><DIV>&nbsp;</DIV><DIV><DIV>if (m_bWordTheme &amp;&amp; <strong>(pButton-&gt;GetButtonStyle()&nbsp;&amp; BS_DEFPUSHBUTTON)==BS_DEFPUSHBUTTON</strong>)</DIV></DIV>]]>
   </description>
   <pubDate>Sun, 03 Jun 2007 04:32:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7244&amp;PID=23395&amp;title=cxtbutton#23395</guid>
  </item> 
  <item>
   <title><![CDATA[CXTButton : Oleg  You are correct, if I...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7244&amp;PID=23389&amp;title=cxtbutton#23389</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=537">Kenneth</a><br /><strong>Subject:</strong> 7244<br /><strong>Posted:</strong> 02 June 2007 at 12:21pm<br /><br />Oleg<DIV>&nbsp;</DIV><DIV>You are correct, if I remove the:</DIV><DIV>&nbsp;</DIV><DIV>if (m_bWordTheme &amp;&amp; pButton-&gt;GetButtonStyle() == BS_DEFPUSHBUTTON)"</DIV><DIV>&nbsp;</DIV><DIV>then the double border does not get drawn.</DIV><DIV>&nbsp;</DIV><DIV>What I don't understand is why if I remove the BS_DEFPUSHBUTTON style bit after I create the button, it still gets drawn with the double border.&nbsp; Is something in toolkitpro&nbsp;setting the BS_DEFPUSHBUTTON style regardless of what I set it as?</DIV><DIV>&nbsp;</DIV><DIV>In a test, I create the button, reset the BS_DEFPUSHBUTTON bit, then call pButton-&gt;GetButtonStyle(), the BS_DEFPUSHBUTTON bit IS NOT set.&nbsp; However the double border still gets drawn.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Sat, 02 Jun 2007 12:21:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7244&amp;PID=23389&amp;title=cxtbutton#23389</guid>
  </item> 
  <item>
   <title><![CDATA[CXTButton : Hello, You can only patch sources....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7244&amp;PID=23382&amp;title=cxtbutton#23382</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 7244<br /><strong>Posted:</strong> 02 June 2007 at 3:52am<br /><br /><P>Hello,</P><DIV>You can only patch sources. in </DIV><DIV>CXTButtonThemeOffice2003::DrawButtonThemeBackground comment</DIV><DIV>&nbsp;</DIV><DIV>"if (m_bWordTheme &amp;&amp; pButton-&gt;GetButtonStyle() == BS_DEFPUSHBUTTON)"<BR>block.</DIV>]]>
   </description>
   <pubDate>Sat, 02 Jun 2007 03:52:51 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7244&amp;PID=23382&amp;title=cxtbutton#23382</guid>
  </item> 
  <item>
   <title><![CDATA[CXTButton : In fact, what the code really...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7244&amp;PID=23373&amp;title=cxtbutton#23373</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=537">Kenneth</a><br /><strong>Subject:</strong> 7244<br /><strong>Posted:</strong> 01 June 2007 at 2:01pm<br /><br /><P>In fact, what the code really does is to&nbsp;draw the double border for the LAST SELECTED BUTTON, not the default button.&nbsp; &nbsp;&nbsp;</P><P>Is there any way to turn off the drawing of the&nbsp;double button border?</P>]]>
   </description>
   <pubDate>Fri, 01 Jun 2007 14:01:33 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7244&amp;PID=23373&amp;title=cxtbutton#23373</guid>
  </item> 
  <item>
   <title><![CDATA[CXTButton : Yes, but I did not select that...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7244&amp;PID=23336&amp;title=cxtbutton#23336</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=537">Kenneth</a><br /><strong>Subject:</strong> 7244<br /><strong>Posted:</strong> 31 May 2007 at 8:45am<br /><br />Yes, but I did not select that option.&nbsp; So how do I turn it off?]]>
   </description>
   <pubDate>Thu, 31 May 2007 08:45:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7244&amp;PID=23336&amp;title=cxtbutton#23336</guid>
  </item> 
  <item>
   <title><![CDATA[CXTButton : Hi, From 11.1.x release CXTButton...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7244&amp;PID=23322&amp;title=cxtbutton#23322</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 7244<br /><strong>Posted:</strong> 31 May 2007 at 12:51am<br /><br /><P>Hi,</P><DIV>From 11.1.x release CXTButton supports BS_DEFAULT style - this border shows that its default button - will be execute if user press enter.</DIV>]]>
   </description>
   <pubDate>Thu, 31 May 2007 00:51:09 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7244&amp;PID=23322&amp;title=cxtbutton#23322</guid>
  </item> 
  <item>
   <title><![CDATA[CXTButton : The default behavior of the CXTButton...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7244&amp;PID=23259&amp;title=cxtbutton#23259</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=537">Kenneth</a><br /><strong>Subject:</strong> 7244<br /><strong>Posted:</strong> 25 May 2007 at 4:37pm<br /><br /><P>The default behavior of the CXTButton appears to have been changed in version 11.1.2 as compared to version 10.4.2.&nbsp; The latest version draws a double width border around the button if it has been selected.</P><DIV>The following image,&nbsp;on the left, is the button prior to being selected and,&nbsp;on the right, the button after it has been selected.</DIV><DIV>&nbsp;</DIV><DIV><img src="https://forum.codejock.com/uploads/20070529_223459_Image.bmp" border="0"></DIV><DIV>&nbsp;</DIV><DIV>The button theme is set to Microsoft Office 2003, enable word theme with a border style of semi-flat.&nbsp; The show focus option is not selected.&nbsp; The button style was set as follows:</DIV><DIV>&nbsp;</DIV><DIV>m_btnGo.SetXButtonStyle(BS_XT_TWOROWS);</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>The difference can be seen in the toolkit pro button files sample program.&nbsp; In the 10.4.2 sample, the double width border is never drawn, no matter what option is selected.&nbsp; In the 11.1.2 sample, the double width border is drawn.&nbsp; There appears to be no logic as to why it is drawn.</DIV><DIV>&nbsp;</DIV><DIV>Is this some type of theme drawing error?&nbsp; What needs to be done to prevent the double border when a button has been selected?</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 25 May 2007 16:37:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7244&amp;PID=23259&amp;title=cxtbutton#23259</guid>
  </item> 
 </channel>
</rss>