VC++ 窗口全屏置顶显示

        SetParent(NULL);
int cxScreen,cyScreen;
cxScreen
=GetSystemMetrics(SM_CXSCREEN);
cyScreen
=GetSystemMetrics(SM_CYSCREEN);
::SetWindowPos(m_hWnd,HWND_TOPMOST,
0,0,cxScreen,cyScreen,SWP_SHOWWINDOW|SWP_NOZORDER);

你可能感兴趣的:(vc++)