C++ Programming
04-08-2009, 04:53 PM
Hello,
I do not want the border of the childframe which is on the sides of the child window and the upper frame of the child ********But I dont see the identifier which will remove it.How do I create a childframe without borders.
CMDIFrameWnd* pFrame = STATIC_DOWNCAST(CMDIFrameWnd,AfxGetApp()->m_pMainWnd);
if(!Create(NULL, FrameName,WS_VISIBLE | WS_CHILD |
WS_OVERLAPPEDWINDOW ,CRect(0,0,0,0), pFrame, NULL))
{
TRACE0("Failed to create view window\n");
return false;
}
Priya
I do not want the border of the childframe which is on the sides of the child window and the upper frame of the child ********But I dont see the identifier which will remove it.How do I create a childframe without borders.
CMDIFrameWnd* pFrame = STATIC_DOWNCAST(CMDIFrameWnd,AfxGetApp()->m_pMainWnd);
if(!Create(NULL, FrameName,WS_VISIBLE | WS_CHILD |
WS_OVERLAPPEDWINDOW ,CRect(0,0,0,0), pFrame, NULL))
{
TRACE0("Failed to create view window\n");
return false;
}
Priya