有没有办法在可视化环境中使用 Win32 C++ 源代码?
Is there any way to work with Win32 C++ source in visual environment?
我有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 的使用和一些缺少的库,并且可以 运行 项目。现在我需要对表单视图进行一些更改!
在解决方案中,我可以找到一些与 frmMain 相同的后缀为 .h 和 .cpp 的文件。
源代码来自:https://www.rohde-schwarz.com/产品
您好 8 小时或更长时间后,我可以打开可视化表格。
在 Solution Explorer > Aim Project > Resources File > [Name].rc > Double Click
如果我们打开 rc 文件作为代码,我们得到错误,它是用另一个应用程序打开的,关闭 VC 中的所有代码选项卡,然后再次尝试出现新的树菜单,在 Dialog 目录中,我们可以找到并打开所有表单,然后进行编辑事件在表格上我们应该使用 cpp 文件。
特别感谢@Ron 和@drescherjm
我有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 的使用和一些缺少的库,并且可以 运行 项目。现在我需要对表单视图进行一些更改! 在解决方案中,我可以找到一些与 frmMain 相同的后缀为 .h 和 .cpp 的文件。
源代码来自:https://www.rohde-schwarz.com/产品
您好 8 小时或更长时间后,我可以打开可视化表格。
在 Solution Explorer > Aim Project > Resources File > [Name].rc > Double Click
如果我们打开 rc 文件作为代码,我们得到错误,它是用另一个应用程序打开的,关闭 VC 中的所有代码选项卡,然后再次尝试出现新的树菜单,在 Dialog 目录中,我们可以找到并打开所有表单,然后进行编辑事件在表格上我们应该使用 cpp 文件。
特别感谢@Ron 和@drescherjm