Hi
In PPC, I program the codes to play and position the video file in
a dialog by DirectShow.

CoInitialize(NULL);
CoCreateInstance(CLSID_FilterGraph, NULL,
CLSCTX_INPROC,IID_IGraphBuilder, (void
**)&pGraph);
pGraph->QueryInterface(IID_IMediaControl, (void **)&pMediaControl);

pGraph->QueryInterface(IID_IMediaEvent, (void **)&pEvent);
pGraph->QueryInterface(IID_IVideoWindow, (void **)&pVidWin);
pVidWin->put_Owner((OAHWND)this->GetSafeHwnd());
pVidWin->put_WindowStyle( WS_CHILD | WS_CLIPSIBLINGS);

CRect grc;
::GetClientRect(this->GetSafeHwnd(), &grc);
pVidWin->SetWindowPosition(160, 120, 320, 240);
pGraph->RenderFile(L"\\My Documents\\123.mp4", NULL);
pMediaControl->Run();

But when I play the video, it locates in the left and top, i.e.
(0,0,320,240)
I don't know what's wrong for the codes!!
What can I solve the question??
Any suggestion id helpful!!
Thanks a lot!!