BCGControlBar Pro for MFC
int BCGPChartHitInfo::m_nMouseButton

Specifies mouse button index.

Specifies ID of mouse button that was pressed when a mouse event occurred. This field is filled when BCGPChartHitInfo object is passed as a parameter to a mouse message.

  • 0 - left mouse button
  • 1 - right mouse button
  • 2 - middle mouse button

See BCGM_ON_CHART_MOUSE_DOWN, BCGM_ON_CHART_MOUSE_UP, BCGM_ON_CHART_MOUSE_TRACK registered messages for additional information.