共用方式為


CPagerCtrl::ForwardMouse

Enables or disables forwarding WM_MOUSEMOVE messages to the window that is contained in the current pager control.

void ForwardMouse(
     BOOL bForward
);

Parameters

Parameter

Description

[in] bForward

true to forward mouse messages, or false to not forward mouse messages.

Requirements

Header: afxcmn.h

Remarks

This method sends the PGM_FORWARDMOUSE message, which is described in the Windows SDK.

See Also

Reference

CPagerCtrl Class

Hierarchy Chart

PGM_FORWARDMOUSE

WM_MOUSEMOVE