• PUDN用户
    了解作者
  • Visual C++
    开发工具
  • 40KB
    文件大小
  • rar
    文件格式
  • 0
    收藏次数
  • 1 积分
    下载积分
  • 251
    下载次数
  • 2005-09-04 04:06
    上传日期
一个很不错的Tab使用的例子!实现方法是,将TabCtrl的大小扩展到整个客户区的位置,每个 tab对应的frame都放在TabCtrl中显示
TabSample.rar
  • TabSample
  • res
  • Tab.ico
    1.1KB
  • Tab.rc2
    395B
  • Toolbar.bmp
    1.1KB
  • TabDoc.ico
    1.1KB
  • StdAfx.h
    1KB
  • Tab.dsw
    531B
  • Tab.h
    1.3KB
  • MainFrm.cpp
    4.3KB
  • TabCtrlView.cpp
    3.9KB
  • TabView.h
    1.7KB
  • DetectView.h
    1.6KB
  • DownloadView.cpp
    1.4KB
  • TabCtrlView.h
    1.6KB
  • ViewTabCtrl.h
    1.4KB
  • MyTabView.cpp
    1.4KB
  • MyTabView.h
    640B
  • TabView.cpp
    2.5KB
  • DownloadView.h
    1.6KB
  • DetectView.cpp
    1.3KB
  • ProxyView.h
    1.6KB
  • ProxyView.cpp
    1.3KB
  • TabDoc.cpp
    1.6KB
  • MainFrm.h
    1.8KB
  • Tab.clw
    3.4KB
  • Tab.plg
    1.7KB
  • ViewTabCtrl.cpp
    4.1KB
  • ReadMe.txt
    4.1KB
  • Tab.cpp
    4.1KB
  • resource.h
    771B
  • StdAfx.cpp
    205B
  • Tab.rc
    12.4KB
  • TabDoc.h
    1.4KB
  • Tab.dsp
    5.2KB
  • Tab.aps
    43.5KB
  • www.pudn.com.txt
    218B
内容介绍
======================================================================== MICROSOFT FOUNDATION CLASS LIBRARY : Tab ======================================================================== AppWizard has created this Tab application for you. This application not only demonstrates the basics of using the Microsoft Foundation classes but is also a starting point for writing your application. This file contains a summary of what you will find in each of the files that make up your Tab application. Tab.dsp This file (the project file) contains information at the project level and is used to build a single project or subproject. Other users can share the project (.dsp) file, but they should export the makefiles locally. Tab.h This is the main header file for the application. It includes other project specific headers (including Resource.h) and declares the CTabApp application class. Tab.cpp This is the main application source file that contains the application class CTabApp. Tab.rc This is a listing of all of the Microsoft Windows resources that the program uses. It includes the icons, bitmaps, and cursors that are stored in the RES subdirectory. This file can be directly edited in Microsoft Visual C++. Tab.clw This file contains information used by ClassWizard to edit existing classes or add new classes. ClassWizard also uses this file to store information needed to create and edit message maps and dialog data maps and to create prototype member functions. res\Tab.ico This is an icon file, which is used as the application's icon. This icon is included by the main resource file Tab.rc. res\Tab.rc2 This file contains resources that are not edited by Microsoft Visual C++. You should place all resources not editable by the resource editor in this file. ///////////////////////////////////////////////////////////////////////////// For the main frame window: MainFrm.h, MainFrm.cpp These files contain the frame class CMainFrame, which is derived from CFrameWnd and controls all SDI frame features. res\Toolbar.bmp This bitmap file is used to create tiled images for the toolbar. The initial toolbar and status bar are constructed in the CMainFrame class. Edit this toolbar bitmap using the resource editor, and update the IDR_MAINFRAME TOOLBAR array in Tab.rc to add toolbar buttons. ///////////////////////////////////////////////////////////////////////////// AppWizard creates one document type and one view: TabDoc.h, TabDoc.cpp - the document These files contain your CTabDoc class. Edit these files to add your special document data and to implement file saving and loading (via CTabDoc::Serialize). TabView.h, TabView.cpp - the view of the document These files contain your CTabView class. CTabView objects are used to view CTabDoc objects. ///////////////////////////////////////////////////////////////////////////// Other standard files: StdAfx.h, StdAfx.cpp These files are used to build a precompiled header (PCH) file named Tab.pch and a precompiled types file named StdAfx.obj. Resource.h This is the standard header file, which defines new resource IDs. Microsoft Visual C++ reads and updates this file. ///////////////////////////////////////////////////////////////////////////// Other notes: AppWizard uses "TODO:" to indicate parts of the source code you should add to or customize. If your application uses MFC in a shared DLL, and your application is in a language other than the operating system's current language, you will need to copy the corresponding localized resources MFC42XXX.DLL from the Microsoft Visual C++ CD-ROM onto the system or system32 directory, and rename it to be MFCLOC.DLL. ("XXX" stands for the language abbreviation. For example, MFC42DEU.DLL contains resources translated to German.) If you don't do this, some of the UI elements of your application will remain in the language of the operating system. /////////////////////////////////////////////////////////////////////////////
评论
    相关推荐
    • ControlTab.rar
      通过单选按钮控制来控制页面的变化顺序,同时把页面上的数据输送到主对话框的编辑框里,同时通过菜单来保存编辑框的内容到文件
    • Tab-control.rar
      Tab控件的使用代码 可用在VS2005 在移动设备上实现
    • TAB.rar
      CXTabCtrl an easier tab control for dialogs and forms
    • MFC TAB control
      该程序详细介绍了MFC tab control使用方法,程序运行即可。仅适用于初学者,高手勿喷。 环境:VS2010
    • Tab Control-crx插件
      选项卡控制 - Tab Managers的Holly Grail我是一个沉重的标签制片人,我没有自律关闭它们。此行为导致我在标签,Chrome内存消耗提高和许多其他生产率问题之间进行搜索和导航的能力,导致我的巨大问题。多年来我几乎...
    • c# tab control
      If anyone is looking for the latest version of the AC.ExtendedRenderer.ToolKit which is mentioned in other posts, then the following links point to the central source of them. However the website is ...
    • tab control的使用
      VC++ MFC篇中tab控件的基本用法,控件的切换
    • MFC中tab control控件设计
      mfc当中,对于tab control控件的设计使用所做的一个简单的界面
    • Tab Control-crx插件
      一旦您尝试超过该限制,Tab Control就会删除最不活跃的标签,并在内部保存它,以防万一您将来需要它。 如果您觉得选项卡变得凌乱,也可以选择清除窗口的选项卡。 清除所有选项卡,重复的选项卡或不活动的选项卡。 ...
    • Tab control 实例
      MFC 下使用Tab control控件的实例