共用方式為


CMDIChildWndEx::OnTaskbarTabThumbnailActivate

Called by the framework when the Taskbar tab thumbnail should process the WM_ACTIVATE message.

virtual void OnTaskbarTabThumbnailActivate(
   UINT nState,
   CWnd* pWndOther,
   BOOL bMinimized
);

Parameters

  • nState
    Specifies whether the CWnd is being activated or deactivated.

  • pWndOther
    Pointer to the CWnd being activated or deactivated. The pointer can be NULL, and it may be temporary.

  • bMinimized
    Specifies the minimized state of the CWnd being activated or deactivated. A value of TRUE indicates the window is minimized.

Remarks

The default implementation activates the related MDI child frame.

Requirements

Header: afxmdichildwndex.h

See Also

Reference

CMDIChildWndEx Class