-
MDIFrameBackground
To get this task done, my first instinct was to catch the WM_ERASEBKGND in CMainFrame and do the FillSolidRect there. But I soon realized that approach didn t do anything other than make the frame flicker and show red only when it s being resized, otherwise the gray background was completely intact. Not exactly what I was looking for. Suddenly it became a little mystery. Why doesn t the background of the frame change when I fill it with a color in the frame s WM_ERASEBKGND handler? So I went on a hunt, I went through a lot of the CMDIFrameWnd and CFrameWnd code looking for methods that would draw on the frame, and there was not much there. I finally ended up at CMainFrame::OnCreate method, I set a breakpoint and stepped through the CMDIFrameWnd::OnCreate method. After what seemed to be hours of searching I came across the following code in CMDIFrameWnd::CreateClient:
- 2010-08-06 14:07:20下载
- 积分:1
-
FUZZY_PID
采用C语言编写的模糊PID算法,该算法写了详细的注释。。。(Fuzzy PID algorithm C language, the algorithm wrote detailed notes. . .)
- 2014-04-24 22:26:13下载
- 积分:1
-
MAX7219
max7219,利用51单片机控制,点阵显示(max7219, 51 single-chip control, dot matrix display)
- 2012-10-24 15:28:24下载
- 积分:1
-
TOOLS
keil uVision软件中实现C8051f单片机调试的配置文件,放在安装目录下(keil uVision SCM software to achieve C8051f debugging configuration files on the installation directory)
- 2011-06-04 19:05:49下载
- 积分:1
-
基本可用的MFC的C语言音乐播放器
可以播放暂停停止调节音量等基本功能
- 2022-11-29 05:30:04下载
- 积分:1
-
Laganiere---OpenCV-2
Laganiere - OpenCV 2. Computer Vision Application Programming Cookbook
- 2013-08-13 17:05:51下载
- 积分:1
-
GraphTheory
讲述数据机构的图论部分和程序设计的关系,适合学习算法的同学学习阅读,很不错的一本书。(Graph theory algorithm and programming)
- 2013-12-04 20:12:39下载
- 积分:1
-
Lis2dw12
lis2dw12 驱动开发代码,主要为寄存器操作。(lis2dw12 driver code)
- 2018-06-15 17:49:01下载
- 积分:1
-
利用哈夫曼编码实现文本压缩
按位读取文本中的字节,然后进行哈夫曼编码,编码后按位存入新的文本,实现压缩效果。反过来从压缩文本中按位读取,按哈夫曼编码进行还原,得到原来的文本。
- 2022-08-19 03:36:42下载
- 积分:1
-
3
说明: 编写程序:基类base,有一个私有数据成员n,派生类Derived公有继承基类base,Derived中新增加一个数据成员m(Programming: the base class base, there is a private data member n, the derived class Derived inherits the base class public base, Derived add a new data member m)
- 2013-12-17 13:38:33下载
- 积分:1