Re: Setting MDI parent on Form causes video not to render

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



"SmartSentry" <SmartSentry@xxxxxxxxxxxxxxxxx> wrote in message
news:ANvCf.14722$mf2.11114@xxxxxxxxxxxxxxxxxxxxxxx
> Russ
>
> Not sure if there's any earlier posting to your two below. From what you
say
> it's similar to an experience I had recently, I resolved it by using the
> VMR9 in windowless rather than windowed mode (however this appeared to
> expose other underlying problems in my code which I'm still resolving).
> Also - It appears to be an MFC form, so it's worth checking you have an
> empty WM_ERASEBKGND handler in your code.
>
> Regards
> Mike
>
> "Russ Mello" <RussMello@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:F88369A8-3688-4B22-A2EA-D0B8FF948E41@xxxxxxxxxxxxxxxx
> >
> >
> > "Russ Mello" wrote:
> >
> >> Hi All,
> >>
> >>    I have a C# form displaying the output of a VMR9 renderer that works
> >> just
> >> fine. But when I change the form to be a MDI child the video no longer
> >> renders. The filter graph is running, it just does not display. After
> >> looking
> >> at it I've found that if I do not set the MdiParent property and set
the
> >> Owner property then the video displays as it should.
> >>
> >>   Any help would be appreciated.
> >>
> >> Thanks,
> >> Russ
> >>
> >
> > Hi All,
> >
> >   I've gotten a little further in that the window handle changes after
I've
> > set up the renderer. I've changed my code to override OnHandleCreated
and
> > set
> > up the renderers video window at each change. I expected this to work
but
> > I
> > still see the same symptom of no image displayed.
> >
> >  From what I've read the VMR9 can be re-parented and that others have
MDI
> > DirectShow applications. I'm missing something but I'm not sure where to
> > go
> > at this point. Any suggestions?
> >
> > Thanks,
> > Russ

I second the motion on checking WM_ERASEBKGND. I just fixed a problem I had
with that.

Bob


.



Relevant Pages

  • Re: closing documents in 2007 versus 2003
    ... the blank Word window open. ... Opens an Excel file and reads the contents into a Word VBA array ... Opens a second word document which has a table which acts as ...
    (microsoft.public.word.vba.general)
  • Re: How to correct discrepancies in Outlook Select Names and Conta
    ... Thanks Russ and apologies for my lack of correct terminology. ... when you open a new message and enter the first 3 letters a window ... > This is only seen if you are deleting the information form a Contacts Folder ... > Examine the configuration of your Contacts Folders and the Outlook Address ...
    (microsoft.public.outlook.contacts)
  • Re: Winfax Starter Outlook 2000 - does not work
    ... Thanks, Russ. ... >> what I read on Google, I then expected to see a Send button or a Send ... >> under the File submenu or Action submenu. ...
    (microsoft.public.outlook.fax)
  • Re: contacts lookup window
    ... Russ I can be in my Calendar, type a client's name ... The window works from anywhere in Outlook - it's on the ... Judy ... > active folder. ...
    (microsoft.public.outlook.contacts)
  • Re: closing documents in 2007 versus 2003
    ... "Russ" wrote in message ... the blank Word window open. ... Opens an Excel file and reads the contents into a Word VBA array ...
    (microsoft.public.word.vba.general)