The features described in this topic are obsolete
and should not be used in new IDL code.
Advanced Examples
Each of the following examples builds on the concepts that you've already learned in this chapter.
Example Code
The user interface and projects for each of the examples have been created and can be found in the distribution in the examples\doc\ActiveX\project directory where project is the name of the example.
These examples assume that you are already familiar with the following concepts:
- Creating a new project in Visual Basic;
- Adding the IDLDrawWidget control to the VB control toolbar;
- Drawing the IDLDrawWidget on your form;
- Initializing IDL with InitIDL;
- Creating the draw widget with CreateDrawWidget;
- Executing commands with ExecuteStr;
- Using IDL
.procode to respond to auto-events within the IDLDrawWidget; - Setting properties for the IDLDrawWidget objects.
These examples demonstrate the following: