Click here to Skip to main content
15,905,867 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow can I save a file in rich text format? Pin
DanYELL31-Oct-03 6:07
DanYELL31-Oct-03 6:07 
AnswerRe: How can I save a file in rich text format? Pin
includeh1031-Oct-03 6:30
includeh1031-Oct-03 6:30 
AnswerRe: How can I save a file in rich text format? Pin
Michael P Butler31-Oct-03 6:38
Michael P Butler31-Oct-03 6:38 
GeneralPolar Plots (repost) Pin
jhorstkamp31-Oct-03 3:55
jhorstkamp31-Oct-03 3:55 
GeneralRe: Polar Plots (repost) Pin
Jason Henderson31-Oct-03 4:21
Jason Henderson31-Oct-03 4:21 
GeneralRe: Polar Plots (repost) Pin
jhorstkamp31-Oct-03 5:38
jhorstkamp31-Oct-03 5:38 
GeneralRe: Polar Plots (repost) Pin
Rick York31-Oct-03 7:03
mveRick York31-Oct-03 7:03 
GeneralRe: Polar Plots (repost) Pin
IGeorgeI31-Oct-03 9:01
IGeorgeI31-Oct-03 9:01 
Hi John

1) first you need a DC to the dialog

- I suggest you add an empty control to the dialog first, and get the DC from the control. That way your coordiante system is relative to the control(drawing area) this make life easier.

2) create a "polar transform" method that is fast and efficient.

- this transform will be called every single time any rendering or user interaction with the graph occurrs so BE efficient.
- All incomming polar data is to be formatted through this transform and the resulting cartesian data will be rendered in your offset DC fron the control.

There is of course a lot more to it, especially when you consider user interaction, zooming, flicker free panning etc. But that is all pretty standard stuff.

If you want to see a very good example of an XY or polar plot, check out our company website at

homepage - www.zsystems.ca
Active x - www.zsystems.ca/devtools.htm
ZAX download - http://www.zsystems.ca/downloads.htm

Download the ZAX demo and play around with the XY/Polar plot in there.


If you have any questions on how we did anything, feel free to contact me directly.

Good luck





George W

Software Developer
www.zsystems.ca
GeneralRe: Polar Plots (repost) Pin
jhorstkamp31-Oct-03 10:00
jhorstkamp31-Oct-03 10:00 
GeneralRe: Polar Plots (repost) Pin
Gary R. Wheeler31-Oct-03 13:22
Gary R. Wheeler31-Oct-03 13:22 
GeneralPolar Plots Pin
Anonymous31-Oct-03 3:49
Anonymous31-Oct-03 3:49 
GeneralI wanna know how to detect file and folder deletion Pin
User 21559731-Oct-03 2:55
User 21559731-Oct-03 2:55 
GeneralRe: I wanna know how to detect file and folder deletion Pin
vcplusplus31-Oct-03 5:20
vcplusplus31-Oct-03 5:20 
Generalabout playing .wav file Pin
yingkou31-Oct-03 2:07
yingkou31-Oct-03 2:07 
GeneralRe: about playing .wav file Pin
Graham Bradshaw31-Oct-03 2:30
Graham Bradshaw31-Oct-03 2:30 
Generala very basic quest! Pin
31-Oct-03 1:42
suss31-Oct-03 1:42 
GeneralRe: a very basic quest! Pin
Michael P Butler31-Oct-03 2:11
Michael P Butler31-Oct-03 2:11 
GeneralRe: a very basic quest! Pin
ranjjj31-Oct-03 2:27
ranjjj31-Oct-03 2:27 
GeneralRe: a very basic quest! Pin
Michael P Butler31-Oct-03 2:34
Michael P Butler31-Oct-03 2:34 
GeneralRe: a very basic quest! Pin
ranjjj31-Oct-03 2:39
ranjjj31-Oct-03 2:39 
GeneralRe: a very basic quest! Pin
ranjjj31-Oct-03 2:58
ranjjj31-Oct-03 2:58 
GeneralClick on balloon tooltip handling Pin
kotbegemot31-Oct-03 1:21
kotbegemot31-Oct-03 1:21 
GeneralSome questions Pin
DaFrawg31-Oct-03 1:08
DaFrawg31-Oct-03 1:08 
GeneralRe: Some questions Pin
Michael P Butler31-Oct-03 1:22
Michael P Butler31-Oct-03 1:22 
GeneralRe: Some questions Pin
DaFrawg4-Nov-03 21:07
DaFrawg4-Nov-03 21:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.