<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: MSHTML Hosting - Odds &#38; Ends</title>
	<atom:link href="http://starkravingfinkle.org/blog/2004/09/mshtml-hosting-odds-ends/feed/" rel="self" type="application/rss+xml" />
	<link>http://starkravingfinkle.org/blog/2004/09/mshtml-hosting-odds-ends/</link>
	<description></description>
	<pubDate>Mon, 08 Sep 2008 06:10:19 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
		<item>
		<title>By: Lee</title>
		<link>http://starkravingfinkle.org/blog/2004/09/mshtml-hosting-odds-ends/#comment-18</link>
		<dc:creator>Lee</dc:creator>
		<pubDate>Fri, 19 Aug 2005 11:09:00 +0000</pubDate>
		<guid isPermaLink="false">http://starkravingfinkle.org/blog/?p=18#comment-18</guid>
		<description>Great article..thanks for sharing</description>
		<content:encoded><![CDATA[<p>Great article..thanks for sharing</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://starkravingfinkle.org/blog/2004/09/mshtml-hosting-odds-ends/#comment-17</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Thu, 18 Aug 2005 11:42:00 +0000</pubDate>
		<guid isPermaLink="false">http://starkravingfinkle.org/blog/?p=18#comment-17</guid>
		<description>Thanks for sharing this . MSHTML information is very rare.</description>
		<content:encoded><![CDATA[<p>Thanks for sharing this . MSHTML information is very rare.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: krishna</title>
		<link>http://starkravingfinkle.org/blog/2004/09/mshtml-hosting-odds-ends/#comment-16</link>
		<dc:creator>krishna</dc:creator>
		<pubDate>Thu, 07 Apr 2005 12:32:00 +0000</pubDate>
		<guid isPermaLink="false">http://starkravingfinkle.org/blog/?p=18#comment-16</guid>
		<description>I just want ot say thank to the Author of this article. I was struggling with getting rid of the 3D border aroiund the IE control in my window by using SetWindowLong to modify window style but was not successful.

Using the methid dicsussed in this article that is now possible.

Thanks a ton 
:)
-Krishna</description>
		<content:encoded><![CDATA[<p>I just want ot say thank to the Author of this article. I was struggling with getting rid of the 3D border aroiund the IE control in my window by using SetWindowLong to modify window style but was not successful.</p>
<p>Using the methid dicsussed in this article that is now possible.</p>
<p>Thanks a ton  <img src='http://starkravingfinkle.org/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> -Krishna</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: loginerror</title>
		<link>http://starkravingfinkle.org/blog/2004/09/mshtml-hosting-odds-ends/#comment-15</link>
		<dc:creator>loginerror</dc:creator>
		<pubDate>Fri, 29 Oct 2004 15:17:00 +0000</pubDate>
		<guid isPermaLink="false">http://starkravingfinkle.org/blog/?p=18#comment-15</guid>
		<description>Update to 3:

MS DirectX 9.0 SDK Update (October 2004):

"The [Application-supplied] bitmap can be specified by either a handle to a GDI Device Context (hDC) or by a DirectDraw Surface interface"

http://msdn.microsoft.com/library/en-us/directshow/htm/displayingastaticbitmaponthecompositedimage.asp</description>
		<content:encoded><![CDATA[<p>Update to 3:</p>
<p>MS DirectX 9.0 SDK Update (October 2004):</p>
<p>&#8220;The [Application-supplied] bitmap can be specified by either a handle to a GDI Device Context (hDC) or by a DirectDraw Surface interface&#8221;</p>
<p><a href="http://msdn.microsoft.com/library/en-us/directshow/htm/displayingastaticbitmaponthecompositedimage.asp" rel="nofollow">http://msdn.microsoft.com/library/en-us/directshow/htm/displayingastaticbitmaponthecompositedimage.asp</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: loginerror</title>
		<link>http://starkravingfinkle.org/blog/2004/09/mshtml-hosting-odds-ends/#comment-14</link>
		<dc:creator>loginerror</dc:creator>
		<pubDate>Thu, 28 Oct 2004 21:50:00 +0000</pubDate>
		<guid isPermaLink="false">http://starkravingfinkle.org/blog/?p=18#comment-14</guid>
		<description>Mark (from Southern):

Blogger's login is still hung up (using temp account) -- send e-mail link to fumc@theshop.net so I can send sample code.

1.  checked both http://msdn.microsoft.com/library/en-us/shellcc/platform/shell/reference/ifaces/ithumbnailcapture/capturethumbnail.asp and http://msdn.microsoft.com/library/en-us/com/htm/oin_p2z_0gfr.asp but didn't find a limitation of 120x120 -- as far as stretching, using VMR I have to create the browser window the same physical size as the source video and use VMR to zoom (stretch) to fit screen (no, cannot use "fullscreen" as that is limited to ONE instance and I need 3 or more instances and "fullscreen" is always on top) -- capturebitmap appears to work with larger images but has limitations on quality and size

2.  other "capture" articles seem to think that the browser window must be both visible and on-screen for the capture to work -- glad to find another solution -- can the browser window (form) be positioned outside of virtual desktop space, including negative space?

3.  was hoping for transparent gif .....

4.  same .....

5.  I may have to actually capture an image (bmp, etc) and feed to VMR -- problem is multiple instances (&#62;2) of video with text overlays (transparent browser window on top of video window) where 3rd (and subsequent) cannot render without the text window flashing -- only solution I have found is to use VMR (7 or 9) to mix video and graphic overlay (alpha blended) and then project combined image zoomed to full screen on each display

Current application is on 4 screen computer, 1 for control and 3 for independent displays (same, similar or different content and different screen resolutions) -- video is common between all 3 screens but text size and arrangement may vary (program actually will accommodate up to 15 display screens but don't try video on &#62; 3 screens without one hell of a multi-processor setup and lots of memory)

Major problem in DirectX9 is adapting to laptop use -- most current laptop display cards were designed prior to DirectX9 do not fully support DirectX9, in particular, VMR9 -- fallback positions include VMR7 or the overlay mixer, not exactly what I wanted but what is available -- very current desktop graphics cards (predominently "gamer" cards) do fully support VMR9 and pixel shaders which I need

Southern</description>
		<content:encoded><![CDATA[<p>Mark (from Southern):</p>
<p>Blogger&#8217;s login is still hung up (using temp account) &#8212; send e-mail link to <a href="mailto:fumc@theshop.net">fumc@theshop.net</a> so I can send sample code.</p>
<p>1.  checked both <a href="http://msdn.microsoft.com/library/en-us/shellcc/platform/shell/reference/ifaces/ithumbnailcapture/capturethumbnail.asp" rel="nofollow">http://msdn.microsoft.com/library/en-us/shellcc/platform/shell/reference/ifaces/ithumbnailcapture/capturethumbnail.asp</a> and <a href="http://msdn.microsoft.com/library/en-us/com/htm/oin_p2z_0gfr.asp" rel="nofollow">http://msdn.microsoft.com/library/en-us/com/htm/oin_p2z_0gfr.asp</a> but didn&#8217;t find a limitation of 120&#215;120 &#8212; as far as stretching, using VMR I have to create the browser window the same physical size as the source video and use VMR to zoom (stretch) to fit screen (no, cannot use &#8220;fullscreen&#8221; as that is limited to ONE instance and I need 3 or more instances and &#8220;fullscreen&#8221; is always on top) &#8212; capturebitmap appears to work with larger images but has limitations on quality and size</p>
<p>2.  other &#8220;capture&#8221; articles seem to think that the browser window must be both visible and on-screen for the capture to work &#8212; glad to find another solution &#8212; can the browser window (form) be positioned outside of virtual desktop space, including negative space?</p>
<p>3.  was hoping for transparent gif &#8230;..</p>
<p>4.  same &#8230;..</p>
<p>5.  I may have to actually capture an image (bmp, etc) and feed to VMR &#8212; problem is multiple instances (&gt;2) of video with text overlays (transparent browser window on top of video window) where 3rd (and subsequent) cannot render without the text window flashing &#8212; only solution I have found is to use VMR (7 or 9) to mix video and graphic overlay (alpha blended) and then project combined image zoomed to full screen on each display</p>
<p>Current application is on 4 screen computer, 1 for control and 3 for independent displays (same, similar or different content and different screen resolutions) &#8212; video is common between all 3 screens but text size and arrangement may vary (program actually will accommodate up to 15 display screens but don&#8217;t try video on &gt; 3 screens without one hell of a multi-processor setup and lots of memory)</p>
<p>Major problem in DirectX9 is adapting to laptop use &#8212; most current laptop display cards were designed prior to DirectX9 do not fully support DirectX9, in particular, VMR9 &#8212; fallback positions include VMR7 or the overlay mixer, not exactly what I wanted but what is available &#8212; very current desktop graphics cards (predominently &#8220;gamer&#8221; cards) do fully support VMR9 and pixel shaders which I need</p>
<p>Southern</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Finkle</title>
		<link>http://starkravingfinkle.org/blog/2004/09/mshtml-hosting-odds-ends/#comment-13</link>
		<dc:creator>Mark Finkle</dc:creator>
		<pubDate>Thu, 28 Oct 2004 05:12:00 +0000</pubDate>
		<guid isPermaLink="false">http://starkravingfinkle.org/blog/?p=18#comment-13</guid>
		<description>1. I did not want to use  because I want the full image, not stretched. The help for IViewObject::Draw states the  makes a "... 120 by 120 pixel, 16-color (recommended) device-independent bitmap potentially wrapped in a metafile..."

2. The HTML page must be visible and the WebBrowser control must be sized to completely display the HTML. However, it does not need to be visible on screen. I move the WebBrowser control off screen so it is not visible to the user.

3. You pass in an HDC, but my experience is that only Bitmap DC's work. After you get the Bitmap, you can convert it to JPG or GIF.

4. The Bitmap will render exactly as the HTML does in the WebBrowser. However, no transparency is given to the Bitmap. Its like a screen print of what's inside the WebBrowser control onto a Bitmap.

5. I have no experience using video overlays so I am not sure. As I said, IViewObject::Draw takes an HDC (preferrable to a Bitmap).</description>
		<content:encoded><![CDATA[<p>1. I did not want to use  because I want the full image, not stretched. The help for IViewObject::Draw states the  makes a &#8220;&#8230; 120 by 120 pixel, 16-color (recommended) device-independent bitmap potentially wrapped in a metafile&#8230;&#8221;</p>
<p>2. The HTML page must be visible and the WebBrowser control must be sized to completely display the HTML. However, it does not need to be visible on screen. I move the WebBrowser control off screen so it is not visible to the user.</p>
<p>3. You pass in an HDC, but my experience is that only Bitmap DC&#8217;s work. After you get the Bitmap, you can convert it to JPG or GIF.</p>
<p>4. The Bitmap will render exactly as the HTML does in the WebBrowser. However, no transparency is given to the Bitmap. Its like a screen print of what&#8217;s inside the WebBrowser control onto a Bitmap.</p>
<p>5. I have no experience using video overlays so I am not sure. As I said, IViewObject::Draw takes an HDC (preferrable to a Bitmap).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Southern</title>
		<link>http://starkravingfinkle.org/blog/2004/09/mshtml-hosting-odds-ends/#comment-12</link>
		<dc:creator>Southern</dc:creator>
		<pubDate>Fri, 22 Oct 2004 18:56:00 +0000</pubDate>
		<guid isPermaLink="false">http://starkravingfinkle.org/blog/?p=18#comment-12</guid>
		<description>On your post re: creating image of current html, this solved a current problem - however,several questions:
1.  have you considered use of CaptureThumbnail method?
2.  must the html page be visible (completely or partially) in order to capture or can it be hidden?
3.  can format (bmp, jpg, etc) be selected?
4.  can transparency be maintained (such as capture from transparent DIV rather than entire screen)?
5.  can capture be redirected into VMR7 or VMR9 as text overlay on video window?
Am trying to capture multiple html windows and overlay on encoded or live video (using html to generate text overlays rather than GDI, etc -- trying to preserve earlier working hta implementation rather than recreate the text generation portions).  Also, am working in C# VS.NET 2003 rather than C++.</description>
		<content:encoded><![CDATA[<p>On your post re: creating image of current html, this solved a current problem - however,several questions:<br />
1.  have you considered use of CaptureThumbnail method?<br />
2.  must the html page be visible (completely or partially) in order to capture or can it be hidden?<br />
3.  can format (bmp, jpg, etc) be selected?<br />
4.  can transparency be maintained (such as capture from transparent DIV rather than entire screen)?<br />
5.  can capture be redirected into VMR7 or VMR9 as text overlay on video window?<br />
Am trying to capture multiple html windows and overlay on encoded or live video (using html to generate text overlays rather than GDI, etc &#8212; trying to preserve earlier working hta implementation rather than recreate the text generation portions).  Also, am working in C# VS.NET 2003 rather than C++.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
