Quinn-Curtis Forums
Quinn-Curtis Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Tools for Windows
 Charting and Real-Time Graphics Tools for Windows
 drawing on the graph via mouse input

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List

* Forum Code is ON
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]


T O P I C    R E V I E W
jandropov Posted - 25 Nov 2010 : 11:47:07
I've been attempting to allow the drawing of a line, using the mouse, in the same window that the quinn curtis dll draws the graph, but i've had no success (i.e. the line does not show up).
I tried to do something similar using the quinn curtis functions, but it would mean creating a new object (WGPolyline) on the fly, but this new object would need to be created after the graph has been created (i get an "serious error" message when i do this).
Is it even possible to use the device context (the same window/device context that the quinn curtis dll is using) to make window GDI calls to draw on the graph with the mouse?
1   L A T E S T    R E P L I E S    (Newest First)
quinncurtis Posted - 25 Nov 2010 : 20:31:49
Arbitrarily adding a chart object (WGPolyline in your example) to a graph, after the graph has been defined in the graph building routine, will cause a runtime error with our software. You can however add chart objects after a graph has been created if you place them between WGPreAddGraphObject and WGPostAddGraphObject calls. See the manual for details regarding these two functions.

Quinn-Curtis Forums © 2000-2018 Quinn-Curtis, Inc. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07