Border Still shows

When in "Full-Screen" mode there is still a white border along the bottom and right hand side of the screen. For true full-screen this should be removed also. I have been trying unsuccessfully to remove it though.
Any Hints?

Small changes to handle floating toolbars

The suggested code does not handle floating toolbars well, and also there is some flickering connected with the dynamically created toolbar. Here are the methods FullScreenModeOn and FullScreenModeOff with the suggested
changes. My additions are commented starting with PKT.

void CMainFrame::FullScreenModeOn()
{
// available only if there is an active doc
CMDIChildWnd* pChild=MDIGetActive();
if(!pChild) return;
m_bToolBarWasVisible=(m_wndToolBar.IsWindowVisible()!=0);
// PKT: ShowControlBar used instead of ShowWindow
// because this also handles floating toolbars
ShowControlBar(&m_wndToolBar, FALSE, FALSE );
m_bStatusBarWasVisible=(m_wndStatusBar.IsWindowVisible()!=0);
// PKT: ShowControlBar used instead of ShowWindow
// because this also handles floating toolbars
ShowControlBar(&m_wndStatusBar, FALSE, FALSE );
// now save the old positions of the main and child windows
GetWindowRect(&m_mainRect);
// remove the caption of the mainWnd:
LONG style=::GetWindowLong(m_hWnd,GWL_STYLE);
style&=~WS_CAPTION;
::SetWindowLong(m_hWnd,GWL_STYLE,style);
int screenx=GetSystemMetrics(SM_CXSCREEN);
int screeny=GetSystemMetrics(SM_CYSCREEN);
// resize:
SetWindowPos(NULL,-4,-4,screenx+8,screeny+8,SWP_NOZORDER);
style=::GetWindowLong(pChild->m_hWnd,GWL_STYLE);
m_bChildMax=(style & WS_MAXIMIZE)?true:false;
// note here: m_bMainMax is not needed since m_hWnd only
// changed its caption...

// and maximize the child window
// it will remove its caption, too.
pChild->ShowWindow(SW_SHOWMAXIMIZED);
RecalcLayout();
// PKT: Moved it down to avoid some flickering