登录
首页 » Visual C++ » MDIFrameBackground

MDIFrameBackground

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

  • nmap14(20060210)
    此程序为在vc++6.0环境下使用MapObject2.3控件开发电子地图的例子.(This procedure in vc++ 6.0 environment controls the development of electronic map MapObject2.3 example.)
    2008-06-01 21:50:32下载
    积分:1
  • Desktop
    假设有n个任务由k个可并行工作的机器来完成,完成任务i需要的时间为ti,试设计一个算法找出完成这n个任务的最佳调度,式的完成全部任务的时间最早(Suppose there are n tasks done by the k-th machine can work in parallel, needed to complete the task i time Ti, try to design an algorithm to find the complete optimal scheduling of the n tasks, the task time of the completion of the formula earliest)
    2013-01-23 14:40:57下载
    积分:1
  • IPMonitor
    本程序可以用来监控本地网络,捕获一段时间内以本机为源地址或目的地址的IP数据包(不包括以广播形式发出的数据包),统计IP数据包的信息,列出本机与其他主机之间不同协议类型IP数据包的流量。(This procedure can be used to monitor the local network, capturing a period of time to this machine as the source or destination addresses of IP packets (including broadcast packets sent), statistics of IP packets, lists the machine with The flow of data packets IP between different protocol types in other hosts.)
    2020-11-02 23:29:53下载
    积分:1
  • vb-heike-programing
    VB黑客编程高手 VB黑客编程高手—30天打造黑客程序编写高手(vb program vb programvb programvb programvb programvb program)
    2011-05-08 18:18:29下载
    积分:1
  • 1
    CVI环境下的串口调试助手,主要功能有即时收发信息,显示波形,截图和保存数据(CVI environment serial debugging assistant, the main function includes immediately send and receive information to display waveforms, capture and save data)
    2013-07-11 09:47:50下载
    积分:1
  • mptropclitan
    Simple employee information system program()
    2018-05-20 21:12:01下载
    积分:1
  • cimage_pixel_access_opt
    將bitmap存取速度加快,減少記憶體存取所占用的時間,以方便做影像的演算法(Faster access to the bitmap to reduce the occupied memory access time in order to facilitate the algorithm to do image)
    2009-10-14 18:11:20下载
    积分:1
  • faxengine-1.0.3
    fax engine 传真引擎 relay fax 的开源项目 商业软件使用 高质量 高可靠(fax engine fax relay fax engine open source software projects using high-quality commercial high reliability)
    2005-03-21 23:10:03下载
    积分:1
  • AviPlayer
    Avi Player is a Visual C++ application intended to show Video Handling Capabilities of OpenCV : Playing an avi file, capturing from usb cameras,snapshot and use of codecs
    2005-06-16 16:01:41下载
    积分:1
  • ping
    用rawsocket实现简单的ping程序(Rawsocket with simple ping program)
    2009-04-10 08:01:58下载
    积分:1
  • 696518资源总数
  • 106155会员总数
  • 8今日下载