Jump to content
Software FX Community

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


User (Legacy)
 Share

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)

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

--

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.

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