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

C / C++ / MFC

 
GeneralRe: operator overloading Pin
Xian31-Oct-01 17:46
Xian31-Oct-01 17:46 
GeneralInternet Explorer Bar Pin
Winston,Dang31-Oct-01 16:48
Winston,Dang31-Oct-01 16:48 
GeneralRe: Internet Explorer Bar Pin
Erik Thompson1-Nov-01 7:44
sitebuilderErik Thompson1-Nov-01 7:44 
Generaladd file to project problem. Pin
Vu Nguyen31-Oct-01 13:23
Vu Nguyen31-Oct-01 13:23 
GeneralRe: add file to project problem. Pin
Nish Nishant31-Oct-01 13:35
sitebuilderNish Nishant31-Oct-01 13:35 
GeneralRe: add file to project problem. Pin
Michael Martin31-Oct-01 13:55
professionalMichael Martin31-Oct-01 13:55 
GeneralRe: add file to project problem. Pin
solex1-Nov-01 4:38
solex1-Nov-01 4:38 
QuestionHow to shrink a bitmap? Pin
clintsinger31-Oct-01 11:57
clintsinger31-Oct-01 11:57 
I have a bitmap that I get from a third party decompressor of a video stream. The bitmap comes out at a resolution of 720*243 and 24-bits. I would to like to shrink it down and copy it to an offscreen bitmap that is 320*240 and 24-bits in order to speed up my motion detection algorithm and then blit that image to a screen without using the original image and StretchDIBits().

I believe I would want to create a CompatibleDC and a compatible bitmap to go with it then do a StretchDIBits to that CompatibleDC.

Am I right in this assumption and does anyone have some example code of how that is done?

Thanks,
Clint
AnswerRe: How to shrink a bitmap? Pin
Deepak Khajuria31-Oct-01 17:30
Deepak Khajuria31-Oct-01 17:30 
GeneralRe: How to shrink a bitmap? Pin
clintsinger1-Nov-01 6:30
clintsinger1-Nov-01 6:30 
GeneralRe: How to shrink a bitmap? Pin
Deepak Khajuria1-Nov-01 20:22
Deepak Khajuria1-Nov-01 20:22 
GeneralCreating A Grid On A CView Pin
AJ12331-Oct-01 11:48
AJ12331-Oct-01 11:48 
GeneralRe: Creating A Grid On A CView Pin
Christian Graus31-Oct-01 19:08
protectorChristian Graus31-Oct-01 19:08 
GeneralSplitter windows w/o Doc/View Pin
bumby31-Oct-01 11:39
bumby31-Oct-01 11:39 
GeneralRe: Splitter windows w/o Doc/View Pin
Nish Nishant31-Oct-01 13:33
sitebuilderNish Nishant31-Oct-01 13:33 
GeneralRe: Splitter windows w/o Doc/View Pin
bumby1-Nov-01 4:12
bumby1-Nov-01 4:12 
GeneralC++ Language Problem! Pin
Joel Holdsworth31-Oct-01 10:57
Joel Holdsworth31-Oct-01 10:57 
GeneralRe: C++ Language Problem! Pin
Alvaro Mendez31-Oct-01 11:59
Alvaro Mendez31-Oct-01 11:59 
GeneralRe: C++ Language Problem! Pin
Todd Smith31-Oct-01 17:03
Todd Smith31-Oct-01 17:03 
QuestionHow can you see who called OnToolTipNeedText()? Pin
Craig Miller31-Oct-01 10:24
Craig Miller31-Oct-01 10:24 
GeneralLinking Input to an email output Pin
B-Rock31-Oct-01 9:46
B-Rock31-Oct-01 9:46 
GeneralRe: Linking Input to an email output Pin
Alex Griffing31-Oct-01 11:53
Alex Griffing31-Oct-01 11:53 
GeneralRe: Linking Input to an email output Pin
Nish Nishant31-Oct-01 13:25
sitebuilderNish Nishant31-Oct-01 13:25 
GeneralDownload/upload progress control Pin
Ashman31-Oct-01 9:19
Ashman31-Oct-01 9:19 
GeneralRe: Download/upload progress control Pin
Nish Nishant31-Oct-01 13:22
sitebuilderNish Nishant31-Oct-01 13:22 

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.