]> git.saurik.com Git - wxWidgets.git/blame_incremental - docs/latex/wx/activexevt.tex
compilation fix for wxUSE_STL==1 in DoGetSibling()
[wxWidgets.git] / docs / latex / wx / activexevt.tex
... / ...
CommitLineData
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\helpref{wxEvent}{wxevent}\\
26\helpref{wxObject}{wxobject}
27
28\wxheading{Include files}
29
30<wx/msw/ole/activex.h>
31
32\wxheading{Event table macros}
33
34\twocolwidtha{7cm}
35\begin{twocollist}\itemsep=0pt
36\twocolitem{{\bf EVT\_ACTIVEX(func)}}{
37Sent when the activex control hosted by \helpref{wxActiveXContainer}{wxactivexcontainer}
38recieves an activex event.}
39\end{twocollist}
40
41\latexignore{\rtfignore{\wxheading{Members}}}
42
43\membersection{wxActiveXEvent::ParamCount}\label{wxactivexeventparamcount}
44
45\constfunc{size\_t}{ParamCount}{\void}
46
47Obtains the number of parameters passed through the activex event.
48
49
50\membersection{wxActiveXEvent::ParamType}\label{wxactivexeventparamtype}
51
52\constfunc{wxString}{ParamType}{\param{size\_t }{idx}}
53
54Obtains the param type of the param number idx specifies as a string.
55
56
57\membersection{wxActiveXEvent::ParamName}\label{wxactivexeventparamname}
58
59\constfunc{wxString}{ParamName}{\param{size\_t }{idx}}
60
61Obtains the param name of the param number idx specifies as a string.
62
63
64\membersection{wxActiveXEvent::operator[]}\label{wxactivexeventoparray}
65
66\func{wxVariant&}{operator[]}{\param{size\_t }{idx}}
67
68Obtains the actual parameter value specified by idx.
69
70
71\membersection{wxActiveXEvent::GetDispatchId}\label{wxactivexeventgetdispatchid}
72
73\constfunc{DISPID}{GetDispatchId}{\param{int }{idx}}
74
75Returns the dispatch id of this activex event. This is the numeric value from
76the .idl file specified by the id().
77