登录
首页 » Visual C++ » MDIFrameBackground

MDIFrameBackground

于 2010-08-06 发布 文件大小:49KB
0 102
下载积分: 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 个回复

  • ProcessMonitor
    1、实时监控各个exe所做的行为;2、实时监控exe的启动和退出;3、该代码为微软的SysinternalsSuite中的Process Monitor v1.0版本源码;4、工程项目已转化为vs2010(1, real-time monitoring of individual behavior made ​ ​ exe 2, real-time monitoring exe startup and exit 3, the code for Microsoft s SysinternalsSuite the Process Monitor v1.0 version of the source code 4, the project has been converted to vs2010)
    2013-12-23 18:34:50下载
    积分:1
  • 805955
    一个可以观察本机上网过程的小程序,使用了SHDocVw组件和MSHTML组件,()
    2018-02-14 10:47:45下载
    积分:1
  • ChildViewTx
    这是VC++其中的一个源代码,是普通的程序代码,主要用于教学范例(This is VC in which a source code, there are the ordinary program code, mainly for teaching examples)
    2016-02-16 02:21:28下载
    积分:1
  • Deal_Excel
    说明:  一个小例子 如何操作Excel 无条件添加数据(vb.net teach you how to add Excel)
    2020-06-16 23:20:01下载
    积分:1
  • MultControl
    这是一个多列的树/列表控制类库(87KB),对大家学习很有用的(This is a multi-column tree/list control class library (87KB), for all of us to learn useful)
    2009-06-06 08:51:52下载
    积分:1
  • printer
    基于打印的编程 ,利用mfc框架实现,生成自己想要的ui和功能。 (Print-based programming, the use of mfc framework implementation, generate ui and features you want.)
    2014-08-05 13:11:15下载
    积分:1
  • test_grafix
    说明:  动态绘图,并将结果保存在数据表格中。从CODEPROJECT上下载的。(Dynamic graphics, and the results stored in the data table. Downloaded from the CODEPROJECT.)
    2008-10-04 11:34:41下载
    积分:1
  • vb
    说明:  sample of prrogramming by image ,textbox,button and other control in vb6
    2013-11-07 21:04:34下载
    积分:1
  • 多种字体的实现
    Viaual C++中的各种字体的实现,源码注视详尽,适合初学者学习,以及有一定经验的朋友参考(The implement of the Fonts in Viaual C++)
    2005-06-24 22:28:32下载
    积分:1
  • main
    double linked list.vcproj
    2009-12-17 06:45:43下载
    积分:1
  • 696524资源总数
  • 103930会员总数
  • 47今日下载