登录
首页 » Visual C++ » MDIFrameBackground

MDIFrameBackground

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

  • LW-LZ78
       实现以下的无损数据压缩方法    LZ78和LZW算法; 给定若干个输入的字符串流,应用所编写的算法实现压缩,计算压缩比,然后再将压缩的码流进行解码,同输入的字符串流进行比较,判断输入输出码流是否一致。(Achieve the following lossless LZ78 and LZW data compression algorithm certain algorithms to a given input string stream to achieve compression applications written to calculate the compression ratio, and then decoding the compressed code stream, with the stream input string , and determines the input and output streams are the same.)
    2014-04-27 23:05:58下载
    积分:1
  • MFC-ADODemon
    VC/MFC ADO连接数据库,简单易用,且封装好了一个类.(VC/MFC ADO connect to the database, easy to use, and a wrapper class.)
    2011-02-15 16:51:16下载
    积分:1
  • reportprint
    用VB制作的套打程序,做数据库管理系统时可以做为参考直接使用(Printing With the program made in VB to do database management system can be directly used as a reference)
    2011-06-19 12:44:58下载
    积分:1
  • drawlinewithc
    在屏幕上运用鼠标划线,并且随时可以获取鼠标在屏幕上的坐标。(You can draw a line with this code,also ,you can get the mouse s location with it at anytime.)
    2009-06-12 11:11:04下载
    积分:1
  • FlappyBird(VB-6.0)
    用VB写的愤怒的小鸟 很不错的源码哦 值得参考 学习(VB write angry bird it is a very good reference source worth learning)
    2021-01-11 22:38:49下载
    积分:1
  • Warehouse-management-system
    基于MFC单文档视图结构的仓库管理系统包含四个模块:基础信息管理、入库管理、库存管理、查询管理,并使用嵌入式SQL语句与数据库通信(Warehouse Management System based MFC single document view architecture consists of four modules: basic information management, storage management, inventory management, query management, and use embedded SQL statements to communicate with the database)
    2014-05-06 22:13:16下载
    积分:1
  • v2f_turbulence_model
    v2f turbulence model
    2014-04-11 10:58:15下载
    积分:1
  • PCLGUI_Test_Wince6_Arm
    WINCE 6.0下支持USB PCL3GUI语言打印机的驱动程序,支持的打印机型号包括HP Deskjet 1000,HP Deskjet 1010,HP Deskjet 1020等等。测试之前要保证你编译的系统包含了USB Printer Class Driver和PCL Printer Driver这两个组件。(Support Drivers USB PCL3GUI printer language under WINCE 6.0, supported printer models include HP Deskjet 1000, HP Deskjet 1010, HP Deskjet 1020, and so on. Before the test to ensure that your system contains a compilation USB Printer Class Driver and PCL Printer Driver these two components.)
    2015-01-30 00:36:01下载
    积分:1
  • 实例69 快速检索指定文件
    说明:  本程序用来快速检索指定文件,使用VC编写,对初学者及开发人员有一定启示作用(the procedures used for the designated rapid retrieval of documents and use VC prepared for beginners and developers a certain inspiration)
    2005-12-25 15:08:11下载
    积分:1
  • PipeLine
    基础direct3d图形 窗口 渲染 初学 了解代码专用(Foundation direct3d graphics window rendering)
    2012-11-19 17:46:14下载
    积分:1
  • 696518资源总数
  • 105877会员总数
  • 14今日下载