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

C / C++ / MFC

 
GeneralRe: Sizing a floating controlbar window Pin
12-Mar-01 7:05
suss12-Mar-01 7:05 
GeneralRe: Sizing a floating controlbar window Pin
NormDroid12-Mar-01 8:51
professionalNormDroid12-Mar-01 8:51 
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 
In a program i'm currently working on, i want to be able to zoom in bitmaps. I've created a memory dc containing the bitmap and every time the user clicks the zoom button this dc is stretch bitblitted in another memorydc called zoomdc. ZoomedPictureDC is written to the screen in ondraw(). This way I don't have to enlarge the picture every draw, saves a lot of speed. The following code is in the zoom function. ZoomedPictureDC is a member variable of the View.

ZoomedPictureDC.StretchBlt(0,0,pDoc->bmPicture.bmWidth * zoomlevel, pDoc->bmPicture.bmHeight * zoomlevel, &PictureDC,0,0,pDoc->bmPicture.bmWidth, pDoc->bmPicture.bmHeight,SRCCOPY);

Why doesn't this work? I tried stretchblitting the picture every time in ondraw, this does work but is terribly slow.

wavk
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 
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 

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.