Click here to Skip to main content
15,914,500 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: What is Callback Function? Pin
act_x3-Jun-03 12:41
act_x3-Jun-03 12:41 
AnswerRe: What is Callback Function? Pin
ucs3-Jun-03 12:43
ucs3-Jun-03 12:43 
QuestionHow to make a dynamic modal dialog. Pin
Wormhole52303-Jun-03 10:02
Wormhole52303-Jun-03 10:02 
AnswerRe: How to make a dynamic modal dialog. Pin
Joan M3-Jun-03 22:44
professionalJoan M3-Jun-03 22:44 
GeneralRe: How to make a dynamic modal dialog. Pin
Wormhole52303-Jun-03 23:00
Wormhole52303-Jun-03 23:00 
GeneralRe: How to make a dynamic modal dialog. Pin
Joan M3-Jun-03 23:17
professionalJoan M3-Jun-03 23:17 
AnswerRe: How to make a dynamic modal dialog. Pin
Wormhole52304-Jun-03 22:35
Wormhole52304-Jun-03 22:35 
QuestionCImage::StretchBlt does not work!? Pin
schaereran@gmx.net3-Jun-03 9:36
schaereran@gmx.net3-Jun-03 9:36 
I have a problem with the CImage::StretchBlt Function! I made a little application, based on the "SimpleImage" -Sample Application from Microsoft.
I tryed to stretch a picture to the screen (dynamic..)
in the OnPaint() Function i have the following line:

m_imgOriginal.StretchBlt(dc,0,0,m_imgOriginal.GetWidth()*dFactor, m_imgOriginal.GetHeight()*dFactor, SRCCOPY);

dFactor is a Factor, calculated earlier.

so the problem is, when dFactor is higher than 1 everithing looks fine, the picture is stretched properly. but when the factor is below 1, the picture looks very poor and distorted! is there a sloution to the problem?
is it possible to make a CImage-Picture smaller at all without distorting it??

thanx for any input!!


AnswerRe: CImage::StretchBlt does not work!? Pin
RaajaOfSelf4-Jun-03 19:10
RaajaOfSelf4-Jun-03 19:10 
GeneralRe: CImage::StretchBlt does not work!? Pin
schaereran@gmx.net5-Jun-03 0:36
schaereran@gmx.net5-Jun-03 0:36 
QuestionHow do i create a random number? Pin
Redeemer-dk3-Jun-03 9:36
Redeemer-dk3-Jun-03 9:36 
AnswerRe: How do i create a random number? Pin
Chris Losinger3-Jun-03 9:53
professionalChris Losinger3-Jun-03 9:53 
GeneralRe: How do i create a random number? Pin
Dean Goodman3-Jun-03 11:38
Dean Goodman3-Jun-03 11:38 
AnswerRe: How do i create a random number? Pin
David Crow3-Jun-03 10:21
David Crow3-Jun-03 10:21 
AnswerRe: How do i create a random number? Pin
RedZenBird3-Jun-03 10:49
RedZenBird3-Jun-03 10:49 
AnswerRe: How do i create a random number? Pin
Anders Molin3-Jun-03 12:14
professionalAnders Molin3-Jun-03 12:14 
GeneralEnableMenuItem does not work Pin
Shay Harel3-Jun-03 9:25
Shay Harel3-Jun-03 9:25 
GeneralRe: EnableMenuItem does not work Pin
valikac3-Jun-03 9:34
valikac3-Jun-03 9:34 
GeneralRe: EnableMenuItem does not work Pin
Shay Harel3-Jun-03 9:48
Shay Harel3-Jun-03 9:48 
GeneralRe: EnableMenuItem does not work Pin
Mike Upton4-Jun-03 0:22
Mike Upton4-Jun-03 0:22 
Generalactivex including a dll/lib Pin
Anonymous3-Jun-03 9:10
Anonymous3-Jun-03 9:10 
GeneralEvent like CEvent Pin
act_x3-Jun-03 8:52
act_x3-Jun-03 8:52 
GeneralRe: Event like CEvent Pin
Anonymous3-Jun-03 9:14
Anonymous3-Jun-03 9:14 
GeneralRe: Event like CEvent Pin
Peter Weyzen3-Jun-03 11:54
Peter Weyzen3-Jun-03 11:54 
GeneralError in Subclass ......help me Pin
_skidrow_vn_3-Jun-03 8:24
_skidrow_vn_3-Jun-03 8:24 

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.