Jump to content
Software FX Community

Capturing Mouse Drag creates a new series Point.

User (Legacy)

Recommended Posts


I'm using the LButtonDown,LButtonUp and MouseMoving functions to allow the

user to drag the mouse and edit different points on the series without

having to drag each individual point.

One issue occurs when I drag the mouse beyond the last series point. Say I

have a series with points 0-9. If I drag the mouse past point 9 (and past

the right Y axis), a point # 10 appears,even though I did not declare it in

the series.

I change the values of the points using the following calls:




where nSeries = 0 for the series,

nPoint = 0 through 9

fValue = the new value;

The point value that I send is never greater than 9 (I ensure this in the

code). Yet a point 10 will still appear.

I didn't see this in the known bug problems. Has anyone seen a similar


Thanks in advance,

Christopher Crotty


Link to comment
Share on other sites


It seems that you are doing all the mouse handling so I if a point is being

added it must be because your code sets its value.

When you say a 10th point you mean you have ten point on the chart (0-9) or

eleven (0-10) ?

As I said before, since you are the one handling the mouse, it has to be

your code (the only code that's running) that is changing the number of



Software FX, Inc.

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.

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...