Purpose You want to automatically create a wrapper class for an existing activeX control so you can call the methods and set properties from GuiXT. |
Solution
Example:
We then also set the properties of the control to hide the control panel:
Start the command prompt for visual studio and go to a directory in which you want to have the new files created.
Then type "aximp.exe /source 'path to the library'.
With GuiXT we can create new activeX controls and embed them on the screen or we can modify existing ones.
In both cases GuiXT can give us a reference to the object that we can use as a parameter for our library.
In our example we also add two methods so we can set and read properties by name. Event handling You can just add your own code inside the event handlers. For example, we can set a GuiXT variable when the user clicks inside the media player control: VB.NET
GuiXT script GuiXT
InputScript script GuiXT
|
Components InputAssistant + Controls |