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-03-27 16:33:48 发布