Using in MS Visual C++

 

 

This example illustrates how to use BarCodeWiz ActiveX Control in Microsoft Visual C++.

 

In order to insert BarCodeWiz ActiveX into your project, right-click inside your dialog and select Insert ActiveX Control.

vcpp6_1

 

Select the appropriate class (BarcodeWiz Class) and click OK

vcpp6_2

 

Once BarCodeWiz ActiveX is inserted, click Ctrl+W to invoke the ClassWizard.

Let's create a new Member Variable for the control.  Click on Add Variable....

vcpp6_3

 

Click OK to generate a new wrapper class for BarCodeWiz ActiveX.

vcpp6_4

 

Click OK to generate the necessary classes.

vcpp6_5

 

Add a new member variable.  Let's name it m_Wiz.

vcpp6_6

 

Using m_Wiz is as simple as shown in the example below.

vcpp6_7

 

See our Visual C++  sample application for a complete example of BarCodeWiz Barcode ActiveX Control in action.