Jump to content
Software FX Community

Samples attached: Custom painting with PostPaint event detection...

User (Legacy)

Recommended Posts

(Samples for VC++ 6.0, ATL, Cfx4032.dll -- they use DLL

version of Chart FX Client Server via #import, detect events

from the chart instance, process user actions like window

resize, act dynamically when user drags chart bar. Comments

can be processed by doxygen -- www.doxygen.org)


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) -- now and earlier when asked

about events. Thanks.

The arrow object from Annotation Extension seemed to be the

right thing at first. 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 (CFXtrend1.zip) detects PostPaint events

through notifications sent to the message queue, the second

one (CFXtrend2.zip) uses ICfxEvents interface.

You can do anything you want with them. No licence string is

used inside, so you need the development licence.



Petr Prikryl (prikrylp at skil dot cz)

Link to comment
Share on other sites


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

  • Create New...