Click here to Skip to main content
16,005,376 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionNeed help regarding the slider Pin
John50224-Jan-09 8:22
John50224-Jan-09 8:22 
QuestionRe: Need help regarding the slider Pin
David Crow24-Jan-09 14:09
David Crow24-Jan-09 14:09 
AnswerRe: Need help regarding the slider Pin
John50225-Jan-09 0:39
John50225-Jan-09 0:39 
GeneralRe: Need help regarding the slider Pin
Mark Salsbery25-Jan-09 7:38
Mark Salsbery25-Jan-09 7:38 
QuestionNeed some help on how to create a Line and how to move that line using mouse options Pin
John50224-Jan-09 4:47
John50224-Jan-09 4:47 
AnswerRe: Need some help on how to create a Line and how to move that line using mouse options Pin
Hamid_RT24-Jan-09 5:15
Hamid_RT24-Jan-09 5:15 
GeneralRe: Need some help on how to create a Line and how to move that line using mouse options Pin
John50224-Jan-09 12:30
John50224-Jan-09 12:30 
AnswerRe: Need some help on how to create a Line and how to move that line using mouse options Pin
PJ Arends24-Jan-09 5:44
professionalPJ Arends24-Jan-09 5:44 
In addition to what Hamid said, you will also have to set the raster operation code to R2_XORPEN when you draw your line. Doing so you will be able to draw the line once to show the line, and then draw it again in the same spot to erase the line. Use CDC::SetROP2(R2_XORPEN) in your drawing code.



You may be right
I may be crazy
-- Billy Joel --


Within you lies the power for good - Use it!

GeneralRe: Need some help on how to create a Line and how to move that line using mouse options Pin
John50224-Jan-09 12:31
John50224-Jan-09 12:31 
AnswerRe: Need some help on how to create a Line and how to move that line using mouse options Pin
bob1697224-Jan-09 7:36
bob1697224-Jan-09 7:36 
GeneralRe: Need some help on how to create a Line and how to move that line using mouse options Pin
John50224-Jan-09 12:33
John50224-Jan-09 12:33 
Questioncode to analyze bitmap then create predefined palette of colors in bitmap? Pin
Richard Perrine24-Jan-09 4:33
Richard Perrine24-Jan-09 4:33 
AnswerRe: code to analyze bitmap then create predefined palette of colors in bitmap? Pin
Stuart Dootson24-Jan-09 5:01
professionalStuart Dootson24-Jan-09 5:01 
GeneralRe: code to analyze bitmap then create predefined palette of colors in bitmap? Pin
Richard Perrine24-Jan-09 5:14
Richard Perrine24-Jan-09 5:14 
AnswerRe: code to analyze bitmap then create predefined palette of colors in bitmap? Pin
Randor 24-Jan-09 6:59
professional Randor 24-Jan-09 6:59 
Questionexplorer in Windows CE Pin
Miss_F24-Jan-09 2:18
Miss_F24-Jan-09 2:18 
AnswerRe: explorer in Windows CE Pin
Stuart Dootson24-Jan-09 3:09
professionalStuart Dootson24-Jan-09 3:09 
GeneralRe: explorer in Windows CE Pin
Miss_F24-Jan-09 3:15
Miss_F24-Jan-09 3:15 
GeneralRe: explorer in Windows CE Pin
Stuart Dootson24-Jan-09 4:43
professionalStuart Dootson24-Jan-09 4:43 
GeneralRe: explorer in Windows CE Pin
Miss_F24-Jan-09 18:53
Miss_F24-Jan-09 18:53 
QuestionGet TrackBar Value in Form from a Thread Pin
Member 391913824-Jan-09 1:16
Member 391913824-Jan-09 1:16 
AnswerRe: Get TrackBar Value in Form from a Thread Pin
Stuart Dootson24-Jan-09 1:37
professionalStuart Dootson24-Jan-09 1:37 
GeneralRe: Get TrackBar Value in Form from a Thread Pin
Member 391913824-Jan-09 1:56
Member 391913824-Jan-09 1:56 
GeneralRe: Get TrackBar Value in Form from a Thread Pin
Stuart Dootson24-Jan-09 2:19
professionalStuart Dootson24-Jan-09 2:19 
GeneralRe: Get TrackBar Value in Form from a Thread Pin
Chris.G.Weber24-Jan-09 6:40
Chris.G.Weber24-Jan-09 6:40 

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.