VMR的全屏模式怎么调出来?微软专家的回复没有奏效

VMR的全屏模式如何调出来?微软专家的回复没有奏效
VMR的全屏模式如何调出来?
这是微软专家的回答:
Determine   the   size   of   the   display   you   are   using,   change  
the   window   style   of   your   playback   window   to   WS_EX_TOPMOST  
and   the   resize   your   window   to   occupy   the   entire   screen.  


You   may   have   to   make   your   window   a   top-level   window   and  
remove   other   window   adormants   such   as   title   bars,   menus  
borders   etc.  


This   posting   is   provided   "AS   IS "   with   no   warranties,   and  
confers   no   rights.   You   assume   all   risk   for   your   use.   (c)  
2003   Microsoft   Corporation.   All   rights   reserved.  


但是好像不行
那位大侠作出来过
指教一下
谢谢

------解决方案--------------------
应该可以阿,建一个跟桌面大小一样的Window,然后把VMR的 HWND 打到这个Window上
------解决方案--------------------
那就奇怪啊,为什么不行,重新设定HWND出错了?
------解决方案--------------------
int cx,cy;
cx = GetSystemMetrics(SM_CXSCREEN);
cy = GetSystemMetrics(SM_CYSCREEN);
//在用MoveWindow
ModifyStyle(WS_BORDER | WS_DLGFRAME | WS_THICKFRAME, WS_POPUP, SWP_NOSIZE);
CRect rcTemp;

int s1, s2;
ifstream fin;
fin.open( "screen.siz ");
fin > > s1 > > s2;
fin.close();

rcTemp.BottomRight() = CPoint(3, s2+3);
rcTemp.TopLeft() = CPoint(0-(s1+3), 0-3);
MoveWindow(&rcTemp);

再 VRM中使用 pWC-> SetVideoClippingWindow(ghApp); ghApp是你的窗口句柄

注意!你的RENDERFILE一定要再SetVideoClippoingWindow之后