]> git.saurik.com Git - wxWidgets.git/blob - docs/latex/wx/activexevt.tex
remove .cvsignore files, they're useless with svn
[wxWidgets.git] / docs / latex / wx / activexevt.tex
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
14 An event class for handling activex events passed from
15 \helpref{wxActiveXContainer}{wxactivexcontainer}. ActiveX events are basically
16 a function call with the parameters passed through an array of wxVariants along
17 with a return value that is a wxVariant itself. What type the parameters or
18 return value are depends on the context (i.e. what the .idl specifies).
19
20 Note 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)}}{
35 Sent when the activex control hosted by \helpref{wxActiveXContainer}{wxactivexcontainer}
36 recieves an activex event.}
37 \end{twocollist}
38
39 \latexignore{\rtfignore{\wxheading{Members}}}
40
41 \membersection{wxActiveXEvent::ParamCount}\label{wxactivexeventparamcount}
42
43 \constfunc{size\_t}{ParamCount}{\void}
44
45 Obtains the number of parameters passed through the activex event.
46
47
48 \membersection{wxActiveXEvent::ParamType}\label{wxactivexeventparamtype}
49
50 \constfunc{wxString}{ParamType}{\param{size\_t }{idx}}
51
52 Obtains the param type of the param number idx specifies as a string.
53
54
55 \membersection{wxActiveXEvent::ParamName}\label{wxactivexeventparamname}
56
57 \constfunc{wxString}{ParamName}{\param{size\_t }{idx}}
58
59 Obtains the param name of the param number idx specifies as a string.
60
61
62 \membersection{wxActiveXEvent::operator[]}\label{wxactivexeventoparray}
63
64 \func{wxVariant&}{operator[]}{\param{size\_t }{idx}}
65
66 Obtains the actual parameter value specified by idx.
67
68
69 \membersection{wxActiveXEvent::GetDispatchId}\label{wxactivexeventgetdispatchid}
70
71 \constfunc{DISPID}{GetDispatchId}{\param{int }{idx}}
72
73 Returns the dispatch id of this activex event. This is the numeric value from
74 the .idl file specified by the id().
75