📄 readme.html
字号:
<html>
<head>
<title>ResOrg - Source Code</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<Style>@import "../../../../WebStuff/Sites/ResOrg/styles.css";
H2 { COLOR: #0066ff; FONT-SIZE: 13pt; FONT-WEIGHT: bold; }
H3 { COLOR: #0066ff; FONT-SIZE: 12pt; FONT-WEIGHT: bold; font-style: italic; }
H3 { COLOR: #0066ff; FONT-SIZE: 11pt; FONT-WEIGHT: bold; }
PRE { BACKGROUND-COLOR: #FBEDBB; FONT-FAMILY: "Courier New", Courier, mono; WHITE-SPACE: pre; }
CODE { COLOR: #990000; FONT-FAMILY: "Courier New", Courier, mono; }
</style>
</head>
<body bgcolor="#FFFFFF" color=#000000>
<h1 align="center"><b>ResOrg Source Code</b></h1>
<p align="left">The ResOrg workspace contains six projects. In addition to projects
for the standalone ResOrg application and the Add-In itself (an MFC Regular
DLL), there are four MFC extension DLLs used by both versions:
<ol>
<li>The excellent CodeJock library (alas no longer available) from <a href="http://www.codejock.com" target="_blank">www.codejock.com</a>
provides the framework for the user interface, including support for the docking
projects display and "cool" menus<br>
<br>
</li>
<li>My own extension library (<b>NGLibrary</b>) provides general purpose classes,
many of which are from either CodeGuru, CodeProject or MSJ, renamed with a
"CNG" prefix for namespacing reasons <br>
<br>
</li>
<li>An extension library (<b>BFFileDialog</b>) hosting David Wulf's Office2K
style file dialog class and an associated CDocManager class<br>
<br>
</li>
<li>Finally, a utility DLL (<b>ResOrgUtils</b>) provides classes which are common
to both the Add-In and Executable versions of the tool.</li>
</ol>
<p>ResOrg is a little unusual for an Add-In in that it is implemented as an MDI
application rather than the usual modal dialog or property sheet.
<p>To allow this to happen, the mainframe contains a <code>DoModal()</code> method
which uses <code>CWnd::RunModalLoop()</code> to create a modal mainframe which
performs in a similar manner to its <code>CDialog</code> counterpart. When the
add-in is invoked, its main window will appear (starting the modal loop), and
the Visual C++ main window will be hidden. When the main window of the add-in
is closed (ending the modal loop), Visual C++ will reappear.
<p>
<p>Beyond that, its structure is that of a conventional MDI application, save
for some additional plumbing to integrate a "workspace" docking window
and David Wulf 's <a href="http://www.codeproject.com/dialog/win2kfiledlg.asp" target="_blank">Office2K
style File Dialogs</a>.
<p>
<h2><b>Important Note</b></h2>
<p>Three of the projects within the workspace have integrated Source Code Control
enabled.
<p>To open the workspace without access to the SourceSafe Database, please run
the macro <a href="Toggle%20DevStudio%20SCC.vbs">Toggle DevStudio SCC.vbs</a>
to disable integrated source code control before attempting to load it (you
will have to restart Visual Studio for the change to take effect).
<p>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -