rainbowzc

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: :: :: 管理 ::

int nFullWidth=GetSystemMetrics(SM_CXSCREEN);
 int nFullHeight=GetSystemMetrics(SM_CYSCREEN); 
this->SetWindowPos(&wndTopMost,0,0,nFullWidth,nFullHeight,SWP_NOMOVE);

or

::SetWindowPos(AfxGetMainWnd()->m_hWnd,HWND_TOPMOST,0,0,nFullWidth,nFullHeight,SWP_NOMOVE); 

上面两句话是等效的都可以实现掩盖任务栏的目的

posted on 2007-04-27 16:42  ct  阅读(363)  评论(0编辑  收藏  举报