Jump to content
Software FX Community

ChartFx is crashing for OnMouseUp event.


tiwari_cse

Recommended Posts

Hi guru's 

I am using a Chartfx Client Server 6.2 in my VC++ (MFC) application. I had created the MouseUp event handler for my Bar chart.

OnMouseUpOperationChart(LPDISPATCH sender, LPDISPATCH args)

In my OnMouseUpOperationChart handler I am using following code to get the point information the user has clicked..

C_MouseEventArgsX MouseEventArgsX ;

MouseEventArgsX.AttachDispatch(args,true);

long nBoard;

nBoard = MouseEventArgsX.GetPoint();

MouseEventArgsX.DetachDispatch();

After adding this part of the code my application is crashing & it happens when i do some scrolling operation in my Bar chart ..

moerover it happens only some times not every time I scrolls...

Please suggest....

- shatrughan

 

 

 

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...