Jump to content
Software FX Community

Incorrect current scroll information about a chart.


User (Legacy)
 Share

Recommended Posts

Hi All,

We'd like to get current scroll information about a chart. For this purpose

we use PaintInfo method with CPI_SCROLLINFO parameter passed into it.

Unfortunately, it doesn't seem working in our code - the method returns 0

value. We use ChartFX Client Server v.5.0.6.0. (Windows 2000 SP3, MS

DevStudio 6, C++, MFC). The following is a code snippet:

void Cfx_AxisX_ScrollInfo(IChartFXPtr pChartFX, short& act_pos, short&

max_pos)

{

_variant_t vAxis((short)AXIS_X);

_variant_t vPos = pChartFX->PaintInfo(CPI_SCROLLINFO, vAxis);

act_pos = LOWORD(vPos.lVal);

max_pos = HIWORD(vPos.lVal);

}

Any help on this matter would be greatly appreciated.

Thanks, Anton.

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.

 Share

×
×
  • Create New...