Digital Signal Processing Reference
In-Depth Information
FIGURE 9.15.
Visual C++ windows displaying the
classview
pane and the gain slider control
for the project
rtdx_vc_sine
.
5.
Right click on the
slider control
in the main dialog window, and select the
properties
menu item. Click on the
styles tab
and select the
Tick Marks
and
the
Auto Ticks
options. From the
Point
list, select the
Top/Left
option. Close
the slider control property dialog.
6.
Click on the
ClassView
pane (bottom-left window) to expose the three classes
that constitute the project, as shown in Figure 9.15, along with the slider
control. These classes are:
•
CaboutDlg
•
CtestprojectApp
•
CtestprojectDlg
where t
estproject
is the project name specified initially in step 2
(
rtdx
_
vc
_
sine
). The class of interest is
CTestprojectDlg
since it is the class that
controls the main dialog window. The
CTestprojectApp
class is a standard
class included in most projects to handle application startup, since there is
no
main
function, as in a typical C
console application. The
CAboutDlg
class is responsible for displaying an
About
message dialog, as in most
window-based applications.
7.
From the main menu, select
View
and select the
ClassWizard
menu item.
This pops up the
MFCClassWizard
dialog window. (Make sure to select
++
Search WWH ::
Custom Search