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

C / C++ / MFC

 
AnswerRe: SQLPassThrough??? Pin
Mark Salsbery20-Sep-07 10:19
Mark Salsbery20-Sep-07 10:19 
QuestionMFC and iostream Pin
xjonil20-Sep-07 7:20
xjonil20-Sep-07 7:20 
AnswerRe: MFC and iostream Pin
jhwurmbach20-Sep-07 7:28
jhwurmbach20-Sep-07 7:28 
GeneralRe: MFC and iostream Pin
xjonil20-Sep-07 8:58
xjonil20-Sep-07 8:58 
AnswerRe: MFC and iostream Pin
DevMentor.org20-Sep-07 9:46
DevMentor.org20-Sep-07 9:46 
GeneralRe: MFC and iostream Pin
xjonil20-Sep-07 20:11
xjonil20-Sep-07 20:11 
GeneralRe: MFC and iostream Pin
DevMentor.org20-Sep-07 20:20
DevMentor.org20-Sep-07 20:20 
QuestionGDI+ Pen Alignment Pin
bob1697220-Sep-07 7:04
bob1697220-Sep-07 7:04 
Using GDI+, Visual C++ 2003.

When using the PenAlignment enumeration type to set line alignment before a drawing primitive like rect, or ellipse, it draws the outline etiher inset or centered on the outline boundary.

This works great for rectangles and ellipses with solid outlines.

However, I'm finding that when I draw rects or Ellipses with outline styles equivalent dashed or dotted with the alignment set to PenAlignmentInset, the results are horrible globs instead of the nice and neat dots and dashes when the alignment is set to PenAlignmentCenter.

typedef enum {
PenAlignmentCenter = 0,
PenAlignmentInset = 1
} PenAlignment;

MSDN states "If you set the alignment of a Pen object to PenAlignmentInset, you cannot use that pen to draw compound lines or triangular dash caps."

My guess is this refers to my issue but I'm not sure this is refering to a rect or ellipse primitive. If it is, problem identified. However, I thought I'd ask the opinion of the rest of you if your interpretation of the above MSDN statement refers to rects and ellipses.

Thanks in advance for opinions.
AnswerRe: GDI+ Pen Alignment Pin
Nathan Holt at EMOM20-Sep-07 9:10
Nathan Holt at EMOM20-Sep-07 9:10 
GeneralRe: GDI+ Pen Alignment Pin
bob1697220-Sep-07 9:21
bob1697220-Sep-07 9:21 
Questiondifference b/w RS232 and RS422 Pin
sudheee20-Sep-07 6:56
sudheee20-Sep-07 6:56 
AnswerRe: difference b/w RS232 and RS422 Pin
xjonil20-Sep-07 7:32
xjonil20-Sep-07 7:32 
AnswerRe: difference b/w RS232 and RS422 Pin
jeron120-Sep-07 9:41
jeron120-Sep-07 9:41 
QuestionDateDiff in C++ Pin
rweworld20-Sep-07 6:23
rweworld20-Sep-07 6:23 
AnswerRe: DateDiff in C++ Pin
nbugalia20-Sep-07 6:44
nbugalia20-Sep-07 6:44 
AnswerRe: DateDiff in C++ Pin
bob1697220-Sep-07 9:23
bob1697220-Sep-07 9:23 
Questionmergesort and insertion sort problem.. Pin
makaveli_0720-Sep-07 6:00
makaveli_0720-Sep-07 6:00 
AnswerRe: mergesort and insertion sort problem.. Pin
Iain Clarke, Warrior Programmer20-Sep-07 6:40
Iain Clarke, Warrior Programmer20-Sep-07 6:40 
GeneralRe: mergesort and insertion sort problem.. Pin
makaveli_0720-Sep-07 7:04
makaveli_0720-Sep-07 7:04 
AnswerRe: mergesort and insertion sort problem.. Pin
David Crow20-Sep-07 10:33
David Crow20-Sep-07 10:33 
AnswerRe: mergesort and insertion sort problem.. Pin
John R. Shaw20-Sep-07 21:17
John R. Shaw20-Sep-07 21:17 
QuestionHow to change color of STATIC control in MFC ? Pin
Yanshof20-Sep-07 4:34
Yanshof20-Sep-07 4:34 
AnswerRe: How to change color of STATIC control in MFC ? Pin
Maximilien20-Sep-07 4:51
Maximilien20-Sep-07 4:51 
AnswerRe: How to change color of STATIC control in MFC ? Pin
jhwurmbach20-Sep-07 4:54
jhwurmbach20-Sep-07 4:54 
AnswerRe: How to change color of STATIC control in MFC ? Pin
Mark Salsbery20-Sep-07 6:08
Mark Salsbery20-Sep-07 6:08 

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.