- 博客(3)
- 资源 (3)
- 收藏
- 关注
原创 属性页表单和向导页
MFC 属性页表单1、创建CPropertyPage(属性页)类2、创建CPropertySheet(属性表单)类3、在CPropertySheet类中创建类型为CPropertyPage的成员对象4、在CPropertySheet类中由AddPage()函数添加属性页的成员对象5、现实属性页表单,如 CPropertySheet pro(“属性表单页”);
2012-03-19 10:24:41
407
原创 MFC 静态文本设置透明
MFC 静态文本设置透明 代码如下:HBRUSH CStudentManageDlg::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor){ HBRUSH hbr = CDialog::OnCtlColor(pDC, pWnd, nCtlColor); if(CTLCOLOR_STATIC==nCtlColor) {
2012-03-07 22:14:44
580
原创 MFC 基于对话框的背景图片设置
基于对话框的背景图片设置void CStudentManageDlg::OnPaint(){ CPaintDC dc(this); CRect rect; GetClientRect(&rect); CDC dcMem; dcMem.CreateCompatibleDC(&dc); CBitmap bmpBackground; bmpBackgrou
2012-03-07 22:12:50
342
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人