Click here to Skip to main content
16,005,473 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How many handles leaked can hold a win2k OS? Pin
Brian Shifrin25-Mar-03 4:46
Brian Shifrin25-Mar-03 4:46 
GeneralRe: How many handles leaked can hold a win2k OS? Pin
Brian Shifrin25-Mar-03 4:50
Brian Shifrin25-Mar-03 4:50 
GeneralRe: How many handles leaked can hold a win2k OS? Pin
Joan M25-Mar-03 9:26
professionalJoan M25-Mar-03 9:26 
GeneralRe: How many handles leaked can hold a win2k OS? Pin
Joan M26-Mar-03 23:19
professionalJoan M26-Mar-03 23:19 
AnswerRe: How many handles leaked can hold a win2k OS? Pin
Big Art25-Mar-03 7:12
Big Art25-Mar-03 7:12 
GeneralRe: How many handles leaked can hold a win2k OS? Pin
Joan M25-Mar-03 9:38
professionalJoan M25-Mar-03 9:38 
GeneralRe: How many handles leaked can hold a win2k OS? Pin
Joan M26-Mar-03 23:24
professionalJoan M26-Mar-03 23:24 
GeneralGDI performance Pin
Raphael Kindt24-Mar-03 21:13
Raphael Kindt24-Mar-03 21:13 
Hi world...
I'm using DirectDraw with GDI to show image from a frame grabber inside a window (not fullscreen mode). I work with a DMA from the frame grabber to a video surface memory (with DirectDraw). Then I use the GDI function StretchDIBits(...) to display this image inside a window.
Now, I want to zoom or unzoom the image. At this time I do that by changing arguments of the StretchDIBits(...) function. For example:
StretchDIBits(pDC->GetSafeHdc(),
    0, 0, MAX_WIDTH * coef, MAX_HEIGHT * coef,
    0, 0, MAX_WIDTH, MAX_HEIGHT,
    Desc_ddsd.lpSurface, pBMPinfo, DIB_RGB_COLORS, SRCCOPY);

where coef is a coeficient for the zoom (if coef > 1) or unzoom (if coef < 1).
When I unzoom the image it's quickly enough. But when I zoom it's very slow. I can understand why! My question is: how to improve the zoom performances. I want a quick zoom. Does there exist another function?

Thanks for your help...

Hello World!!! Smile | :)
from Raphaël
QuestionHow to write programt to create folder? Pin
ooosawaddee324-Mar-03 20:03
ooosawaddee324-Mar-03 20:03 
AnswerRe: How to write programt to create folder? Pin
Rickard Andersson2024-Mar-03 21:43
Rickard Andersson2024-Mar-03 21:43 
GeneralRe: How to write programt to create folder? Pin
Simon.W25-Mar-03 0:35
Simon.W25-Mar-03 0:35 
GeneralCTreeCtrl with icons Pin
rohit.dhamija24-Mar-03 19:24
rohit.dhamija24-Mar-03 19:24 
GeneralRe: CTreeCtrl with icons Pin
Tibor Blazko24-Mar-03 19:36
Tibor Blazko24-Mar-03 19:36 
GeneralRe: CTreeCtrl with icons Pin
jeremysay24-Mar-03 22:39
jeremysay24-Mar-03 22:39 
GeneralQuadratic equation Pin
ROK_RShadow24-Mar-03 19:01
ROK_RShadow24-Mar-03 19:01 
GeneralRe: Quadratic equation Pin
Roger Wright24-Mar-03 20:00
professionalRoger Wright24-Mar-03 20:00 
GeneralRe: Quadratic equation Pin
ROK_RShadow24-Mar-03 20:35
ROK_RShadow24-Mar-03 20:35 
GeneralRe: Quadratic equation Pin
Roger Wright24-Mar-03 21:17
professionalRoger Wright24-Mar-03 21:17 
GeneralRe: Quadratic equation Pin
ROK_RShadow24-Mar-03 21:28
ROK_RShadow24-Mar-03 21:28 
GeneralRe: Quadratic equation Pin
Roger Wright24-Mar-03 22:07
professionalRoger Wright24-Mar-03 22:07 
QuestionIs there a function to convert a CString value to an integer? Pin
julych24-Mar-03 18:30
julych24-Mar-03 18:30 
AnswerRe: Is there a function to convert a CString value to an integer? Pin
Michael Dunn24-Mar-03 19:10
sitebuilderMichael Dunn24-Mar-03 19:10 
GeneralRe: Is there a function to convert a CString value to an integer? Pin
r i s h a b h s25-Mar-03 17:01
r i s h a b h s25-Mar-03 17:01 
GeneralDynamic allocation of 2-d array using 'new' Pin
natiekyle24-Mar-03 18:05
natiekyle24-Mar-03 18:05 
GeneralRe: Dynamic allocation of 2-d array using 'new' Pin
Nick Parker24-Mar-03 18:20
protectorNick Parker24-Mar-03 18:20 

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.