void COpticDisplayDlg::ShowLensPic(CString imgPath)
{
int height, width;
CRect rect;//定义矩形类
CRect rect1;
CImage image; //创建图片类
image.Load(imgPath);
height = image.GetHeight();
width = image.GetWidth();
pic_display.
MFC Picture control 控件显示图片
最新推荐文章于 2024-06-19 19:01:35 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)