Jump to content
Software FX Community

Interested in Customized chart VC++ sample based on PostPaint event?

User (Legacy)

Recommended Posts

(VC++ 6.0, ATL, Cfx4032.dll)


I have asked here if and how can I draw lines that cannot be

expressed by series into the chart, and I have obtained good

hints from Software FX (FP) -- thanks.

The arrow object from Annotation Extension seemed

to be the right thing. But for my purpose, I did find easier

to detect PostPaint event and to draw what I need

(the line) using the Windows GDI functions.

As the side effect, I have created two working examples

written in VC++ 6.0 that use Cfx4032.dll and the sfxbar.dll

via #import. The code uses ATL (no MFC) and GDI functions.

The first example detects PostPaint event through

notifications sent to the message queue, the second one uses

ICfxEvents interface.

Is anyone interested in the samples? (You can do anything

you want with them.) If yes, I can post here the zip file

(about 30KB). No licence string is used inside, so I hope

that it would not be illegal ;)



Petr Prikryl (prikrylp at skil dot cz)

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