Click here to Skip to main content
15,867,453 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow can stretch an Image horizontally? Pin
Le@rner2-Dec-09 19:40
Le@rner2-Dec-09 19:40 
AnswerRe: How can stretch an Image horizontally? Pin
«_Superman_»2-Dec-09 19:44
professional«_Superman_»2-Dec-09 19:44 
GeneralRe: How can stretch an Image horizontally? Pin
Le@rner2-Dec-09 19:49
Le@rner2-Dec-09 19:49 
GeneralRe: How can stretch an Image horizontally? Pin
«_Superman_»2-Dec-09 19:50
professional«_Superman_»2-Dec-09 19:50 
GeneralRe: How can stretch an Image horizontally? Pin
Le@rner2-Dec-09 19:54
Le@rner2-Dec-09 19:54 
GeneralRe: How can stretch an Image horizontally? Pin
«_Superman_»2-Dec-09 19:55
professional«_Superman_»2-Dec-09 19:55 
GeneralRe: How can stretch an Image horizontally? Pin
Le@rner2-Dec-09 20:03
Le@rner2-Dec-09 20:03 
GeneralRe: How can stretch an Image horizontally? Pin
«_Superman_»2-Dec-09 20:06
professional«_Superman_»2-Dec-09 20:06 
Use LoadImage to load the image.
Here you can specify the width and height needed.

Associate a CStatic object to the picture control.
Now use CStatic::SetBitmap to show the bitmap.

«_Superman
I love work. It gives me something to do between weekends.

Microsoft MVP (Visual C++)

GeneralRe: How can stretch an Image horizontally? Pin
Le@rner2-Dec-09 22:04
Le@rner2-Dec-09 22:04 
QuestionRe: How can stretch an Image horizontally? Pin
David Crow3-Dec-09 3:11
David Crow3-Dec-09 3:11 
GeneralRe: How can stretch an Image horizontally? Pin
«_Superman_»3-Dec-09 5:13
professional«_Superman_»3-Dec-09 5:13 
GeneralRe: How can stretch an Image horizontally? Pin
Le@rner3-Dec-09 18:05
Le@rner3-Dec-09 18:05 
GeneralRe: How can stretch an Image horizontally? Pin
Le@rner6-Dec-09 23:38
Le@rner6-Dec-09 23:38 
QuestionPrinting Unicode Characters Pin
Benjamin Bruno2-Dec-09 19:27
Benjamin Bruno2-Dec-09 19:27 
AnswerRe: Printing Unicode Characters Pin
«_Superman_»2-Dec-09 19:38
professional«_Superman_»2-Dec-09 19:38 
GeneralRe: Printing Unicode Characters Pin
Benjamin Bruno2-Dec-09 20:26
Benjamin Bruno2-Dec-09 20:26 
QuestionRecover last saved data Pin
sonualex2-Dec-09 18:29
sonualex2-Dec-09 18:29 
AnswerRe: Recover last saved data Pin
Rajesh R Subramanian2-Dec-09 18:52
professionalRajesh R Subramanian2-Dec-09 18:52 
QuestionRe: Recover last saved data Pin
David Crow3-Dec-09 3:13
David Crow3-Dec-09 3:13 
AnswerRe: Recover last saved data Pin
sonualex7-Dec-09 19:49
sonualex7-Dec-09 19:49 
AnswerRe: Recover last saved data Pin
David Crow8-Dec-09 3:29
David Crow8-Dec-09 3:29 
GeneralRe: Recover last saved data Pin
sonualex8-Dec-09 19:33
sonualex8-Dec-09 19:33 
QuestionRe: Recover last saved data Pin
David Crow9-Dec-09 2:10
David Crow9-Dec-09 2:10 
AnswerRe: Recover last saved data Pin
sonualex14-Dec-09 0:45
sonualex14-Dec-09 0:45 
AnswerRe: Recover last saved data Pin
David Crow15-Dec-09 4:48
David Crow15-Dec-09 4:48 

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.