yang131

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

06 2020 档案

MFC的消息反射
摘要:这边我用对话框来测试mfc的消息反射 当对话框初始化完成之后,点击按钮,首先相应CDialog::OnCommand其中wpARAM(低八位nId,高八位子控件句柄) 和LPARAM(句柄) OnCommand里面先调用了ReflectLastMsg(hWndCtrl);//如果子控件用了消息反射, 阅读全文

posted @ 2020-06-28 00:02 NoNight 阅读(234) 评论(0) 推荐(0) 编辑

封装的grid控件
摘要:class CGridCtrl : public CWnd { DECLARE_DYNAMIC(CGridCtrl) public: void Create(CWnd* pParent, DWORD dwStyle, RECT rect, UINT nId); void InsertColumn(L 阅读全文

posted @ 2020-06-24 17:30 NoNight 阅读(235) 评论(0) 推荐(0) 编辑

MFC--教你如何使用画刷(2)
摘要:转载 http://blog.sina.com.cn/s/blog_a79c99e00101c2tp.html 阅读全文

posted @ 2020-06-24 17:26 NoNight 阅读(858) 评论(0) 推荐(0) 编辑

MFC 完全自定义控件
摘要:头文件 #pragma once #include "pch.h" class CGridCtrl : public CWnd { public: void Create(CWnd* pParent, DWORD dwStyle, RECT rect, UINT nId); void InsertC 阅读全文

posted @ 2020-06-23 18:09 NoNight 阅读(762) 评论(0) 推荐(0) 编辑

图形学中求平面方程系数以及法向量
摘要:已知三点p1(x1,y1,z1),p2(x2,y2,z2),p3(x3,y3,z3),要求确定的平面方程 关键在于求出平面的一个法向量,为此做向量p1p2(x2-x1,y2-y1,z2-z1), p1p3(x3-x1,y3-y1,z3-z1),平面法线和这两个向量垂直,因此法向量n: 平面方程:a( 阅读全文

posted @ 2020-06-22 12:21 NoNight 阅读(2289) 评论(0) 推荐(0) 编辑

c++ 17 demo
摘要:1 // Cpp.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。 2 // 3 4 #include <iostream> 5 #include <variant> 6 #include <any> 7 #include <string> 8 #include <optio 阅读全文

posted @ 2020-06-10 14:45 NoNight 阅读(214) 评论(0) 推荐(0) 编辑

c++17
摘要:std::variant<std::string,int,float>;//作为联合体 using va = std::variant<std::string, int, float>; va v = 23; cout << std::get<int>(v); va v2 = "this is he 阅读全文

posted @ 2020-06-10 13:48 NoNight 阅读(454) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示