共用方式為


CMDIChildWnd::MDIActivate

Call this member function to activate an MDI child window independently of the MDI frame window.

void MDIActivate( );

Remarks

When the frame becomes active, the child window that was last activated will be activated as well.

Example

See the example for CMDIFrameWnd::GetWindowMenuPopup.

Requirements

Header: afxwin.h

See Also

Reference

CMDIChildWnd Class

Hierarchy Chart

CMDIFrameWnd::MDIGetActive

CWnd::OnNcActivate

CMDIFrameWnd::MDINext

WM_MDIACTIVATE

Other Resources

CMDIChildWnd Members