Click here to Skip to main content
16,011,905 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralAVICap: Capture from camera to bitmap when preview window is hidden Pin
Yong Haur TAY12-Mar-01 3:59
Yong Haur TAY12-Mar-01 3:59 
GeneralRe: AVICap: Capture from camera to bitmap when preview window is hidden Pin
bobbies9-May-01 2:06
bobbies9-May-01 2:06 
QuestionHow I can place FileDialog in a view? Pin
vik12-Mar-01 3:17
vik12-Mar-01 3:17 
AnswerRe: How I can place FileDialog in a view? Pin
Christian Graus12-Mar-01 9:42
protectorChristian Graus12-Mar-01 9:42 
AnswerRe: How I can place FileDialog in a view? Pin
Michael Dunn12-Mar-01 14:51
sitebuilderMichael Dunn12-Mar-01 14:51 
Generalzooming a bitmap Pin
12-Mar-01 2:47
suss12-Mar-01 2:47 
GeneralRe: zooming a bitmap Pin
l a u r e n12-Mar-01 5:58
l a u r e n12-Mar-01 5:58 
GeneralRe: zooming a bitmap Pin
Christian Graus12-Mar-01 9:39
protectorChristian Graus12-Mar-01 9:39 
When you say does not work, what does it do ? If nothimg, have you created the DC in question and selected a bitmap of suitable size into it ? If a and not b, you have a 1x1x1 bitmap space to work with. Does it look funny ? You may have forgotten to SetStretchBltMode ( to HALFTONE or COLORONCOLOR ). Did you do all this and nothing happened still ? There is a known bug in StretchBlt, where it returns 0 when it fails. When you use StretchBlt you should always check for a 0 return and deal with potential failure. My experience is it fails after a 16 x zoom, so I doubt that is the problem here.

Christian

The content of this post is not necessarily the opinion of my yadda yadda yadda.

To understand recursion, we must first understand recursion.
GeneralHelp for CRecordSet and MDB Pin
12-Mar-01 0:58
suss12-Mar-01 0:58 
GeneralHelp !!!!!! Pin
12-Mar-01 0:07
suss12-Mar-01 0:07 
GeneralRe: Help !!!!!! Pin
Yong Haur TAY12-Mar-01 4:03
Yong Haur TAY12-Mar-01 4:03 
GeneralRe: Help !!!!!! Pin
Naveen12-Mar-01 7:34
Naveen12-Mar-01 7:34 
GeneralRe: Help !!!!!! Pin
Erik Funkenbusch12-Mar-01 11:10
Erik Funkenbusch12-Mar-01 11:10 
GeneralRe: Help !!!!!! Pin
12-Mar-01 7:34
suss12-Mar-01 7:34 
GeneralNamespace extension with different views Pin
11-Mar-01 23:30
suss11-Mar-01 23:30 
GeneralAbout Linking Error Pin
11-Mar-01 19:42
suss11-Mar-01 19:42 
GeneralRe: About Linking Error Pin
Christian Graus12-Mar-01 9:49
protectorChristian Graus12-Mar-01 9:49 
QuestionCapturing the MM_MCINOTIFY message in MFC app? Pin
11-Mar-01 9:03
suss11-Mar-01 9:03 
AnswerRe: Capturing the MM_MCINOTIFY message in MFC app? Pin
Tim Deveaux11-Mar-01 10:06
Tim Deveaux11-Mar-01 10:06 
GeneralRe: Capturing the MM_MCINOTIFY message in MFC app? Pin
11-Mar-01 10:13
suss11-Mar-01 10:13 
GeneralCFontDialog ... Pin
Hadi Rezaee11-Mar-01 8:52
Hadi Rezaee11-Mar-01 8:52 
GeneralRe: CFontDialog ... Pin
Christian Graus11-Mar-01 9:28
protectorChristian Graus11-Mar-01 9:28 
GeneralRe: CFontDialog ... Pin
Hadi Rezaee11-Mar-01 16:00
Hadi Rezaee11-Mar-01 16:00 
Generalmulticolor text in CEdit control Pin
11-Mar-01 6:32
suss11-Mar-01 6:32 
GeneralRe: multicolor text in CEdit control Pin
Christian Graus11-Mar-01 9:32
protectorChristian Graus11-Mar-01 9:32 

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.