CapitolSoft Banner
Features
Tutorials
F.A.Q.s
Downloads
Articles
Open Architecture
Control Development Kit
RAD Foundation Class
Enhanced IntelliSense
Samples
Migration Center
Links

Control Repository (C.R.)

As the name suggests, RadVC's "Control Repository" (C.R. in short) provides a common storage place to keep your RAD C++ controls.

 

The Benefits of Creating Controls in C.R.:

When you  create a control in the Control Repository, it appears in the RadVC toolbox along with other standard C++ controls (e.g. command buttons, textbox etc.) and thus they become available to all Visual C++ projects. This makes the control re-use very convenient since you do not need to install a control into the RadVC toolbox each time you want to use the control in a project.

How to Create or Install Controls in C.R.:

To create a new control in the C.R., you need to make sure that the checkbox named "Add to Control Repository" is checked in the "New C++ Control" dialog. Please visit "Creating New C++ Control" page to find more on how to create a new RAD C++ control by invoking the "New C++ Control" dialog. Also go to "Installing New C++ Control" page to find how you can install a RAD C++ control in the C.R.

How RadVC Manages Controls in C.R.: RadVC stores the various files of a RAD C++ control in the following RadVC directories:

File Type File Extension Storage Location
Declaration .h, .hpp etc. \\RadVC\Include
Implementation .cpp, .c etc. \\RadVC\Src
Resource Description .rc \\RadVC\Src
Resource Definition .rh \\RadVC\Include
Resource .bmp. ico, .cur etc. \\RadVC\Res
Library .lib \\RadVC\Lib
Dynamic Link Library(DLL) .dll \\RadVC\Dll
ActiveX .ocx \\RadVC\ActiveX

The information on the files constituting a RAD C++ control is saved in a text file called "ToolList.txt", which can be located in the main RadVC directory.

How RadVC Manages Control Resources in C.R. (for "Source" type controls):

In order to avoid duplicate resource ID's, RadVC maintains system level constants for various resource and control constants (for "Source" type controls). Thus whenever a new RAD C++ control is installed in the C.R., the resource ID's are modified to make sure that they remain unique throughout the system.

 

 

Microsoft Visual C++, Microsoft Visual Basic and Microsoft Visual Studio are registered trademarks of Microsoft Corporation.
Copyright © 1998-2000 Capitolsoft Corporation. All rights reserved.
Disclaimer: Capitolsoft Corporation is an independent business organization incorporated with the State Commission of Virginia and hence has no connection with U.S. Capitol or any other federal agency of U.S. government. Opinions expressed by the individuals in this site are of their own alone and hence do not necessarily reflect the views of Capitolsoft Corporation.

 

This page was last updated on November 21, 2005
Hit Counter