我用以下代码全屏显示view:
GetWindowPlacement(&m_OldWndPlacement);
CRect  WindowRect;
GetWindowRect(&WindowRect);
CRect  ClientRect;
RepositionBars(0,  0xffff,  AFX_IDW_PANE_FIRST,  reposQuery,  &ClientRect);
ClientToScreen(&ClientRect);
int  nFullWidth=GetSystemMetrics(SM_CXSCREEN);
int  nFullHeight=GetSystemMetrics(SM_CYSCREEN);
m_FullScreenRect.left=WindowRect.left-ClientRect.left;
m_FullScreenRect.top=WindowRect.top-ClientRect.top;
m_FullScreenRect.right=WindowRect.right-ClientRect.right+nFullWidth;
m_FullScreenRect.bottom=WindowRect.bottom-ClientRect.bottom+nFullHeight;
m_bFullScreen=TRUE
WINDOWPLACEMENT wndpl;
wndpl.length=sizeof(WINDOWPLACEMENT);
wndpl.flags=0;
wndpl.showCmd=SW_SHOWNORMAL;
wndpl.rcNormalPosition=m_FullScreenRect;
SetWindowPlacement(&wndpl);
下面只能达到“开始”控制条的上方,我想下面达到屏幕底部,并且windows的控制条消失,怎么做?