用Display()进行显示。但是,图片没有缩小,只能显示的只是一小部分.在控件区域旁边有滚动条,能滚动观看其它部分,希望能够将图片缩小到控件区域里。不用滚动看.谢谢了!
解决方案 »
- 请问播放流媒体能否用本地的播放器来做客户端?
- 怎么样做一个透明按钮
- 使用RegisterHotKey注册的Hotkey,如何只截获此Hotkey而不影响其他应用使用该键?如注册了“W”后记事本中就无法写W了。
- 关于CButton
- 求bmp、jpg、svg转换代码
- 线程,请教一个问题
- 高分放送,我有一个服务器程序,怎样禁止非法客户的连接,如果有非法客户程序来CONNECT 我,我该怎么办?怎样使别人无法CONNECT 我?
- 有谁能说说CList、CTypedPtrList的用法
- COM编程的控件资源//ATL对话框与MFC对话框上使用上有什么区别?
- 如何使MDI一运行就将视图全屏显示
- C++真正高手以武会友
- 近日面试,有一查错题,帮忙看看!
Option Integer
(enumerated) 0
1
2
3 Best fit -- Fits the image to the size of the window
Fit to width -- Fits the image to the width of the window
Fit to height -- Fits the image to the height of the window
Inch to inch -- Maintains the relative size of the original image regardless of the resolution of the image
Repaint Boolean True
False Image is repainted (default)
Image is not repainted
Return ValueNoneResThe Inch to inch setting calculates the size of the image dependent upon the dots per inch reported by the display driver.
When invoked, the FitTo method updates the Zoom property with the new zoom factor.
The FitTo method can be invoked before or after an image is displayed. If an image is displayed when the method is invoked, and the Repaint parameter is set to True, the image is redisplayed using the Option setting specified.See AlsoDisplay
Zoom property
ZoomToSelection methodCopyright © Kodak, 1995-1997
%windir%\help\IMGOCXD.HLP