]> git.saurik.com Git - wxWidgets.git/blame - docs/latex/wx/activexevt.tex
many wxItemContainer-related changes:
[wxWidgets.git] / docs / latex / wx / activexevt.tex
CommitLineData
557002cf
VZ
1%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2%% Name: activexevt.tex
3%% Purpose: wxActiveXEvent docs
4%% Author: Ryan Norton <wxprojects@comcast.net>
5%% Modified by:
6%% Created: 01/30/2005
7%% RCS-ID: $Id$
8%% Copyright: (c) Ryan Norton
9%% License: wxWindows license
10%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
11
12\section{\class{wxActiveXEvent}}\label{wxactivexevent}
13
14An event class for handling activex events passed from
15\helpref{wxActiveXContainer}{wxactivexcontainer}. ActiveX events are basically
16a function call with the parameters passed through an array of wxVariants along
17with a return value that is a wxVariant itself. What type the parameters or
18return value are depends on the context (i.e. what the .idl specifies).
19
20Note that unlike the third party wxActiveX function names are not supported.
21
22\wxheading{Derived from}
23
24\helpref{wxCommandEvent}{wxcommandevent}
25
26\wxheading{Include files}
27
28<wx/msw/ole/activex.h>
29
30\wxheading{Event table macros}
31
32\twocolwidtha{7cm}
33\begin{twocollist}\itemsep=0pt
34\twocolitem{{\bf EVT\_ACTIVEX(func)}}{
35Sent when the activex control hosted by \helpref{wxActiveXContainer}{wxactivexcontainer}
36recieves an activex event.}
37\end{twocollist}
38
39\latexignore{\rtfignore{\wxheading{Members}}}
40
41\membersection{wxActiveXEvent::ParamCount}\label{wxactivexeventparamcount}
42
0902898a 43\constfunc{size\_t}{ParamCount}{\void}
557002cf
VZ
44
45Obtains the number of parameters passed through the activex event.
46
47
48\membersection{wxActiveXEvent::ParamType}\label{wxactivexeventparamtype}
49
0902898a 50\constfunc{wxString}{ParamType}{\param{size\_t }{idx}}
557002cf
VZ
51
52Obtains the param type of the param number idx specifies as a string.
53
54
55\membersection{wxActiveXEvent::ParamName}\label{wxactivexeventparamname}
56
0902898a 57\constfunc{wxString}{ParamName}{\param{size\_t }{idx}}
557002cf
VZ
58
59Obtains the param name of the param number idx specifies as a string.
60
61
62\membersection{wxActiveXEvent::operator[]}\label{wxactivexeventoparray}
63
0902898a 64\func{wxVariant&}{operator[]}{\param{size\_t }{idx}}
557002cf
VZ
65
66Obtains the actual parameter value specified by idx.
67
68
69\membersection{wxActiveXEvent::GetDispatchId}\label{wxactivexeventgetdispatchid}
70
71\constfunc{DISPID}{GetDispatchId}{\param{int }{idx}}
72
73Returns the dispatch id of this activex event. This is the numeric value from
74the .idl file specified by the id().
b67a86d5 75