![]() ![]() ![]() ![]() wxactivexeventan 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
members
wxactivexevent::paramcount
wxactivexevent::paramcountsize_t paramcount() const obtains the number of parameters passed through the activex event.
wxactivexevent::paramtypewxstring paramtype(size_t idx) const obtains the param type of the param number idx specifies as a string.
wxactivexevent::paramnamewxstring paramname(size_t idx) const obtains the param name of the param number idx specifies as a string.
wxactivexevent::operator[]wxvariant operator[](size_t idx) obtains the actual parameter value specified by idx.
wxactivexevent::getdispatchiddispid 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().
|