Microsoft Foundation Classes (mfc.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
CMDIFrameWnd::MDIActivate
◄CMDIFrameWnd►                                ◄Up► ◄Contents► ◄Index► ◄Back►
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  void MDIActivate( CWnd* pWndActivate );
 
  Parameter      Description
 
  <pWndActivate> Points to the MDI child window to be activated.
 
  Remarks
 
  Activates a different MDI child window. The ◄WM_MDIACTIVATE► message is
  sent to both the child window being activated and the child window being
  deactivated.
 
  An MDI child window is activated independently of the MDI frame window.
  When the frame becomes active, the child window that was last activated
  is sent a ◄WM_NCACTIVATE► message to draw an active window frame and
  caption bar, but it does not receive another WM_MDIACTIVATE message.
 
  See Also
 
  ◄CMDIFrameWnd::MDIGetActive►, ◄CMDIFrameWnd::MDINext►, ◄WM_ACTIVATE►,
  ◄WM_NCACTIVATE►
 
 
                                     -♦-