Click here to Skip to main content
15,889,863 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
Generalgraphic editor Pin
R. Thomas16-Nov-03 23:39
R. Thomas16-Nov-03 23:39 
GeneralRe: graphic editor Pin
Peter Molnar17-Nov-03 13:08
Peter Molnar17-Nov-03 13:08 
GeneralKernel32.dll Pin
hph16-Nov-03 23:36
hph16-Nov-03 23:36 
GeneralRe: Kernel32.dll Pin
Prakash Nadar16-Nov-03 23:51
Prakash Nadar16-Nov-03 23:51 
GeneralRe: Kernel32.dll Pin
hph16-Nov-03 23:55
hph16-Nov-03 23:55 
GeneralRe: Kernel32.dll Pin
Prakash Nadar17-Nov-03 0:29
Prakash Nadar17-Nov-03 0:29 
GeneralRe: Kernel32.dll Pin
Mike Dimmick17-Nov-03 0:33
Mike Dimmick17-Nov-03 0:33 
GeneralRe: Kernel32.dll Pin
hph17-Nov-03 1:50
hph17-Nov-03 1:50 
GeneralRe: Kernel32.dll Pin
Daniel Turini17-Nov-03 2:20
Daniel Turini17-Nov-03 2:20 
GeneralRe: Kernel32.dll Pin
Mike Dimmick17-Nov-03 2:26
Mike Dimmick17-Nov-03 2:26 
GeneralRe: Kernel32.dll Pin
Ceri17-Nov-03 0:42
Ceri17-Nov-03 0:42 
GeneralNamed Pipe access problems across network Pin
Ceri16-Nov-03 22:40
Ceri16-Nov-03 22:40 
Generalconvert Pin
styve16-Nov-03 22:34
styve16-Nov-03 22:34 

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.