我有c ++项目“ DDF195”的源代码,我试图对表单操作和样式进行一些更改。
我需要知道如何在可视环境中打开表单吗? 我刚刚找到了有关项目的文件。
================================================================================
MICROSOFT FOUNDATION CLASS LIBRARY : DDF195 Project Overview
===============================================================================
The application wizard has created this DDF195 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 DDF195 application.
DDF195.vcproj
This is the main project file for VC++ projects generated using an application wizard.
It contains information about the version of Visual C++ that generated the file, and
information about the platforms, configurations, and project features selected with the
application wizard.
DDF195.h
This is the main header file for the application. It includes other
project specific headers (including Resource.h) and declares the
CDDF195 application class.
DDF195.cpp
This is the main application source file that contains the application
class CDDF195.
DDF195.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++. Your project resources are in 1033.
res\DDF195.ico
This is an icon file, which is used as the application's icon. This
icon is included by the main resource file DDF195.rc.
res\DDF195.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:
The project includes a standard MFC interface.
FrameWndMainForm.h, FrameWndMainForm
These files contain the frame class CFrameWndMainForm, 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 CFrameWndMainForm
class. Edit this toolbar bitmap using the resource editor, and
update the IDR_MAINFRAME TOOLBAR array in DDF195.rc to add
toolbar buttons.
我刚刚设法解决了一些错误,例如Cbrush的使用和某些缺少的库,并且可以运行项目,现在我需要在窗体视图中进行一些更改! 在解决方案中,我可以找到一些带有.h和.cpp后缀的文件,它们与frmMain相同。 谢谢。
源代码来自:https://www.rohde-schwarz.com/产品
答案 0 :(得分:-1)
你好8小时或更长时间后,我可以打开可视化表格。
在解决方案资源管理器> Aim项目>资源文件> [名称] .rc>双击中
如果我们以代码形式打开rc文件,则会得到错误,该错误是通过另一个应用程序打开的,关闭VC中的all code选项卡,然后重试出现新的树菜单,在Dialog目录中,我们可以找到并打开所有表单,然后在表单上进行编辑事件使用cpp文件。
特别感谢@Ron和@drescherjm