Re: How to get IVideoWindow's HWND?
- From: "enze" <info_at_mpegcodeDOTcom>
- Date: Fri, 15 Apr 2005 14:22:01 +0200
Hi,
to get the video window handle do this:
- get the VideoRender input pin and querry for IOverlay interface
pInPin->QueryInterface(IID_IOverlay,(void**)&pOver);
-then use
pOver->GetWindowHandle(&m_hWnd);
enze, www.mpegcode.com
"Augie at NHN" <AugieatNHN@xxxxxxxxxxxxxxxxxxxxxxxxx> schrieb im Newsbeitrag
news:23C2690D-2DDF-455A-86DF-A39F99C1B0CA@xxxxxxxxxxxxxxxx
> 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?
>
.
- Follow-Ups:
- Re: How to get IVideoWindow's HWND?
- From: Augie at NHN
- Re: How to get IVideoWindow's HWND?
- References:
- How to get IVideoWindow's HWND?
- From: Augie at NHN
- How to get IVideoWindow's HWND?
- Prev by Date: Re: newsgroup for windows media encoder sdk.
- Next by Date: MEDIATYPE TEXT problems...
- Previous by thread: Re: How to get IVideoWindow's HWND?
- Next by thread: Re: How to get IVideoWindow's HWND?
- Index(es):