Jump to content
Software FX Community

Incorrect current scroll information about a chart.

User (Legacy)

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. (Windows 2000 SP3, MS

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

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



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

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