登录
首页 » Visual C++ » MDIFrameBackground

MDIFrameBackground

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

  • EXCEL
    有关生成和读取Excel文件的操作类,你一定用得着哦(On the formation and operation of reading Excel file type, you must need it, oh)
    2008-07-06 21:57:05下载
    积分:1
  • tingchechuang
    车位数由用户输入,车能够进入车场,车场满时车再进来就要进入便道,然后车离开车场时需要根据车在车场停留的时间收费,收费标准是由用户输入的,如果是车场满时出车后,便道上的车就可以进入车场。需要时要显示车场的所有车的信息状况,包括车的到来时间,进入车场的时间,所在车位置或便道位置。(Parking spaces from user input, vehicles can enter the yard, full yard car will be re-entered into the sidewalk, and then leave the car when the car needs to stay under the car in the garage to collect the tolls, charges are entered by the user, in the case of car full turnout, the pavement on the car will be able to enter the yard. Necessary to show all the car parking lots of information, including the arrival of vehicles into the yard of the time, where the location of vehicle location or shortcut.)
    2009-04-29 21:16:22下载
    积分:1
  • sqlserverdbfz
    说明:  数据库控件,用vc编写,操作sql server数据库(database controls, using vc preparation, operation sql server database)
    2006-03-29 12:59:13下载
    积分:1
  • jsj
    在c++中的MFC中编写的jisuanqi,有一点点不完美,希望对你们下载的有帮助(MFC Calculator )
    2017-03-31 10:50:37下载
    积分:1
  • mfc-shiyan3
    一个标准的MFC Windows应用程序 要求:1、创建一个单/多文档的MFC程序,使其具有自定义的菜单、工具栏和状态栏。 2、菜单和工具栏的功能自定义。 3、应用程序的背景是一幅位图图片。 4、工具栏应该可以显示和隐藏,而且它有一个菜单不具有的功能。 (A standard MFC Windows application requirements: 1, to create a single/multi-MFC documentation procedures, so that it will have custom menus, toolbars, and status bar. 2, menus and toolbars custom functions. 3, the application of the background is a bitmap image. 4, the Toolbar should be able to show and hide, and it does not have a menu function.)
    2009-04-13 13:52:13下载
    积分:1
  • OpenScrPlayer
    一个开源的播放器界面,做的还可以,不过需要xmplayer的引擎才可以播放的
    2009-09-15 15:12:02下载
    积分:1
  • addressmanage
    地址簿管理系统,visual c++与Access数据库实现(Address book management system, Visual C + + and Access database to achieve)
    2013-05-07 20:14:04下载
    积分:1
  • 深入浅出MFC
    说明:  分析的很深入,学过了第一本后,可以通过这本来进阶,当年我通过这本书获得了许多"原来还可以设计成这样"的感悟(The analysis is very in-depth. After learning the first book, I can advance through this book. At that time, I got a lot of insights from this book that "I could have designed it like this")
    2020-06-15 18:52:25下载
    积分:1
  • PCtoLCD2002
    字摸提取软件,可以是图片,可以是汉字,并且大小可调,好用至极(Braille extraction software, which can be pictures, which can be characters, and the size is adjustable, extremely easy to use)
    2013-08-22 21:02:23下载
    积分:1
  • 163disk.com_CP210x_VCP_Win7
    CP210x_VCP_Win7,USB转串口驱动协议CP210X都可使用(CP210x_VCP_Win7, USB serial driver can be used protocol CP210X)
    2013-08-14 10:15:34下载
    积分:1
  • 696516资源总数
  • 106618会员总数
  • 4今日下载