Re: How to get HWND in MFC app. and set VMR9Windowless mode
- From: "The March Hare [MVP]" <phil@xxxxxxxxx>
- Date: Mon, 30 Oct 2006 18:47:34 -0700
On Mon, 30 Oct 2006 17:33:01 -0800, embedix wrote:
I want to set VMR9 Windowless mode in MFC application.
While setting windowless, SetVideoClippingWindow api needs HWND argument.
But I don't know how to get HWND in MFC application.
pFilterVMRWindowlessControl->SetVideoClippingWindow(hWnd);
How can I solve it?
CWnd (and CWindow, IIRC) have a GetSafeHwnd() member function.
--
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
.
- Prev by Date: Setting non-compression flag on ASF Writer
- Next by Date: Re: Grab MPEG-1 Bitmap
- Previous by thread: Setting non-compression flag on ASF Writer
- Next by thread: DirectShow Filters and windows media player On Smartphone Emulator
- Index(es):