登录
首页 » Visual C++ » MDIFrameBackground

MDIFrameBackground

于 2010-08-06 发布 文件大小:49KB
0 260
下载积分: 1 下载次数: 4

代码说明:

  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:

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • rtems6
    Linux下物理内存管理技术探讨(Linux under the physical memory management technology to explore)
    2007-11-14 17:06:21下载
    积分:1
  • VCGYK
    这是GYK轨道车控制运行设备测试系统的 界面选择程序,简单实用,情放心实用(This is GYK railcar control operation of the equipment interface test system selection process, simple and practical)
    2014-02-12 14:56:53下载
    积分:1
  • LINUX
    LINUX内核指导,操作系统课程设计时做的(LINUX kernel guidance, operating system, curriculum design, when done)
    2010-01-06 09:49:32下载
    积分:1
  • ArpSender
    一个抓包小工具,获取网络上面其它装置之间通讯报文(a tool that get a net reports between other equipments)
    2015-05-07 16:34:05下载
    积分:1
  • Server
    一个基于MFC的网络通信SOCKET程序,实现了接收SOCKET数据的同时,发送SOCKET数据。(An MFC-based network communication SOCKET procedure to achieve the same time to receive SOCKET data, send SOCKET data.)
    2010-08-30 14:14:46下载
    积分:1
  • voice123.project
    this project simulate the voice communication between two subscriber stations in office scaled module and test the communications between them
    2013-04-24 21:42:10下载
    积分:1
  • qt-3dconstruct
    qt vtk医学图像二维显示,医学图像三维重建,可滚动条设置切片索引(qt vtk-dimensional medical image display, 3D medical image reconstruction, scroll bar to set slice indices)
    2013-07-17 20:17:48下载
    积分:1
  • CPP
    这里面是很多的 C++的经典编程代码 看看这些代码 您就可以发现自己编程的漏洞 养成良好的编程习惯(The book is a The classic C++code help you keep a good habbit)
    2011-10-26 10:28:27下载
    积分:1
  • Learn-to-use-a-variety-of-bit-
    学习使用各种按位与&,或丨,取反~,异或^等的代码(Learn to use a variety of bit-)
    2014-04-29 17:50:15下载
    积分:1
  • DeleteCertainFolderFile
    删除指定目录下某种类型的文件,VC++精选编程源码,很好的参考资料。(Delete the specified file is a type of directory, VC++ select programming source code, a good reference.)
    2013-11-26 09:22:48下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载