Hello David,
Thank you again for your advises. Here are the news:
1) Ccw type is always displayed even when I delete the variable and re-add it after having run Add/Remove Components wizard. Even in new project, the Ccw type appears directly.
2) I opened .vcproj file, and compared it to a dummy project, and everything was OK in the Global section (with CNiButton, CNiGraph...)
3) I removed Measurement Studio and then reinstalled it. I opened a new project, add the components by the right way. Measurement studio classes well appeared in the class tab. But the problem was still there.
4)What I noticed that can give you interesting information: The Measurement Studio tab in the toolbox was empty. (Actually I now remember that I had a m
essage when first opening Visual.net after Measurement Studio re installation : it was something like : Toolbox cannot be removed). To fill it I have to go to Toolbox customization and to choose the activeX I want. In the list of available ActiveX I have : CWButton (which become CWBolean once inserted) control, CWknob, CWGraph, CWGraph3D, CWDataSocket, CWNumEdit, CWSlide. Are these ActiveX the ones I must used? Is there any other? Where can I find them? Do you think the problem can come from this?
5) By explicitly changing the type of the variable in the wizard, it is accepted and the wrapper class name appeared in gray (desactivated). The wrapper class Ccwtype is then not created and I can compile the project. This seems to be a solution to avoid the problem. I hope that I will not have further issues due to this manipulation when programming the control actions. But this is not the real solution to the problem...