|
Adding Symbol Factory ActiveX to Your Project
This example was written as a 'Dialog Based'
application and is intended for the experienced Visual C++ programmer. Open C++ and start a new 'MFC AppWizard (exe)'
project. The first thing we need to do is add the Symbol Factory ActiveX Controls to the project. Click the 'Project' tab and highlight the 'Add To Project' and click on 'Components and Controls'
as shown below.
This brings up the 'Components and Controls Gallery' dialog box. Highlight 'Registered ActiveX Controls'
and click the 'Insert' button as shown below.
Highlight 'Symbol Factory Standard Control' and click the 'Insert'
button as shown below. Click 'OK' to insert this component.
This brings up the 'Confirm Classes' dialog box. Click the 'OK'
button and C++ will generate the classes used by this control.
Similarly add the 'Symbol Factory Cutaway Control'
and it's classes the same way you added the Standard Control as shown below.
The 'Symbol Factory Standard Control' and 'Symbol Factory Cutaway Control'
are now on the VC++ toolbar as shown below.
Now we are ready to start adding controls to the form and building our dialog.
Next Step - Adding Controls to the Dialog
|