上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 95 下一页
摘要: 学WTL/MFC,学不会了去看WIN32。 学C/C++,学不会了去看汇编。 使用VS,不明白了去用cl.exe/link.exe 控制台下输出图片的分辨率: #include #include #include using namespace Gdiplus;INT main(){ ... 阅读全文
posted @ 2016-09-26 12:55 N3verL4nd 阅读(203) 评论(0) 推荐(0) 编辑
摘要: WTL91_5321_Final + VS2013 + WIN7 // MainDlg.h : interface of the CMainDlg class/////////////////////////////////////////////////////////////////////... 阅读全文
posted @ 2016-09-26 10:43 N3verL4nd 阅读(129) 评论(0) 推荐(0) 编辑
摘要: WTL91_5321_Final + VS2013 + WIN7 // MainDlg.h : interface of the CMainDlg class/////////////////////////////////////////////////////////////////////... 阅读全文
posted @ 2016-09-26 10:43 N3verL4nd 阅读(309) 评论(0) 推荐(0) 编辑
摘要: MainDlg.h // MainDlg.h : interface of the CMainDlg class///////////////////////////////////////////////////////////////////////////////#pragma once... 阅读全文
posted @ 2016-09-25 22:57 N3verL4nd 阅读(224) 评论(0) 推荐(0) 编辑
摘要: MainDlg.h // MainDlg.h : interface of the CMainDlg class///////////////////////////////////////////////////////////////////////////////#pragma once... 阅读全文
posted @ 2016-09-25 22:57 N3verL4nd 阅读(303) 评论(0) 推荐(0) 编辑
摘要: 一、显示bmp及ico //h文件 CStatic m_static; //cpp文件 CBitmap bitmap; bitmap.LoadBitmapW(IDB_BITMAP); //加载位图 BITMAP bmp; bitmap.GetBitmap(&bmp); //获取位图参数 C... 阅读全文
posted @ 2016-09-25 20:00 N3verL4nd 阅读(1108) 评论(0) 推荐(0) 编辑
摘要: 1、在对话框上新建一个Picture Control ID为:IDC_STATIC_IMG 2、添加图片资源ID:IDB_BITMAP1(选中Bitmap点击导入,选择bmp图片资源) 实现: CWindow wnd = this->GetDlgItem(IDC_STATIC_IMG); ... 阅读全文
posted @ 2016-09-25 17:12 N3verL4nd 阅读(499) 评论(0) 推荐(0) 编辑
摘要: 构建最简单的WTL Hello World程序,基于:WTL91_5321_Final + VS2013 + WIN7 添加->新建项目 为了简单起见,我们删除一些button和对应的处理代码(一般我们只需要修改dialog对应的.h/.cpp代码) MainDlg.h // ... 阅读全文
posted @ 2016-09-25 09:52 N3verL4nd 阅读(287) 评论(0) 推荐(0) 编辑
摘要: 构建最简单的WTL Hello World程序,基于:WTL91_5321_Final + VS2013 + WIN7 添加->新建项目 为了简单起见,我们删除一些button和对应的处理代码(一般我们只需要修改dialog对应的.h/.cpp代码) MainDlg.h // ... 阅读全文
posted @ 2016-09-25 09:52 N3verL4nd 阅读(181) 评论(0) 推荐(0) 编辑
摘要: 关于类成员函数中访问同类对象的私有成员,主要包含以下几种场景: a. 在C++的类的成员函数中,允许直接访问该类的对象的私有成员变量。 b. 在类的成员函数中可以访问同类型实例的私有变量。 c. 拷贝构造函数里,可以直接访问另外一个同类对象(引用)的私有成员。 d. 类的成员函数可以直接访问作为... 阅读全文
posted @ 2016-09-25 09:39 N3verL4nd 阅读(201) 评论(0) 推荐(0) 编辑
上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 95 下一页