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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...