Jump to content
Software FX Community

Memory leak in HitTest()??


User (Legacy)

Recommended Posts

Hi, 

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

....

break;

case ...

break;

....

}

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.

Thanks,

Emir

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...