<?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 : Ownerdrawn CXTPControlButton</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Ownerdrawn CXTPControlButton]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 11 Apr 2026 05:46:11 +0000</pubDate>
  <lastBuildDate>Tue, 10 Apr 2007 07:32:07 +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=6804</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[Ownerdrawn CXTPControlButton : Thank you, anyway.I&amp;#039;m not...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6804&amp;PID=21786&amp;title=ownerdrawn-cxtpcontrolbutton#21786</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2014">akur</a><br /><strong>Subject:</strong> 6804<br /><strong>Posted:</strong> 10 April 2007 at 7:32am<br /><br />Thank you, anyway.<br>I'm not glad to hear this, but I somehow knew this will be your answer.&nbsp;<img src="http://forum.codejock.com/smileys/smiley1.gif" border="0" align="absmiddle">]]>
   </description>
   <pubDate>Tue, 10 Apr 2007 07:32:07 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6804&amp;PID=21786&amp;title=ownerdrawn-cxtpcontrolbutton#21786</guid>
  </item> 
  <item>
   <title><![CDATA[Ownerdrawn CXTPControlButton : Hi, You can&amp;#039;t achieve this....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6804&amp;PID=21782&amp;title=ownerdrawn-cxtpcontrolbutton#21782</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 6804<br /><strong>Posted:</strong> 10 April 2007 at 7:22am<br /><br /><DIV>Hi,</DIV><DIV>You can't achieve this.</DIV>]]>
   </description>
   <pubDate>Tue, 10 Apr 2007 07:22:44 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6804&amp;PID=21782&amp;title=ownerdrawn-cxtpcontrolbutton#21782</guid>
  </item> 
  <item>
   <title><![CDATA[Ownerdrawn CXTPControlButton : Hello,yes, you&amp;#039;re right....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6804&amp;PID=21779&amp;title=ownerdrawn-cxtpcontrolbutton#21779</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2014">akur</a><br /><strong>Subject:</strong> 6804<br /><strong>Posted:</strong> 10 April 2007 at 5:13am<br /><br />Hello,<br><br>yes, you're right. Sorry, my initial question should not be related to CXTPControlbutton::Draw(), but to <font color="#0000ff"><b>CXTPPaintManager::DrawImage()</b></font>. I want to keep XTP's drawing of buttons, <font color="#0000ff"><b>except the </b><b>button image</b></font>.<br><br>So the right question would be: how do I achieve that DrawImage() is called inside CXTPPaintManager::DrawControlToolBarParent() without specifying an icon ID for my CXTPControlButton override?<br>]]>
   </description>
   <pubDate>Tue, 10 Apr 2007 05:13:46 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6804&amp;PID=21779&amp;title=ownerdrawn-cxtpcontrolbutton#21779</guid>
  </item> 
  <item>
   <title><![CDATA[Ownerdrawn CXTPControlButton : ps. Here simple sample: Logo.zip...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6804&amp;PID=21705&amp;title=ownerdrawn-cxtpcontrolbutton#21705</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 6804<br /><strong>Posted:</strong> 05 April 2007 at 7:50am<br /><br /><DIV>ps. Here simple sample: <a href="https://forum.codejock.com/uploads/20070405_075012_Logo.zip" target="_blank">Logo.zip</A></DIV>]]>
   </description>
   <pubDate>Thu, 05 Apr 2007 07:50:29 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6804&amp;PID=21705&amp;title=ownerdrawn-cxtpcontrolbutton#21705</guid>
  </item> 
  <item>
   <title><![CDATA[Ownerdrawn CXTPControlButton : Hello,  it called always. ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6804&amp;PID=21704&amp;title=ownerdrawn-cxtpcontrolbutton#21704</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 6804<br /><strong>Posted:</strong> 05 April 2007 at 7:49am<br /><br />Hello,<DIV>&nbsp;</DIV><DIV>it called always.</DIV>]]>
   </description>
   <pubDate>Thu, 05 Apr 2007 07:49:29 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6804&amp;PID=21704&amp;title=ownerdrawn-cxtpcontrolbutton#21704</guid>
  </item> 
  <item>
   <title><![CDATA[Ownerdrawn CXTPControlButton : Hello,I would need to have toolbar...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6804&amp;PID=21700&amp;title=ownerdrawn-cxtpcontrolbutton#21700</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2014">akur</a><br /><strong>Subject:</strong> 6804<br /><strong>Posted:</strong> 05 April 2007 at 4:50am<br /><br />Hello,<br><br>I would need to have toolbar buttons which are <font color="#0000ff"><b>completely drawn by ourselves</b></font>, _not_ specifying any icon for these buttons.<br><br>The first idea was to override <b><font color="#0000ff">CXTPControlButton::Draw()</font></b> to draw the entire bitmap of the button, but unfortunately this method is not called by XTP unless I specify an icon for that button previously (through <font face="Courier New, Courier, mono">pButton-&gt;SetIconId()</font> or <font face="Courier New, Courier, mono">pButton-&gt;SetCustomIcon()</font>).<br><br>Do you know a way how to achieve a call to that Draw() method <font color="#0000ff"><b>without specifying any icon ID</b></font> for the buttons?<br><br>Thank you very much, in advance!<br><br><br>]]>
   </description>
   <pubDate>Thu, 05 Apr 2007 04:50:58 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6804&amp;PID=21700&amp;title=ownerdrawn-cxtpcontrolbutton#21700</guid>
  </item> 
 </channel>
</rss>