<?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 : [SOLVED] SetWatermarkBitmap handle</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : [SOLVED] SetWatermarkBitmap handle]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 15 May 2026 13:18:08 +0000</pubDate>
  <lastBuildDate>Fri, 15 Aug 2008 13:00:31 +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=11742</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[[SOLVED] SetWatermarkBitmap handle : Hi, XTPImageManagerIcon.Handle...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11742&amp;PID=39906&amp;title=solved-setwatermarkbitmap-handle#39906</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3233">AndreiM</a><br /><strong>Subject:</strong> 11742<br /><strong>Posted:</strong> 15 August 2008 at 1:00pm<br /><br />Hi,<DIV>XTPImageManagerIcon.Handle property will be added in 12.0.2.</DIV>]]>
   </description>
   <pubDate>Fri, 15 Aug 2008 13:00:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11742&amp;PID=39906&amp;title=solved-setwatermarkbitmap-handle#39906</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] SetWatermarkBitmap handle :   SuperMario wrote:Oleg is in...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11742&amp;PID=39897&amp;title=solved-setwatermarkbitmap-handle#39897</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 11742<br /><strong>Posted:</strong> 15 August 2008 at 9:17am<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by SuperMario" alt="Originally posted by SuperMario" style="vertical-align: text-bottom;" /> <strong>SuperMario wrote:</strong><br /><br />Oleg is in charge of ImageManager</td></tr></table> <DIV>&nbsp;</DIV><DIV>Pssst, SuperMario, could you whisper something in Oleg's ear? Here it comes: "Would it be possible to return handle of added images" and also tell him how wonderfull the ImageManager is.&nbsp;And maybe give him something of your favorite SuperMario cookie <img src="https://forum.codejock.com/smileys/smiley2.gif" border="0">&nbsp;Thanks a lot in advance.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 15 Aug 2008 09:17:28 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11742&amp;PID=39897&amp;title=solved-setwatermarkbitmap-handle#39897</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] SetWatermarkBitmap handle : Oleg is in charge of ImageManager ...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11742&amp;PID=39874&amp;title=solved-setwatermarkbitmap-handle#39874</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 11742<br /><strong>Posted:</strong> 14 August 2008 at 1:10pm<br /><br />Oleg is in charge of ImageManager]]>
   </description>
   <pubDate>Thu, 14 Aug 2008 13:10:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11742&amp;PID=39874&amp;title=solved-setwatermarkbitmap-handle#39874</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] SetWatermarkBitmap handle : Hi,  Thanks for fixing this...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11742&amp;PID=39860&amp;title=solved-setwatermarkbitmap-handle#39860</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 11742<br /><strong>Posted:</strong> 14 August 2008 at 9:00am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Thanks for fixing this <img src="https://forum.codejock.com/smileys/smiley4.gif" border="0"></DIV><DIV>&nbsp;</DIV><DIV>There's no possible solution (not that I know of) to get a <strong>handle</strong> of an alpha image. Can't use: </DIV><UL><LI>stdPicture (<FONT color=#ff0000>doesn't support alpha </FONT>/&nbsp;<FONT color=#00ff00>does </FONT><FONT color=#00ff00>return handle</FONT>)</LI><LI>MS Picturebox control (<FONT color=#ff0000>doesn't support alpha </FONT>/ <FONT color=#00ff00>does return handle</FONT>)</LI><LI>MS Image control (<FONT color=#ff0000>doesn't support alpha </FONT>/ <FONT color=#00ff00>does return handle</FONT>)</LI><LI>CJ Imagemanager icon (<FONT color=#00ff00>supports alpha </FONT>/ <FONT color=#ff0000>doesn't return handle</FONT>)</LI></UL><P>It would be nice if ImageManager&nbsp;would return handle of image. Who is in charge of the imagemanager control, I hope it's you <img src="https://forum.codejock.com/smileys/smiley2.gif" border="0"></P><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 14 Aug 2008 09:00:08 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11742&amp;PID=39860&amp;title=solved-setwatermarkbitmap-handle#39860</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] SetWatermarkBitmap handle : Sorry, I was not right.  The...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11742&amp;PID=39858&amp;title=solved-setwatermarkbitmap-handle#39858</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3233">AndreiM</a><br /><strong>Subject:</strong> 11742<br /><strong>Posted:</strong> 14 August 2008 at 8:14am<br /><br />Sorry, I was not right. <DIV>The problem is that SetWatermarkBitmap works fine only if you pass handle to alptha bitmap (or 32 bit per pixel). </DIV><DIV>SetWatermarkBitmapFromFile&nbsp;works fine because it convert source bitmap to alptha bitmap if need.</DIV><DIV>&nbsp;</DIV><DIV>This bug will be fixed in version 12.0.2.</DIV>]]>
   </description>
   <pubDate>Thu, 14 Aug 2008 08:14:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11742&amp;PID=39858&amp;title=solved-setwatermarkbitmap-handle#39858</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] SetWatermarkBitmap handle : Hi Andrei,  You are right about...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11742&amp;PID=39661&amp;title=solved-setwatermarkbitmap-handle#39661</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 11742<br /><strong>Posted:</strong> 09 August 2008 at 7:57am<br /><br />Hi Andrei,<DIV>&nbsp;</DIV><DIV>You are right about that, it will be destroyed. But when using a PictureBox.Picture.Handle&nbsp;or Form.Picture.Handle should be "global" enough, don't you think? If you would be so kind and test this yourself you will see that handle is still the same and still doesn't work with SetWatermarkBitmap (See also reply of Jason)</DIV><DIV>&nbsp;</DIV><DIV>Thanks</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Sat, 09 Aug 2008 07:57:09 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11742&amp;PID=39661&amp;title=solved-setwatermarkbitmap-handle#39661</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] SetWatermarkBitmap handle : Hi,  Itthink you have to declare...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11742&amp;PID=39659&amp;title=solved-setwatermarkbitmap-handle#39659</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3233">AndreiM</a><br /><strong>Subject:</strong> 11742<br /><strong>Posted:</strong> 09 August 2008 at 5:25am<br /><br />Hi, <DIV>It&nbsp;think you have to declare <strong>stdPic </strong>as a form (global) member.&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>See line below:</DIV><DIV>&nbsp;&nbsp;&nbsp; Set stdPic = ImageManager.Icons.GetImage(1, 16).CreatePicture(xtpImageNormal)</DIV><DIV>&nbsp;</DIV><DIV><DIV>'CreatePicture' <FONT color=#cc0000><strong>copy (!)</strong> </FONT>image and store it in new StdPicture object.</DIV><DIV>I mean that <strong>stdPic</strong> retrieve image copy, but not a link!</DIV><DIV>&nbsp;</DIV><DIV><strong>stdPic</strong> will be destroyed when you exit your procedure and handle will be invalid.</DIV></DIV>]]>
   </description>
   <pubDate>Sat, 09 Aug 2008 05:25:03 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11742&amp;PID=39659&amp;title=solved-setwatermarkbitmap-handle#39659</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] SetWatermarkBitmap handle : Actually, it seems that calling...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11742&amp;PID=39520&amp;title=solved-setwatermarkbitmap-handle#39520</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 11742<br /><strong>Posted:</strong> 06 August 2008 at 1:33pm<br /><br />Actually, it seems that calling SetWatermarkBitmap returns TRUE when using Me.Picture.Handle, but no watermark gets drawn.]]>
   </description>
   <pubDate>Wed, 06 Aug 2008 13:33:16 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11742&amp;PID=39520&amp;title=solved-setwatermarkbitmap-handle#39520</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] SetWatermarkBitmap handle : Confirmed here. I tried passing...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11742&amp;PID=39519&amp;title=solved-setwatermarkbitmap-handle#39519</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 11742<br /><strong>Posted:</strong> 06 August 2008 at 1:28pm<br /><br />Confirmed here. I tried passing the picture to a Form first (to confirm the image was working) and calling SetWatermarkBitmap with the Form.Picture.Handle, but no help either. It seems that SetWatermarkBitmap returns false no matter what...]]>
   </description>
   <pubDate>Wed, 06 Aug 2008 13:28:25 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11742&amp;PID=39519&amp;title=solved-setwatermarkbitmap-handle#39519</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] SetWatermarkBitmap handle : Hi,   Why can&amp;#039;t I do this...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11742&amp;PID=39508&amp;title=solved-setwatermarkbitmap-handle#39508</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 11742<br /><strong>Posted:</strong> 06 August 2008 at 8:54am<br /><br />Hi, <DIV>&nbsp;</DIV><DIV>Why can't I do this ???</DIV><DIV>&nbsp;</DIV><DIV>Dim stdPic As StdPicture<BR>Set stdPic = ImageManager.Icons.GetImage(1, 16).CreatePicture(xtpImageNormal)</DIV><DIV>wndReportControl.SetWatermarkBitmap <strong>stdPic.Handle</strong>, 100</DIV><DIV>&nbsp;</DIV><DIV>or</DIV><DIV>&nbsp;</DIV><DIV><DIV>Dim stdPic As StdPicture<BR>Set stdPic = wndReportControl.Icons.GetImage(1, 16).CreatePicture(xtpImageNormal)</DIV><DIV>wndReportControl.SetWatermarkBitmap <strong>stdPic.Handle</strong>, 100</DIV><DIV>&nbsp;</DIV><DIV>or</DIV><DIV>&nbsp;</DIV></DIV><DIV><DIV>wndReportControl.SetWatermarkBitmap <strong>Picture1.Picture.Handle</strong>, 100</DIV></DIV><DIV><BR>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Seems only wndReportControl.SetWatermarkBitmapFromFile &lt;picturePath&gt;, 100&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; is working.</DIV><DIV>&nbsp;</DIV><DIV>Thanks for looking at it.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Wed, 06 Aug 2008 08:54:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11742&amp;PID=39508&amp;title=solved-setwatermarkbitmap-handle#39508</guid>
  </item> 
 </channel>
</rss>