Click here to Skip to main content
15,923,006 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
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 
Try to insert a line after
CSize size = m_PrimaryFlight.GetBitmapDimension();


by replacing CSize with some realistic value according to your loaded bitmap:
size.cx = ...; size.cy = ...;


In this way you will see whether the problem is with GetBitmapDimension() or MOveWindow().

Don't forget: the first parameters of MoveWindow are the upper left corner of your CStatic in client coordinates. If you code (0,0, size.cx,size.cy ...) then your Picture will be moved to the upper left corner of your dialog. If there is any other control at this position, your controls will conflict with each other.
Therefore try different values for the coordinates.


Peter Molnar
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 
Generalconvert modify Pin
styve16-Nov-03 22:37
styve16-Nov-03 22:37 
GeneralRe: convert Pin
Prakash Nadar16-Nov-03 23:48
Prakash Nadar16-Nov-03 23:48 
GeneralRe: convert Pin
Michael P Butler16-Nov-03 23:58
Michael P Butler16-Nov-03 23:58 

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.