登录
首页 » Visual C++ » MDIFrameBackground

MDIFrameBackground

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

  • ADOclass
    运用ADO封装类,可以直接实现数据库连接,增删查改的功能,简化代码,其中有详细说明书,函数等等说明(failed to translate)
    2009-12-31 00:07:39下载
    积分:1
  • jifen
    用c语言编出,求下列积分值得程序, 用 n=10 , 100 , 1000 时的值 和 exact solution 做比较 (Using c language out, find the following points merit program, with n = 10, 100, 1000 and the exact solution value when compared)
    2013-07-08 15:55:44下载
    积分:1
  • C-lizi
    一些非常全面的C语言的实例和解析,帮助驯兽学习与练习。(Instance and parse very comprehensive C language, to help the tamer learning and practice.)
    2013-01-29 13:40:01下载
    积分:1
  • B11Test
    一种Ipod Shuffle Cable检测程序(One kind of Ipod Shuffle Cable testing procedures)
    2011-10-28 08:46:13下载
    积分:1
  • InstantaneusReal-timeCycle-slipCorrectionofDualreq
    加拿大人发表的关于周跳探测,实现了实时的双频周跳探测和修复(cycle-slipsfromCanada)
    2010-08-18 21:34:59下载
    积分:1
  • FirstISAPI
    这是一个实现ISAPI的程序 实现了用户输入,并回显的功能(ISAPI realize this is a procedure for the realization of the user input, and echo the function of)
    2008-04-10 10:59:02下载
    积分:1
  • server2
    http gui interface test homework seveer(http gui interface test homework server)
    2011-01-27 01:27:33下载
    积分:1
  • Scheduling_NewMethod_1
    针对M2M海量业务在LTE-A调度中的新算法改进,用Matlab测试其丢包率、时延以及系统吞吐量(A new algorithm for M2M massive business in LTE-A scheduling improvements, using Matlab to test its loss rate, delay, and system throughput)
    2014-05-05 12:15:57下载
    积分:1
  • I2C_Labview
    Labview 访问2线制数据i2C,值得研究(Labview access I2C)
    2009-04-14 10:37:50下载
    积分:1
  • date
    一个对日期编写的函数。 在VC6.0下实现。(Date of preparation of a function. Achieved in VC6.0.)
    2009-01-03 22:55:49下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载