The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Wx::ActiveX::Template - ActiveX Control Module Creation Utility

VERSION

Version 0.15

SYNOPSIS

    wxactivex_template
    
    or
    
    perl -MWx::ActiveX::Template -e"run_wxactivex_template();"

DESCRIPTION

Utility to create module code for new ActiveX control interfaces. The module for QuickTime was created using this utility.

Start the GUI using one of the above methods, enter the required module name, ActiveX Control ProgID and a code identifier, and query the interface to produce module code.

The code identifier is used to uniquely name the subroutines.

For example, if your ActiveX control has an event called 'OnRefresh' and you specify 'MYCONTROL' as the code identifier, this would produce template code for:

EVT_ACTIVEX_MYCONTROL_ONREFRESH

If you query an interface that cannot be used within an ActiveX Container, (it is not an ActiveX Control) then this will most likely cause the Perl Interpreter to crash. This is harmless, if annoying.

TODO

Enumerate available ActiveX Controls on the system and present a pick list rather than accepting freeform input.

COPYRIGHT & LICENSE

Copyright (C) 2008 - 2010 Mark Dootson.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.