Click here to Skip to main content
15,919,341 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCompiling an idl? Pin
Killen17-Nov-03 2:55
Killen17-Nov-03 2:55 
AnswerRe: Compiling an idl? Pin
Adam Gritt17-Nov-03 5:28
Adam Gritt17-Nov-03 5:28 
GeneralRe: Compiling an idl? Pin
Killen20-Nov-03 10:56
Killen20-Nov-03 10:56 
GeneralSocket creation at Windows 98 Pin
nurpinar17-Nov-03 2:20
nurpinar17-Nov-03 2:20 
GeneralRe: Socket creation at Windows 98 Pin
valikac17-Nov-03 5:44
valikac17-Nov-03 5:44 
GeneralRe: Socket creation at Windows 98 Pin
vcplusplus17-Nov-03 5:48
vcplusplus17-Nov-03 5:48 
GeneralCOleControl visiblity handler Pin
tango_bling17-Nov-03 2:12
tango_bling17-Nov-03 2:12 
GeneralRe: COleControl visiblity handler Pin
igor196017-Nov-03 10:25
igor196017-Nov-03 10:25 
GeneralRe: COleControl visiblity handler Pin
tango_bling17-Nov-03 22:45
tango_bling17-Nov-03 22:45 
GeneralRe: COleControl visiblity handler Pin
igor196018-Nov-03 6:37
igor196018-Nov-03 6:37 
GeneralLarge Files Pin
Andre123417-Nov-03 1:33
Andre123417-Nov-03 1:33 
GeneralRe: Large Files Pin
Ian Darling17-Nov-03 2:10
Ian Darling17-Nov-03 2:10 
GeneralRe: Large Files Pin
David Crow17-Nov-03 4:10
David Crow17-Nov-03 4:10 
GeneralRe: Large Files Pin
Andre123419-Nov-03 6:26
Andre123419-Nov-03 6:26 
GeneralRe: Large Files Pin
David Crow19-Nov-03 6:49
David Crow19-Nov-03 6:49 
GeneralRe: Large Files Pin
Vitali Halershtein17-Nov-03 4:42
Vitali Halershtein17-Nov-03 4:42 
GeneralRe: Large Files Pin
фил4-Dec-03 22:54
фил4-Dec-03 22:54 
QuestionHow to make a X-Y scatter chart look good? Pin
ChinaJoe17-Nov-03 0:08
ChinaJoe17-Nov-03 0:08 
AnswerRe: How to make a X-Y scatter chart look good? Pin
Maximilien17-Nov-03 2:12
Maximilien17-Nov-03 2:12 
GeneralRe: How to make a X-Y scatter chart look good? Pin
ChinaJoe17-Nov-03 15:05
ChinaJoe17-Nov-03 15:05 
GeneralRescale Bitmap on Picture Control Pin
sweep12317-Nov-03 0:07
sweep12317-Nov-03 0:07 
I have a Picture control on my dialog (taking up about 40% of the area).

I load several bitmaps during InitDialog as follows:

m_Image1.LoadBitmap (IDB_IMAGE1);
m_Image2.LoadBitmap (IDB_IMAGE2);

I have a member variable for the Picture control m_PictureImage

CStatic PictureImage;

Now when I click a button I want the Picture control window to be visable and then have the image loaded:

m_PictureImage.ShowWindow (SW_SHOW);
m_PictureImage.SetBitmap (m_Image1); // Button 1 pressed

All is fine but I need the Bitmap image to be resized, as don't always know its
size.

I cant fins any properties or methods to resize the Bitmap via the Picture control.
GeneralRe: Rescale Bitmap on Picture Control Pin
Peter Molnar17-Nov-03 13:55
Peter Molnar17-Nov-03 13:55 
GeneralRe: Rescale Bitmap on Picture Control Pin
sweep12318-Nov-03 5:51
sweep12318-Nov-03 5:51 
GeneralRe: Rescale Bitmap on Picture Control Pin
Peter Molnar18-Nov-03 7:06
Peter Molnar18-Nov-03 7:06 
GeneralRe: Rescale Bitmap on Picture Control Pin
sweep12319-Nov-03 0:45
sweep12319-Nov-03 0:45 

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.