Jump to content
Software FX Community

Memory leak in HitTest()??

User (Legacy)

Recommended Posts


I am using code which looks like:

// Figure out where the mouse is located.

nHit = m_spChartFX->HitTest(x, y, &nSeries, &nPoint);

switch (nHit)


case HIT_2DBK:

// the click was simulated on the 2D background



case ...




When I move mouse over 2D background memory used is constantly growing. If I

comment HitTest () and force switch to do only 2D background case (setting

nHit = HIT_2DBK) memory used is not growing. Can anybody tell me is there a

memory leak in HitTest() method.



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