共用方式為


CMDIChildWndEx::OnTaskbarTabThumbnailMouseActivate

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

virtual int OnTaskbarTabThumbnailMouseActivate(
   CWnd* pDesktopWnd,
   UINT nHitTest,
   UINT message
);

Parameters

  • pDesktopWnd
    Specifies a pointer to the top-level parent window of the window being activated. The pointer may be temporary and should not be stored.

  • nHitTest
    Specifies the hit-test area code. A hit test is a test that determines the location of the cursor.

  • message
    Specifies the mouse message number.

Remarks

The default implementation activates the related MDI child frame.

Requirements

Header: afxmdichildwndex.h

See Also

Reference

CMDIChildWndEx Class