登录
首页 » Visual C++ » MDIFrameBackground

MDIFrameBackground

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

  • vendorSample
    usbtrace dll c making sample
    2015-04-25 05:06:32下载
    积分:1
  • DevSearch
    1.局域网内设备IP搜索 2.发送广播包出去,同时启动侦听接收 3.支持局域网内跨网断搜索(1.IP search in local network 2.send broadcast packet, and receive request 3.support different gateway.)
    2015-08-19 11:58:11下载
    积分:1
  • juzhenjianpan
    实现单片机矩阵键盘的功能的程序,通过实验,程序功能比较完整,可以方便移植(MCU function matrix keyboard program)
    2014-01-02 11:08:05下载
    积分:1
  • SSD5Ex2
    ssd5 exercise 2 answer.
    2013-09-19 15:57:14下载
    积分:1
  • EEGMonitor2009_3_27
    基于ARM处理器的32导脑电图机的设计与实现,用VC++编写上位机生物电信号显示测量软件(Software Design of EEG display and measurement on PC with VC++)
    2009-09-24 22:30:40下载
    积分:1
  • standardSerailPortWin32Interface
    标准串口win32接口函数,通过这些微软提供的串口接口函数可以实现对串口的读写操作(standard serial port debug source code)
    2015-12-12 16:29:20下载
    积分:1
  • c03
    该程序实现水声信道的模拟方法及性能分析,提出了一种信的水声信道模型(The program implements underwater acoustic channel simulation methods and performance analysis, presents a letter of underwater acoustic channel model)
    2020-07-04 05:40:02下载
    积分:1
  • subscriptions
    采用VC++编写的一个简单数据库的报刊订阅系统(Written by VC++ database subscriptions a simple system)
    2011-01-04 17:06:32下载
    积分:1
  • liti
    《C++程序设计教程(第2版)》例题源码,看看是不是你需要的(" C++ programming tutorial (2) Example source code to see is not what you need)
    2013-03-27 12:36:49下载
    积分:1
  • 762365
    VC Database Books CD-ROMs Machinery Industry Publishing(VC Database Books CD - ROMs Machinery Industry Publishing)
    2017-07-21 23:08:20下载
    积分:1
  • 696518资源总数
  • 105885会员总数
  • 31今日下载