Re: How to get IVideoWindow's HWND?



On Tue, 12 Apr 2005 19:39:01 -0700, Augie at NHN wrote:

> I want to create a button in the middle of the video screen.
> To put the button, I need to get the HWND of Video Renderer window because
> the button needs parent window's handle.
> I checked methods in IVideoWindow but I cannot see any method to get the
> HWND value.
> Is there any way to get the HWND?
> And, can I create a button on the video window if I get the window handle?

Why not create the video window a window that you make yourself and set
using IVideoWindow::put_Owner? Then you have more control over it and have
its HWND.

--
Please read this before replying:
1. Dshow & posting help: http://tmhare.mvps.org/help.htm
2. Trim & respond inline (please don't top post or snip everything)
3. Benefit others: follow up if you are helped or you found a solution
.


Loading