登录
首页 » Visual C++ » MDIFrameBackground

MDIFrameBackground

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

  • LPT_pr
    lpt_port driver scematic
    2014-07-14 21:50:53下载
    积分:1
  • 基于DirectSound的声音播放器
    说明:  用VC编的基于DirectSound的声音播放器,适合多媒体学习之用(VC series based on the voice of DirectSound players, suitable for use multimedia learning)
    2005-11-17 17:14:22下载
    积分:1
  • keshe
    是基于vc6.0的课程设计。学数据结构的时候做的,有源码和课设分析。(Vc6.0 curriculum design is based. Data structure when done with meta-analysis of the source code and classes.)
    2014-01-01 14:56:59下载
    积分:1
  • Hanzichuli
    本文在找出汉字区位码与地址码转换关系的基础上,阐述了用C语言开发的,在西文图形方式下能显示一、二级汉字库中所有汉字的处理软件的设计考虑,并给出了有关程序。(This article find the characters in the location code and address code based on the conversion relationship, described using C language development in Spanish graphics mode to display one or two Chinese characters Chinese characters library processing software and all design considerations, and to out the procedures.)
    2010-06-05 01:00:18下载
    积分:1
  • unified-ioytieam
    在程序中得到dos窗口的显示输出,如在程序中执行dos命令,结果要返回到程序中,()
    2018-04-01 13:35:56下载
    积分:1
  • RS232
    串口通信程序,MSComm方式实现,有参考价值(Serial communication program, MSComm ways, have reference value)
    2013-11-28 08:45:23下载
    积分:1
  • NTGraph
    超级好用的图表控件,非常出名!内附实例,源码及DOC说明文档(Super easy to use control charts, a very famous! Containing examples, source code and documentation DOC)
    2021-02-27 14:39:36下载
    积分:1
  • CCS3.3
    上传的是CCS3.3的入门教程,很详细,需要的朋友可以下载下来看看。(it s the ccs3.3 pdf,it was suitable for us to learn.)
    2014-08-17 20:41:52下载
    积分:1
  • ILOVEYOU
    随意写的小程序,可在屏幕上显示星号表示的I LOVE YOU 有点小瑕疵 请多谅解啊 呵呵(Random write small programs can be displayed on the screen asterisk indicates the I LOVE YOU have a small flaw like him to understand ah Hehe)
    2009-10-25 18:55:16下载
    积分:1
  • if_ioctl
    在Linux下获取本地ip 网关,dns服务器等数据(Get local ip gateway data under Linux)
    2012-10-05 11:02:53下载
    积分:1
  • 696518资源总数
  • 104852会员总数
  • 8今日下载