标签:frame long 全屏 setw sys 窗体 子窗体 move win
覆盖任务栏全屏显示:
ong styles = ::GetWindowLong(m_hWnd,GWL_STYLE);
styles |= WS_POPUP;
styles &= ~WS_THICKFRAME;
::SetWindowLong(m_hWnd,GWL_STYLE,styles);
int cx, cy;
cx = GetSystemMetrics(SM_CXSCREEN);
cy = GetSystemMetrics(SM_CYSCREEN);
CRect rcTemp;
rcTemp.BottomRight() = CPoint(cx, cy);
rcTemp.TopLeft() = CPoint(0, 0);
MoveWindow(&rcTemp);
BringWindowToTop();
子窗体保持在父窗体之前,则需要在create时候传入父窗体的句柄
标签:frame long 全屏 setw sys 窗体 子窗体 move win
原文地址:http://www.cnblogs.com/thq3322110/p/7890367.html