MFC feature pack classes:If you would like to create a 2nd status bar pane INSIDE of a CMdiChildWndEx class while having the feature MDI-tabs enabled (EnableMDITabbedGroups), MFC incorrectly assigns the status bar style SBARS_SIZEGRIP:BOOL CMFCStatusBar::CreateEx(CWnd* pParentWnd, DWORD /*dwCtrlStyle*/, DWORD dwStyle, UINT nID){...... if (pParentWnd->GetStyle() & WS_THICKFRAME) { dwStyle |= SBARS_SIZEGRIP; }......}Some window styles will be removed any time later. Probably these should be removed at an earlier stage to avoid this problem.My workaround:(class CMyFrame : pubic CMDIChildWndEx)BOOL CMyFrame::PreCreateWindow(CREATESTRUCT& cs){ if (m_pMDIFrame != NULL && m_pMDIFrame->IsMDITabbedGroup()) cs.style &= ~CMDIChildWndEx::m_dwExcludeStyle | WS_MAXIMIZE | WS_SYSMENU; return CMDIChildWndEx::PreCreateWindow(cs);}NOTE:probably the code above should have been added to CMDIChildWndEx::PreCreateWindow()??
Visual Studio/Silverlight/Tooling version
What category (if any) best represents this feedback?
Steps to reproduce
Product Language
Operating System
Operating System Language
Actual results
Expected results