Click here to Skip to main content
15,887,875 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionNeed help on drawing a line Pin
John50225-Feb-09 19:44
John50225-Feb-09 19:44 
AnswerRe: Need help on drawing a line Pin
«_Superman_»25-Feb-09 20:36
professional«_Superman_»25-Feb-09 20:36 
GeneralRe: Need help on drawing a line Pin
John50225-Feb-09 22:19
John50225-Feb-09 22:19 
AnswerRe: Need help on drawing a line Pin
Hamid_RT25-Feb-09 20:50
Hamid_RT25-Feb-09 20:50 
GeneralRe: Need help on drawing a line Pin
John50225-Feb-09 22:19
John50225-Feb-09 22:19 
GeneralRe: Need help on drawing a line Pin
Hamid_RT26-Feb-09 5:53
Hamid_RT26-Feb-09 5:53 
GeneralRe: Need help on drawing a line Pin
John50227-Feb-09 0:00
John50227-Feb-09 0:00 
GeneralRe: Need help on drawing a line Pin
Hamid_RT27-Feb-09 3:50
Hamid_RT27-Feb-09 3:50 
Hi John
Well Im not Saadi (poet)[^].
Your answer is easy if you want to clear previous lines you can draw on it again for example you have this code:
dc.SetROP2(R2_NOTXORPEN);
dc.MoveTo(100,100);
dc.LineTo(100,200);
dc.MoveTo(200,205);
dc.LineTo(200,305);

if you use of this code again you clear previous line.
dc.SetROP2(R2_NOTXORPEN);
dc.MoveTo(100,100);
dc.LineTo(100,200);
dc.MoveTo(200,205);
dc.LineTo(200,305);

Of one Essence is the human race
thus has Creation put the base
One Limb impacted is sufficient
For all Others to feel the Mace
(Saadi )

AnswerRe: Need help on drawing a line Pin
_AnsHUMAN_ 25-Feb-09 21:23
_AnsHUMAN_ 25-Feb-09 21:23 
GeneralRe: Need help on drawing a line Pin
John50225-Feb-09 22:21
John50225-Feb-09 22:21 
GeneralRe: Need help on drawing a line Pin
_AnsHUMAN_ 25-Feb-09 22:26
_AnsHUMAN_ 25-Feb-09 22:26 
GeneralRe: Need help on drawing a line Pin
John50225-Feb-09 22:41
John50225-Feb-09 22:41 
AnswerRe: Need help on drawing a line Pin
CPallini25-Feb-09 21:41
mveCPallini25-Feb-09 21:41 
Questiondelete a line from file. Pin
sam_psycho25-Feb-09 18:52
sam_psycho25-Feb-09 18:52 
AnswerRe: delete a line from file. Pin
«_Superman_»25-Feb-09 18:55
professional«_Superman_»25-Feb-09 18:55 
GeneralRe: delete a line from file. Pin
User 268325825-Feb-09 19:36
User 268325825-Feb-09 19:36 
GeneralRe: delete a line from file. Pin
Iain Clarke, Warrior Programmer25-Feb-09 22:02
Iain Clarke, Warrior Programmer25-Feb-09 22:02 
GeneralRe: delete a line from file. Pin
CPallini25-Feb-09 22:13
mveCPallini25-Feb-09 22:13 
GeneralRe: delete a line from file. Pin
David Crow26-Feb-09 3:07
David Crow26-Feb-09 3:07 
Questionhiding nodes in a mfc ctreectrl Pin
kitkat1201225-Feb-09 17:05
kitkat1201225-Feb-09 17:05 
AnswerRe: hiding nodes in a mfc ctreectrl Pin
Hamid_RT25-Feb-09 20:54
Hamid_RT25-Feb-09 20:54 
AnswerRe: hiding nodes in a mfc ctreectrl Pin
Iain Clarke, Warrior Programmer25-Feb-09 22:06
Iain Clarke, Warrior Programmer25-Feb-09 22:06 
Questionupdate 3ds max plugin without restarting 3ds max 2008(Q2) Pin
akira3225-Feb-09 16:09
akira3225-Feb-09 16:09 
QuestionCRecordset Empty string Pin
ohming25-Feb-09 15:58
ohming25-Feb-09 15:58 
QuestionON_MESSAGE for CDialog OBJECT Pin
ForNow25-Feb-09 14:28
ForNow25-Feb-09 14:28 

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.