Jump to content
Software FX Community

Megha

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by Megha

  1. I am using a chart control and for the same i need to perform certain operations on MouseMove Event.But for me on MouseMove Event, GetPoint() or GetSeries() no method is returning me correct value.I am working on VC++.Below I am Copying the code:::BEGIN_EVENTSINK_MAP(CLineProgressView, CFormView)ON_EVENT(CLineProgressView, IDC_CHARTACHIEVEMENT, 12, OnMouseMoveAchievementChart, VTS_DISPATCH VTS_DISPATCH)END_EVENTSINK_MAP()void CLineProgressView::OnMouseUpAchievementChart(LPDISPATCH sender, LPDISPATCH args) { C_MouseEventArgsX MouseEventArgsX ; MouseEventArgsX.AttachDispatch(args,true); long lBoard; lBoard = MouseEventArgsX.GetPoint(); MouseEventArgsX.DetachDispatch(); POINT point; point.x=0; point.y=0; CFormView::OnLButtonUp(0, point); }I am not getting this "lBoard" value at all. Actually same is working properly for MouseUp and MouseDown EventCould you please help me?
×
×
  • Create New...