$szTitle = "wxactivexevent"; include "./_header.inc"; ?>
an event class for handling activex events passed from wxactivexcontainer. activex events are basically a function call with the parameters passed through an array of wxvariants along with a return value that is a wxvariant itself. what type the parameters or return value are depends on the context (i.e. what the .idl specifies).
note that unlike the third party wxactivex function names are not supported.
derived from
include files
<wx/msw/ole/activex.h>
event table macros
evt_activex(func) | sent when the activex control hosted by wxactivexcontainer recieves an activex event. |
members
wxactivexevent::paramcount
wxactivexevent::paramtype
wxactivexevent::paramname
wxactivexevent::operator[]
wxactivexevent::getdispatchid
size_t paramcount() const
obtains the number of parameters passed through the activex event.
wxstring paramtype(size_t idx) const
obtains the param type of the param number idx specifies as a string.
wxstring paramname(size_t idx) const
obtains the param name of the param number idx specifies as a string.
wxvariant operator[](size_t idx)
obtains the actual parameter value specified by idx.
dispid getdispatchid(int idx) const
returns the dispatch id of this activex event. this is the numeric value from the .idl file specified by the id().
include "./_footer.inc"; ?>