Click here to Skip to main content
15,898,134 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Minimizing a Dialog Pin
Hamid_RT31-Oct-07 4:20
Hamid_RT31-Oct-07 4:20 
QuestionComments in Visual Studio 2005 Pro Pin
Like2Byte30-Oct-07 8:01
Like2Byte30-Oct-07 8:01 
QuestionHow to prevent direct execution of .msi? Pin
popopo30-Oct-07 7:47
popopo30-Oct-07 7:47 
QuestionCursor help: Pin
Hakan Bulut30-Oct-07 7:09
Hakan Bulut30-Oct-07 7:09 
QuestionRe: Cursor help: Pin
Mark Salsbery30-Oct-07 7:18
Mark Salsbery30-Oct-07 7:18 
QuestionRe: Cursor help: Pin
Maximilien30-Oct-07 7:19
Maximilien30-Oct-07 7:19 
QuestionRe: Cursor help: Pin
Hamid_RT31-Oct-07 4:20
Hamid_RT31-Oct-07 4:20 
QuestionNeed an alternative for StretchBlt()?? Pin
Kiran Satish30-Oct-07 7:00
Kiran Satish30-Oct-07 7:00 
I am creating a small image viewer interface in MFC to do some processing on our research images which are very big in size (5000x3000). In that I am using StretchBlt to display image on DC, this works fine when I am using a scale of 1:1, but when I increase the scale, the display refresh is very slow when I use the scroll bar and the image becomes very bad when I compress an image (but I dont need to compress an image though). Is there any alternative to stretchblt().

Looking at CImage class, I can create an Image object from my current HBITMAP.
Looking at Image class from GDI+, I didnt see any constructor for Image object from HBITMAP.

Any suggestions???

thanks in advance,
-PNT

PKNT

AnswerRe: Need an alternative for StretchBlt()?? Pin
led mike30-Oct-07 7:09
led mike30-Oct-07 7:09 
AnswerRe: Need an alternative for StretchBlt()?? Pin
Chris Losinger30-Oct-07 7:19
professionalChris Losinger30-Oct-07 7:19 
GeneralRe: Need an alternative for StretchBlt()?? Pin
Kiran Satish31-Oct-07 6:34
Kiran Satish31-Oct-07 6:34 
GeneralRe: Need an alternative for StretchBlt()?? Pin
Chris Losinger31-Oct-07 7:28
professionalChris Losinger31-Oct-07 7:28 
GeneralRe: Need an alternative for StretchBlt()?? Pin
Kiran Satish1-Nov-07 11:18
Kiran Satish1-Nov-07 11:18 
GeneralRe: Need an alternative for StretchBlt()?? Pin
Chris Losinger1-Nov-07 12:09
professionalChris Losinger1-Nov-07 12:09 
GeneralRe: Need an alternative for StretchBlt()?? Pin
Kiran Satish1-Nov-07 12:57
Kiran Satish1-Nov-07 12:57 
GeneralRe: Need an alternative for StretchBlt()?? Pin
Kiran Satish1-Nov-07 13:45
Kiran Satish1-Nov-07 13:45 
GeneralRe: Need an alternative for StretchBlt()?? Pin
Chris Losinger1-Nov-07 14:04
professionalChris Losinger1-Nov-07 14:04 
GeneralRe: Need an alternative for StretchBlt()?? Pin
Kiran Satish2-Nov-07 8:03
Kiran Satish2-Nov-07 8:03 
GeneralRe: Need an alternative for StretchBlt()?? Pin
Chris Losinger2-Nov-07 8:15
professionalChris Losinger2-Nov-07 8:15 
GeneralRe: Need an alternative for StretchBlt()?? Pin
Kiran Satish6-Nov-07 13:13
Kiran Satish6-Nov-07 13:13 
GeneralRe: Need an alternative for StretchBlt()?? Pin
Chris Losinger6-Nov-07 14:49
professionalChris Losinger6-Nov-07 14:49 
GeneralRe: Need an alternative for StretchBlt()?? Pin
Kiran Satish7-Nov-07 6:50
Kiran Satish7-Nov-07 6:50 
GeneralRe: Need an alternative for StretchBlt()?? Pin
Kiran Satish8-Nov-07 7:17
Kiran Satish8-Nov-07 7:17 
GeneralRe: Need an alternative for StretchBlt()?? Pin
Chris Losinger10-Nov-07 7:13
professionalChris Losinger10-Nov-07 7:13 
GeneralRe: Need an alternative for StretchBlt()?? Pin
Kiran Satish14-Nov-08 13:21
Kiran Satish14-Nov-08 13:21 

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.