MFC question
-
how do you get the 3d inner border style of of the CMainFrame window to disappear? I don't want my child view to look sunken into the frame. I tried &= ~WS_ with several styles on OnCreate, but nothing has worked so far. tried all the lpCreateStruct->dwExStyle &= ~WS_ plus I tried the lpCreateStruct->style &= ~WS_
-
how do you get the 3d inner border style of of the CMainFrame window to disappear? I don't want my child view to look sunken into the frame. I tried &= ~WS_ with several styles on OnCreate, but nothing has worked so far. tried all the lpCreateStruct->dwExStyle &= ~WS_ plus I tried the lpCreateStruct->style &= ~WS_
It is the not the
CMainFrame
window that is responsible for the 3D border. It is the innerCView
derived window that is responsible. In the CView derived class'sOnInitialUpdate()
remove theWS_EX_CLIENTEDGE
style usingModifyStyleEx
Nish
Extending MFC Applications with the .NET Framework [NW] (My book with Tom) Summer Love and Some more Cricket [NW] (My first novel) Shog's review of SLASMC [NW] Come with me if you want to live
-
It is the not the
CMainFrame
window that is responsible for the 3D border. It is the innerCView
derived window that is responsible. In the CView derived class'sOnInitialUpdate()
remove theWS_EX_CLIENTEDGE
style usingModifyStyleEx
Nish
Extending MFC Applications with the .NET Framework [NW] (My book with Tom) Summer Love and Some more Cricket [NW] (My first novel) Shog's review of SLASMC [NW] Come with me if you want to live