Remove CMainFrame sunken

  • Thread starter Thread starter flaviu_
  • Start date Start date
F

flaviu_

Guest
Is there any chance to remove the CMainFame sunken ?

1607157.png

I have tried:

BOOL CMainFrame::PreCreateWindow(CREATESTRUCT& cs)
{
if(! CMDIFrameWndEx::PreCreateWindow(cs))
return FALSE;
// TODO: Modify the Window class or styles here by modifying
// the CREATESTRUCT cs

cs.dwExStyle &= ~WS_EX_CLIENTEDGE;

return TRUE;
}


as you see, is not working. Taken from here: removing sunken (depressed) style in a formview


P.S. Issue tested on MDI app built in VS2017

Continue reading...
 
Back
Top