Click here to Skip to main content
15,888,000 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Build errors ! Pin
Brisingr Aerowing15-Apr-15 11:22
professionalBrisingr Aerowing15-Apr-15 11:22 
SuggestionRe: Build errors ! Pin
Richard MacCutchan15-Apr-15 7:19
mveRichard MacCutchan15-Apr-15 7:19 
QuestionMFC: flickering issue with GDI+ Pin
Member 1128851411-Apr-15 20:27
Member 1128851411-Apr-15 20:27 
GeneralRe: MFC: flickering issue with GDI+ Pin
David Crow12-Apr-15 16:55
David Crow12-Apr-15 16:55 
GeneralRe: MFC: flickering issue with GDI+ Pin
Stephen Hewitt15-Apr-15 10:41
Stephen Hewitt15-Apr-15 10:41 
QuestionDrawing border to dialog using GDI+ Pin
Member 1128851411-Apr-15 19:30
Member 1128851411-Apr-15 19:30 
AnswerRe: Drawing border to dialog using GDI+ Pin
Richard MacCutchan11-Apr-15 21:24
mveRichard MacCutchan11-Apr-15 21:24 
GeneralRe: Drawing border to dialog using GDI+ Pin
Member 1128851412-Apr-15 9:19
Member 1128851412-Apr-15 9:19 
Hi,

Thanks for your solution.
I used AddLine and the same vertex. Still it was not working.
Then i decreased 1 from right and bottom, now its working.
Is it something like i need to use offset or something. I dont want to hardcode.
GraphicsPath gp;
Point point[5];
point[0] = Point(vertex[0].x,vertex[0].y);
point[1] = Point(vertex[1].x-1,vertex[1].y);
point[2] = Point(vertex[2].x-1,vertex[2].y-1);
point[3] = Point(vertex[3].x,vertex[3].y-1);
point[4] = Point(vertex[0].x,vertex[0].y);

gp.AddLines(point,5);
Pen pen(Color(255, 255, 0, 0));
graphics.DrawPath(&pen, &gp);
GeneralRe: Drawing border to dialog using GDI+ Pin
Richard MacCutchan12-Apr-15 21:35
mveRichard MacCutchan12-Apr-15 21:35 
QuestionEdit control: number validation Pin
lor7510-Apr-15 7:58
lor7510-Apr-15 7:58 
AnswerRe: Edit control: number validation Pin
jeron110-Apr-15 8:18
jeron110-Apr-15 8:18 
QuestionRe: Edit control: number validation Pin
David Crow10-Apr-15 10:58
David Crow10-Apr-15 10:58 
AnswerRe: Edit control: number validation Pin
lor7511-Apr-15 5:21
lor7511-Apr-15 5:21 
AnswerRe: Edit control: number validation Pin
Bram van Kampen15-Apr-15 15:53
Bram van Kampen15-Apr-15 15:53 
QuestionRemote PC MySql Connect to My PC Pin
D.Manivelan10-Apr-15 1:56
D.Manivelan10-Apr-15 1:56 
QuestionRe: Remote PC MySql Connect to My PC Pin
Richard MacCutchan10-Apr-15 3:10
mveRichard MacCutchan10-Apr-15 3:10 
QuestionRe: Remote PC MySql Connect to My PC Pin
David Crow10-Apr-15 5:47
David Crow10-Apr-15 5:47 
AnswerRe: Remote PC MySql Connect to My PC Pin
D.Manivelan10-Apr-15 7:48
D.Manivelan10-Apr-15 7:48 
QuestionRe: Remote PC MySql Connect to My PC Pin
Richard MacCutchan10-Apr-15 22:22
mveRichard MacCutchan10-Apr-15 22:22 
Questionread image raw type of gray scale 16bit and height=512 ,width=512 Pin
dahraoui9-Apr-15 6:21
dahraoui9-Apr-15 6:21 
QuestionRe: read image raw type of gray scale 16bit and height=512 ,width=512 Pin
David Crow9-Apr-15 9:01
David Crow9-Apr-15 9:01 
AnswerRe: read image raw type of gray scale 16bit and height=512 ,width=512 Pin
dahraoui12-May-15 6:19
dahraoui12-May-15 6:19 
Question#include directive in switch case if clause Pin
elelont28-Apr-15 22:30
elelont28-Apr-15 22:30 
AnswerRe: #include directive in switch case if clause Pin
Richard MacCutchan8-Apr-15 22:54
mveRichard MacCutchan8-Apr-15 22:54 
AnswerRe: #include directive in switch case if clause Pin
Jochen Arndt8-Apr-15 23:15
professionalJochen Arndt8-Apr-15 23:15 

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.