Add the TcEvtCfgEditor ActiveX into an Dialog
To insert the TcEvtCfgEditor into an dialog based MFC Application simply follow this step by step tutorial.
- Start MSVisual Studio 6.
- Create a new dialog based MFC Application.
- In design mode rightclick on the dialog resource and choose
'Insert ActiveX Control'.
- Select the Beckhoff EvtCfgEditor and place it on your Dialog.
- Open the Class Wizzard and switch to the 'Member Variables' Tab
- Select IDC_EVTCFGEDITOR1 and click on AddVariable
- In the following Dialog choose OK to get an automaticly
generated wrapper class
- In the following Dialog keep all items selected and choose OK.
- Now enter a name for the member variable.
- The ActiveX is ready to use.
Call GetConfiguration to get access to the underlying Configuration Object
Language / IDE |
Source code |
---|---|
Visual Studio 6 C++ |
Sample04.zip (in preparation) |