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)

Hi,

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

--

Petr Prikryl (prikrylp at skil dot cz)

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...