Click here to Skip to main content
15,897,291 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionFSCTL_GET_VOLUME_BITMAP [modified] Pin
john563223-Dec-08 18:04
john563223-Dec-08 18:04 
QuestionRe: FSCTL_GET_VOLUME_BITMAP Pin
john563223-Dec-08 19:56
john563223-Dec-08 19:56 
Questionhow to open .txt file using ShellExecute()? Pin
puppya23-Dec-08 17:26
puppya23-Dec-08 17:26 
AnswerRe: how to open .txt file using ShellExecute()? Pin
Richard Andrew x6423-Dec-08 17:46
professionalRichard Andrew x6423-Dec-08 17:46 
GeneralRe: how to open .txt file using ShellExecute()? Pin
puppya23-Dec-08 17:50
puppya23-Dec-08 17:50 
GeneralRe: how to open .txt file using ShellExecute()? Pin
john563223-Dec-08 18:30
john563223-Dec-08 18:30 
QuestionHow to set Icon to a CMFCToolBarButton Pin
N B sowmi23-Dec-08 17:21
N B sowmi23-Dec-08 17:21 
QuestionDrawing Inverse Rectangles Pin
Richard Andrew x6423-Dec-08 15:18
professionalRichard Andrew x6423-Dec-08 15:18 
Is there a special pen that I can use to draw lines on a bitmap that simply invert the pixels that are already there?

I need draw rectangles on a bitmap and I need to update their dimensions every few seconds, so the old rectangles need to be erased before the new ones are drawn.

This means that if I erase the old rectangles with a white pen, after a while large chunks of my bitmap will be missing because of having been overwritten by the rectangles.

I figure that if I can draw rectangles that simply invert the pixels that are already there, then I can erase the rectangles by drawing the same ones a second time, meaning that the pixels will then become inverted back to what they were originally.

Can anyone suggest a way to do this?
AnswerRe: Drawing Inverse Rectangles Pin
bob1697223-Dec-08 16:45
bob1697223-Dec-08 16:45 
GeneralRe: Drawing Inverse Rectangles Pin
Richard Andrew x6423-Dec-08 17:18
professionalRichard Andrew x6423-Dec-08 17:18 
QuestionTo the regulars of forum 1647... (urgentz seasons greetings) Pin
Iain Clarke, Warrior Programmer23-Dec-08 10:01
Iain Clarke, Warrior Programmer23-Dec-08 10:01 
AnswerRe: To the regulars of forum 1647... (urgentz seasons greetings) Pin
CPallini23-Dec-08 10:09
mveCPallini23-Dec-08 10:09 
AnswerRe: To the regulars of forum 1647... (urgentz seasons greetings) Pin
Mark Salsbery23-Dec-08 10:23
Mark Salsbery23-Dec-08 10:23 
AnswerRe: To the regulars of forum 1647... (urgentz seasons greetings) Pin
Jijo.Raj23-Dec-08 11:22
Jijo.Raj23-Dec-08 11:22 
AnswerRe: To the regulars of forum 1647... (urgentz seasons greetings) Pin
john563223-Dec-08 21:31
john563223-Dec-08 21:31 
AnswerRe: To the regulars of forum 1647... (urgentz seasons greetings) Pin
Cedric Moonen23-Dec-08 21:52
Cedric Moonen23-Dec-08 21:52 
JokeRe: To the regulars of forum 1647... (urgentz seasons greetings) Pin
toxcct24-Dec-08 2:02
toxcct24-Dec-08 2:02 
GeneralRe: To the regulars of forum 1647... (urgentz seasons greetings) Pin
Iain Clarke, Warrior Programmer24-Dec-08 5:12
Iain Clarke, Warrior Programmer24-Dec-08 5:12 
AnswerRe: To the regulars of forum 1647... (urgentz seasons greetings) Pin
SandipG 24-Dec-08 20:02
SandipG 24-Dec-08 20:02 
AnswerRe: To the regulars of forum 1647... (urgentz seasons greetings) Pin
Rajesh R Subramanian28-Dec-08 5:02
professionalRajesh R Subramanian28-Dec-08 5:02 
QuestionSTL Lists and base/derived classes Pin
mjackson1123-Dec-08 9:31
mjackson1123-Dec-08 9:31 
QuestionRe: STL Lists and base/derived classes Pin
CPallini23-Dec-08 10:19
mveCPallini23-Dec-08 10:19 
AnswerRe: STL Lists and base/derived classes Pin
Code-o-mat23-Dec-08 10:24
Code-o-mat23-Dec-08 10:24 
AnswerRe: STL Lists and base/derived classes Pin
mjackson1123-Dec-08 18:20
mjackson1123-Dec-08 18:20 
QuestionPrinting through C Pin
Razanust23-Dec-08 9:09
Razanust23-Dec-08 9:09 

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.