对话框从大到小
来源:互联网 发布:学python用什么系统 编辑:程序博客网 时间:2024/04/28 12:11
ShowWindow(SW_HIDE);
CRect dlgRect;
GetClientRect(&dlgRect);
CPoint centerPoint;
centerPoint.x=dlgRect.Width()/2;
centerPoint.y=dlgRect.Height()/2;
CRgn testrgn;
this->ShowWindow(SW_HIDE);
int m=GetSystemMetrics(SM_CYSIZEFRAME);
for(int i=+10;i<dlgRect.Width()/2+2*m;i+=1)
{
testrgn.CreateRectRgn(centerPoint.x-i,centerPoint.y-i,centerPoint.x+i,centerPoint.y+i);
SetWindowRgn((HRGN) testrgn,TRUE);
ShowWindow(SW_SHOW);
CenterWindow();
testrgn.DeleteObject();
}
CRect dlgRect;
GetClientRect(&dlgRect);
CPoint centerPoint;
centerPoint.x=dlgRect.Width()/2;
centerPoint.y=dlgRect.Height()/2;
CRgn testrgn;
this->ShowWindow(SW_HIDE);
int m=GetSystemMetrics(SM_CYSIZEFRAME);
for(int i=+10;i<dlgRect.Width()/2+2*m;i+=1)
{
testrgn.CreateRectRgn(centerPoint.x-i,centerPoint.y-i,centerPoint.x+i,centerPoint.y+i);
SetWindowRgn((HRGN) testrgn,TRUE);
ShowWindow(SW_SHOW);
CenterWindow();
testrgn.DeleteObject();
}
- 对话框从大到小
- 自学QT之从对话框弹出对话框
- 从对话框中检索数据
- 从内存创建对话框实例
- android从底部弹出对话框
- MFC从一个对话框向另外一个对话框发送消息
- 将焦点从一个对话框移到另一个对话框
- 从自定义对话框 继承出新的子对话框
- 从子对话框向父对话框传递变量值
- 从模态对话框和非模态对话框理解MFC
- 从自定义对话框 派生出新的子对话框 [转]
- C#使用线程从一个对话框调用另一个对话框
- 从csrss弹出的ASSERT对话框谈起
- UIAutomation - 从寻找一个对话框说开去
- 如何从对话框中检索数据
- 从MFC对话框理解Windows消息机制
- 使用DialogFragment从底部弹出对话框
- 如何从公共对话框控件中提取多个文件名称
- 为什么高水平的IT人员难招2
- 系统ISAPI报告Deadlock detected解决方法
- 博弈论
- 初学c#的一点看法
- DOS命令 NSlookup
- 对话框从大到小
- 集合收藏
- 基于关系数据库的查询优化
- Windows XP终极优化设置(精心整理)
- 树形数据的处理
- 猜数小程序
- 求助 关于word安全模式
- test
- Java对象实例化顺序