文件名称:ReSizeV-2
介绍说明--下载内容均来自于网络,请自行研究使用
MFC 窗口自适应屏幕大小,子控件随之放大缩小。
* 功 能:子控件自适应窗口大小的改变
* 接口说明: 对所有需要改变窗口大小的Dialog提供调用接口
调用步骤:
1、在需要缩放的dialog中导入该头文件
2、在调用的dialog的cpp文件的OnInitDialog方法中中调用
CResizeChildCtrl reSize
reSize.Zoom_Window(GetSafeHwnd(),2,reSize.GetDefaultTimes()) //自适应当前系统分辨率进行缩放-MFC window adaptive screen size, along with the child controls to zoom.* Function: child controls adaptive window size changes* Interface Descr iption: For all need to change the window size to provide call interface call Dialog steps: 1, in the import dialog to zoom the header file 2, in dialog invoked cpp file The OnInitDialog method call CResizeChildCtrl reSize reSize.Zoom_Window (GetSafeHwnd (), 2, reSize.GetDefaultTimes ()) // adaptive current system resolution zoom
* 功 能:子控件自适应窗口大小的改变
* 接口说明: 对所有需要改变窗口大小的Dialog提供调用接口
调用步骤:
1、在需要缩放的dialog中导入该头文件
2、在调用的dialog的cpp文件的OnInitDialog方法中中调用
CResizeChildCtrl reSize
reSize.Zoom_Window(GetSafeHwnd(),2,reSize.GetDefaultTimes()) //自适应当前系统分辨率进行缩放-MFC window adaptive screen size, along with the child controls to zoom.* Function: child controls adaptive window size changes* Interface Descr iption: For all need to change the window size to provide call interface call Dialog steps: 1, in the import dialog to zoom the header file 2, in dialog invoked cpp file The OnInitDialog method call CResizeChildCtrl reSize reSize.Zoom_Window (GetSafeHwnd (), 2, reSize.GetDefaultTimes ()) // adaptive current system resolution zoom
(系统自动生成,下载前可以参看下载内容)
下载文件列表
ReSizeV 2\ResizeChildCtrl.cpp
.........\ResizeChildCtrl.h
ReSizeV 2