User (Legacy) Posted July 31, 2002 Report Share Posted July 31, 2002 (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 More sharing options...
User (Legacy) Posted August 2, 2002 Author Report Share Posted August 2, 2002 Sent to this group with subject "Samples attached: Custom painting with PostPaint event detection..." Petr Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.