Jump to content
Software FX Community

add default processing to _all_ charts.


User (Legacy)
 Share

Recommended Posts

I'm using VC++ 6.0 

In ChartFX 3.0, I had some nifty default processing I added to every chart,

wherein I would catch the mouse up and down events, and the mouse moving

event, and along with the crosshairs, display the X and Y values as the user

dragged the mouse. Nice for checking points on curves, etc, etc. I did

this by writing a generic routine which took a chart handle, and the wParam

and lParam codes from the WM_COMMAND message. I stuck this procedure in a

DLL, and just called it from any apps OnCommand message handler if I had

charts in that window.

I can't seem to figure out how to do this with ChartFX 98. If I use the

activeX events, I'd have to catch the events in every window that contained

a chart. Messy, and repetitive. I can't seem to get the ICfxEvents class

to work either, so if someone had a sample, I'd love to see it. If I try

to use the WM_COMMAND trick, I get all sorts of multiplied defined errors

when I try to include chartfx.h, because I'm using the ActiveX stuff

elsewhere in the app.

Thanks,

eric

jaeger@bellatlantic.net

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