Click here to Skip to main content
15,921,467 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerMessage Closed Pin
19-Jan-23 23:08
professionalunitedsol zain19-Jan-23 23:08 
GeneralRe: CRichedit and CDC Pin
ForNow20-Jan-23 2:24
ForNow20-Jan-23 2:24 
GeneralRe: CRichedit and CDC Pin
Richard MacCutchan20-Jan-23 2:37
mveRichard MacCutchan20-Jan-23 2:37 
GeneralRe: CRichedit and CDC Pin
ForNow20-Jan-23 3:09
ForNow20-Jan-23 3:09 
QuestionHeap Corruption Durning Streamin Pin
ForNow16-Jan-23 8:09
ForNow16-Jan-23 8:09 
AnswerRe: Heap Corruption Durning Streamin think I found it Pin
ForNow16-Jan-23 16:20
ForNow16-Jan-23 16:20 
GeneralRe: Heap Corruption Durning Streamin think I found it Pin
jschell17-Jan-23 4:12
jschell17-Jan-23 4:12 
GeneralRe: Heap Corruption Durning Streamin think I found it Pin
ForNow17-Jan-23 4:17
ForNow17-Jan-23 4:17 
QuestionMessage Closed Pin
15-Jan-23 15:45
Member 1496877115-Jan-23 15:45 
AnswerRe: Why #if 0 ... #endif Pin
Mircea Neacsu15-Jan-23 15:57
Mircea Neacsu15-Jan-23 15:57 
GeneralMessage Closed Pin
15-Jan-23 16:43
Member 1496877115-Jan-23 16:43 
GeneralRe: Why #if 0 ... #endif Pin
CPallini15-Jan-23 20:36
mveCPallini15-Jan-23 20:36 
QuestionWhere does this .exe store its pane layout? Pin
Bardo Mueller15-Jan-23 9:09
Bardo Mueller15-Jan-23 9:09 
AnswerRe: Where does this .exe store its pane layout? Pin
OriginalGriff15-Jan-23 9:10
mveOriginalGriff15-Jan-23 9:10 
GeneralRe: Where does this .exe store its pane layout? Pin
Bardo Mueller15-Jan-23 11:30
Bardo Mueller15-Jan-23 11:30 
QuestionMessage Closed Pin
14-Jan-23 5:42
Member 1496877114-Jan-23 5:42 
AnswerRe: Why "so many " - include , forward declaration... Pin
CPallini14-Jan-23 7:23
mveCPallini14-Jan-23 7:23 
AnswerRe: Why "so many " - include , forward declaration... Pin
Richard MacCutchan14-Jan-23 22:25
mveRichard MacCutchan14-Jan-23 22:25 
AnswerRe: Why "so many " - include , forward declaration... Pin
jschell15-Jan-23 8:00
jschell15-Jan-23 8:00 
GeneralMessage Closed Pin
15-Jan-23 16:56
Member 1496877115-Jan-23 16:56 
GeneralRe: Why "so many " - include , forward declaration... Pin
jschell17-Jan-23 3:33
jschell17-Jan-23 3:33 
QuestionCRichEditCtrl size limit Pin
ForNow11-Jan-23 15:22
ForNow11-Jan-23 15:22 
AnswerRe: CRichEditCtrl size limit Pin
Mircea Neacsu11-Jan-23 15:47
Mircea Neacsu11-Jan-23 15:47 
GeneralRe: CRichEditCtrl size limit Pin
ForNow11-Jan-23 15:48
ForNow11-Jan-23 15:48 
QuestionBitmaps, device dependent vs device independent, which is faster (or better)? Pin
Member 1507871611-Jan-23 10:57
Member 1507871611-Jan-23 10:57 
I am working at blitting to back frame buffers a changing variety of bitmaps to create animations. When completed, that would be sent to the screen. I want to do this with minimum processing and minimum RAM.

Svetoslav Chekanov, on another page Fast 2:1 Image Shrink (Scale Down)[^] said,
Quote:
Device dependent format is blitted faster to the screen.

I did not know that. I have been using Device Independent because it seemed to be easier to work with. I will now consider this Dependent vs Independent.

I found a discussion with some interesting observations. C++ Windows API: Is there any alternative of the SetDIBits for device-dependent Bitmap?[^] In that I found:
Quote:
The difference is insignificant, more than swamped by the time it takes to
copy the bitmap to the frame buffer.
May I have some feedback on this "is insignificant" comment (from the Windows API link) if it is correct or not?

I also read on that page,
Quote:
In a DIB, each scanline is always a multiple of 4 bytes. In a 24-bit DIB,
that means you will have extra padding bytes unless the width is a multiple
of 4.
I did not know that. I will now have that to consider.

Looking forward to learning more about this.

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.