OSDN Git Service

TODO: [ 1395638 ] CChildFrame::PreCreateWindow() does nothing
authorPerry Rapp <elsapo@users.sourceforge.net>
Sat, 14 Jan 2006 04:00:24 +0000 (04:00 +0000)
committerPerry Rapp <elsapo@users.sourceforge.net>
Sat, 14 Jan 2006 04:00:24 +0000 (04:00 +0000)
  Src: ChildFrm.cpp ChildFrm.h MainFrm.cpp

Src/Changes.txt
Src/ChildFrm.cpp
Src/ChildFrm.h
Src/MainFrm.cpp
Src/MainFrm.h

index 99bfeeb..acefc2b 100644 (file)
@@ -1,3 +1,7 @@
+2006-01-14 Perry
+ TODO: [ 1395638 ] CChildFrame::PreCreateWindow() does nothing
+  Src: ChildFrm.cpp ChildFrm.h MainFrm.cpp
+
 2006-01-13 Perry
  PATCH: [ 1403454 ] Add comment to UniStdioFile.h
  (Cosmetic)
index f037d43..44f18ab 100644 (file)
@@ -216,11 +216,6 @@ BOOL CChildFrame::OnCreateClient( LPCREATESTRUCT /*lpcs*/,
        return TRUE;
 }
 
-BOOL CChildFrame::PreCreateWindow(CREATESTRUCT& cs)
-{
-       return CMDIChildWnd::PreCreateWindow(cs);
-}
-
 /////////////////////////////////////////////////////////////////////////////
 // CChildFrame message handlers
 
index 44aea1f..31a7761 100644 (file)
@@ -94,7 +94,6 @@ public:
        //{{AFX_VIRTUAL(CChildFrame)
        public:
        virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
-       virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
        virtual void ActivateFrame(int nCmdShow = -1);
        virtual BOOL DestroyWindow();
        protected:
index ca44d21..b3c3072 100644 (file)
@@ -541,14 +541,6 @@ void CMainFrame::OnInitMenuPopup(CMenu* pPopupMenu, UINT nIndex, BOOL bSysMenu)
        }
 }
 
-BOOL CMainFrame::PreCreateWindow(CREATESTRUCT& cs)
-{
-       // TODO: Modify the Window class or styles here by modifying
-       //  the CREATESTRUCT cs
-
-       return CMDIFrameWnd::PreCreateWindow(cs);
-}
-
 /////////////////////////////////////////////////////////////////////////////
 // CMainFrame message handlers
 
index 238dc29..7a2df52 100644 (file)
@@ -132,7 +132,6 @@ public:
        // ClassWizard generated virtual function overrides
        //{{AFX_VIRTUAL(CMainFrame)
        public:
-       virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
        virtual void ActivateFrame(int nCmdShow = -1);
        virtual BOOL PreTranslateMessage(MSG* pMsg);
        //}}AFX_VIRTUAL