Click here to Skip to main content
15,941,973 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Debugging (warning: Long answer - skip, rather than making tl;dr complaints!) Pin
kalberts13-Dec-21 18:09
kalberts13-Dec-21 18:09 
QuestionAddVectoredExceptionHandler in Release Pin
ForNow6-Dec-21 16:08
ForNow6-Dec-21 16:08 
AnswerRe: AddVectoredExceptionHandler in Release Pin
Richard MacCutchan6-Dec-21 21:23
mveRichard MacCutchan6-Dec-21 21:23 
GeneralRe: AddVectoredExceptionHandler in Release Pin
ForNow7-Dec-21 1:32
ForNow7-Dec-21 1:32 
GeneralRe: AddVectoredExceptionHandler in Release Pin
Richard MacCutchan7-Dec-21 1:35
mveRichard MacCutchan7-Dec-21 1:35 
GeneralRe: AddVectoredExceptionHandler in Release Pin
ForNow7-Dec-21 12:48
ForNow7-Dec-21 12:48 
GeneralRe: AddVectoredExceptionHandler in Release Pin
Richard MacCutchan7-Dec-21 22:03
mveRichard MacCutchan7-Dec-21 22:03 
QuestionErroneous information returned from CImage Class Pin
ForNow1-Dec-21 16:28
ForNow1-Dec-21 16:28 
Hi
I am still on the red bullet bitmap. What I have been trying to do is change the color of the surrounding rectangle from white to gray. to match the background of where I bitblt to

I have used CImage to load it Create it.

When I try to access the header info such width and height I get the right values back even including the bitbitcount there are 8 bits to represent a pixel (256 colors)

However I when use methods such as GetColorTable or Getbits and look at pointers returned it is all hex zeros.

I have opened the file with hex editor and can see it anything but returned. I am trying to get to the pixels represented by white RGB(255,255,255) I know there can be shades of white and turn it into

Gray(0XD3,0XD3,0XD3) to match the background of where I have bitblt (place it) it to
AnswerRe: Erroneous information returned from CImage Class Pin
Victor Nijegorodov3-Dec-21 10:59
Victor Nijegorodov3-Dec-21 10:59 
QuestionRichard that worked better Please Read Pin
ForNow28-Nov-21 11:42
ForNow28-Nov-21 11:42 
AnswerRe: Richard that worked better Please Read Pin
Dave Kreskowiak28-Nov-21 18:46
mveDave Kreskowiak28-Nov-21 18:46 
QuestionCan GDI and RichEdit share the WindowClient (and live together) Pin
ForNow27-Nov-21 16:04
ForNow27-Nov-21 16:04 
AnswerRe: Can GDI and RichEdit share the WindowClient (and live together) Richard thanks for your help Pin
ForNow28-Nov-21 4:37
ForNow28-Nov-21 4:37 
GeneralRe: Can GDI and RichEdit share the WindowClient (and live together) Richard thanks for your help Pin
Richard MacCutchan28-Nov-21 5:21
mveRichard MacCutchan28-Nov-21 5:21 
GeneralRe: Can GDI and RichEdit share the WindowClient (and live together) Richard thanks for your help Pin
ForNow28-Nov-21 7:05
ForNow28-Nov-21 7:05 
GeneralRe: Can GDI and RichEdit share the WindowClient (and live together) Richard thanks for your help Pin
Richard MacCutchan28-Nov-21 8:11
mveRichard MacCutchan28-Nov-21 8:11 
GeneralRe: Can GDI and RichEdit share the WindowClient (and live together) Richard thanks for your help Pin
ForNow28-Nov-21 8:32
ForNow28-Nov-21 8:32 
AnswerCSpiltter has max row of 2 Pin
ForNow28-Nov-21 7:50
ForNow28-Nov-21 7:50 
AnswerRe: Can GDI and RichEdit share the WindowClient (and live together) Pin
Randor 28-Nov-21 8:05
professional Randor 28-Nov-21 8:05 
GeneralRe: Can GDI and RichEdit share the WindowClient (and live together) Pin
ForNow28-Nov-21 8:33
ForNow28-Nov-21 8:33 
QuestionPlease give me explanation to this code.Explain me the second line of code. What will be the output? Pin
poojitha0822-Nov-21 19:04
poojitha0822-Nov-21 19:04 
AnswerRe: Please give me explanation to this code.Explain me the second line of code. What will be the output? Pin
Victor Nijegorodov22-Nov-21 20:31
Victor Nijegorodov22-Nov-21 20:31 
Rant[REPOST] Please give me explanation to this code.Explain me the second line of code. What will be the output? Pin
Richard Deeming22-Nov-21 21:31
mveRichard Deeming22-Nov-21 21:31 
QuestionCPrintDialog default printer. Pin
Maximilien18-Nov-21 3:40
Maximilien18-Nov-21 3:40 
AnswerRe: CPrintDialog default printer. Pin
Victor Nijegorodov18-Nov-21 7:17
Victor Nijegorodov18-Nov-21 7:17 

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.