The enumerations for the VB controls do not carryover into the wrapper classes in Visual C++. What you would have to do is kind of inconvenient. You would have to look in Object Browser and see the enum values for what you are trying to use and insert the constant value. Or you could create your own header file with the enumerations you need defined.
Also, note that there are Visual C++ native tools for IVI that are integrated into Measurement Studio. You will see that we not only have the instrument classes (CNiScope, etc.) but also instrument specific classes that are based on IVI. You will see these drivers in the Measurement Studio project wizards. They are designed for use in Visual C++ with our Measurement Studio data types.
The one thi
ng you would lose from the ActiveX controls though is the built in user interface. If that is important for your application, then you will need to handle the enumerations as stated above.
Best Regards,
Chris Matthews
National Instruments