Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

Adding CW++ tools to Visual C++(cont)

Thanks for the tip Tony. I used the dialog test switch on a dialog with a CW++ control and it previews nicely. When I run the program and hit the button to display that dialog nothing happens. It's as if the button has no function attached to it. If I remove the CW++ control and run the program again the dialog is displayed.

Grant
Grant M. Johnson
Project Engineer
LECO Corporation
0 Kudos
Message 1 of 2
(3,365 Views)
Problem solved. Had to set up ActiveX by including the line:
AfxEnableControlContainer();

in the InitInstance function in the Application class.

Grant
Grant M. Johnson
Project Engineer
LECO Corporation
0 Kudos
Message 2 of 2
(3,365 Views)