Click here to Skip to main content
15,922,574 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralCFontDialog: Hiding underline and strikeout Pin
Joe Woodbury31-Oct-03 11:55
professionalJoe Woodbury31-Oct-03 11:55 
GeneralRe: CFontDialog: Hiding underline and strikeout Pin
PJ Arends31-Oct-03 13:05
professionalPJ Arends31-Oct-03 13:05 
GeneralRe: CFontDialog: Hiding underline and strikeout Pin
Joe Woodbury31-Oct-03 13:20
professionalJoe Woodbury31-Oct-03 13:20 
GeneralRe: CFontDialog: Hiding underline and strikeout Pin
PJ Arends31-Oct-03 13:28
professionalPJ Arends31-Oct-03 13:28 
GeneralRe: CFontDialog: Hiding underline and strikeout Pin
PJ Arends31-Oct-03 13:51
professionalPJ Arends31-Oct-03 13:51 
GeneralThreads and database problem Pin
Orkun GEDiK31-Oct-03 11:23
Orkun GEDiK31-Oct-03 11:23 
GeneralAdd Menu to a Dialog Application Pin
Grahamfff31-Oct-03 10:54
Grahamfff31-Oct-03 10:54 
GeneralRe: Add Menu to a Dialog Application Pin
PJ Arends31-Oct-03 13:33
professionalPJ Arends31-Oct-03 13:33 
GeneralRe: Add Menu to a Dialog Application Pin
Grahamfff1-Nov-03 10:53
Grahamfff1-Nov-03 10:53 
GeneralConvert OpenGL coord to pixel Pin
Jean Bédard31-Oct-03 9:58
Jean Bédard31-Oct-03 9:58 
GeneralRe: Convert OpenGL coord to pixel Pin
Orhun Birsoy31-Oct-03 10:07
Orhun Birsoy31-Oct-03 10:07 
GeneralWindows Forms Question (C++) Pin
krajnik31-Oct-03 9:21
krajnik31-Oct-03 9:21 
GeneralRe: Windows Forms Question (C++) Pin
murali_utr31-Oct-03 18:13
murali_utr31-Oct-03 18:13 
GeneralUI Design Discussions Pin
armentage31-Oct-03 6:12
armentage31-Oct-03 6:12 
GeneralRe: UI Design Discussions Pin
Michael P Butler31-Oct-03 6:34
Michael P Butler31-Oct-03 6:34 
GeneralRe: UI Design Discussions Pin
armentage31-Oct-03 6:41
armentage31-Oct-03 6:41 
GeneralRe: UI Design Discussions Pin
Trollslayer31-Oct-03 6:41
mentorTrollslayer31-Oct-03 6:41 
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

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.