<?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 PNG image on Pushbutton</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Suite Pro : Transparent PNG image on Pushbutton]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 21 Apr 2026 05:39:01 +0000</pubDate>
  <lastBuildDate>Wed, 20 Oct 2010 09:33: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=7443</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 PNG image on Pushbutton : Hi Oleg  I have already tryed...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7443&amp;PID=61054&amp;title=transparent-png-image-on-pushbutton#61054</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5052">ideafix</a><br /><strong>Subject:</strong> 7443<br /><strong>Posted:</strong> 20 October 2010 at 9:33am<br /><br />Hi Oleg<DIV>&nbsp;</DIV><DIV>I have already tryed the code "translated" to vb.net but still appears a grey background. Is there any way to remove the grey background? I've tried load *.ico files and *.png files, but always appears the Grey Background...</DIV><DIV>&nbsp;</DIV><DIV>Pelase help me!</DIV>]]>
   </description>
   <pubDate>Wed, 20 Oct 2010 09:33:50 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7443&amp;PID=61054&amp;title=transparent-png-image-on-pushbutton#61054</guid>
  </item> 
  <item>
   <title><![CDATA[Transparent PNG image on Pushbutton : Hi, This code works for me:   Stream...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7443&amp;PID=23937&amp;title=transparent-png-image-on-pushbutton#23937</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 7443<br /><strong>Posted:</strong> 26 June 2007 at 1:48am<br /><br /><P>Hi,</P><DIV>This code works for me:</DIV><DIV>&nbsp;</DIV><DIV><FONT size=1><P></FONT><FONT color=#2b91af size=1>Stream</FONT><FONT size=1> </FONT><FONT color=#020002 size=1>imageStream</FONT><FONT size=1> = </FONT><FONT color=#020002 size=1>assembly</FONT><FONT size=1>.</FONT><FONT color=#020002 size=1>GetManifestResourceStream</FONT><FONT size=1>(</FONT><FONT color=#a31515 size=1>"WindowsApplication5.AlphaHelp.png"</FONT><FONT size=1>);</P><P>&nbsp;</P><P></FONT><FONT color=#2b91af size=1>Bitmap</FONT><FONT size=1> </FONT><FONT color=#020002 size=1>bmp</FONT><FONT size=1> = </FONT><FONT color=#0000ff size=1>new</FONT><FONT size=1> </FONT><FONT color=#2b91af size=1>Bitmap</FONT><FONT size=1>(</FONT><FONT color=#020002 size=1>imageStream</FONT><FONT size=1>);</P><P></FONT><FONT color=#020002 size=1>XtremeSuiteControls</FONT><FONT size=1>.</FONT><FONT color=#2b91af size=1>SuiteControlsGlobalSettings</FONT><FONT size=1> </FONT><FONT color=#020002 size=1>gs</FONT><FONT size=1> = </FONT><FONT color=#0000ff size=1>new</FONT><FONT size=1> </FONT><FONT color=#020002 size=1>XtremeSuiteControls</FONT><FONT size=1>.</FONT><FONT color=#2b91af size=1>SuiteControlsGlobalSettings</FONT><FONT size=1>();</P><P></FONT><FONT color=#020002 size=1>gs</FONT><FONT size=1>.</FONT><FONT color=#020002 size=1>Icons</FONT><FONT size=1>.</FONT><FONT color=#020002 size=1>AddBitmap</FONT><FONT size=1>(</FONT><FONT color=#020002 size=1>bmp</FONT><FONT size=1>.</FONT><FONT color=#020002 size=1>GetHbitmap</FONT><FONT size=1>().</FONT><FONT color=#020002 size=1>ToInt32</FONT><FONT size=1>(), 1, </FONT><FONT color=#020002 size=1>XtremeSuiteControls</FONT><FONT size=1>.</FONT><FONT color=#2b91af size=1>XTPImageState</FONT><FONT size=1>.</FONT><FONT color=#020002 size=1>xtpImageNormal</FONT><FONT size=1>, </FONT><FONT color=#0000ff size=1>true</FONT><FONT size=1>);</P><P></FONT><FONT color=#020002 size=1>axPushButton1</FONT><FONT size=1>.</FONT><FONT color=#020002 size=1>Icon</FONT><FONT size=1> = </FONT><FONT color=#020002 size=1>gs</FONT><FONT size=1>.</FONT><FONT color=#020002 size=1>Icons</FONT><FONT size=1>.</FONT><FONT color=#020002 size=1>GetImage</FONT><FONT size=1>(1, 0);</P></FONT></DIV>]]>
   </description>
   <pubDate>Tue, 26 Jun 2007 01:48:19 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7443&amp;PID=23937&amp;title=transparent-png-image-on-pushbutton#23937</guid>
  </item> 
  <item>
   <title><![CDATA[Transparent PNG image on Pushbutton : I&amp;#039;ve been attempting for...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7443&amp;PID=23915&amp;title=transparent-png-image-on-pushbutton#23915</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3076">ikaney</a><br /><strong>Subject:</strong> 7443<br /><strong>Posted:</strong> 25 June 2007 at 10:34am<br /><br />I've been attempting for a while to get a transparent PNG image placed onto the codejock pushbutton control without much success.<DIV>&nbsp;</DIV><DIV>I get the nasty grey background where the image has been placed. The typical code I'm using is the following:</DIV><DIV>&nbsp;</DIV><DIV><FONT size=2>control.Picture = System.Drawing.Image.FromStream(GetResource(</FONT><FONT color=#a31515 size=2>"pretty_png.png"</FONT><FONT size=2>))</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>This doesn't seem to import the image correctly&nbsp;as the stock Windows Forms button does.</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>Is there something I'm missing? I've checked the help and I've searched the forums and found references to LoadBitmapFromResource and various other items, but these examples all seem to be non VB.NET related and I'm having a hard time breaking it down from the C++, etc code that's shown.</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>Thanks in advance for any help.</DIV></FONT>]]>
   </description>
   <pubDate>Mon, 25 Jun 2007 10:34:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7443&amp;PID=23915&amp;title=transparent-png-image-on-pushbutton#23915</guid>
  </item> 
 </channel>
</rss>