📄 activexevt.tex
字号:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Name: activexevt.tex%% Purpose: wxActiveXEvent docs%% Author: Ryan Norton <wxprojects@comcast.net>%% Modified by:%% Created: 01/30/2005%% RCS-ID: $Id: activexevt.tex,v 1.4 2006/10/10 17:46:45 JS Exp $%% Copyright: (c) Ryan Norton%% License: wxWindows license%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\section{\class{wxActiveXEvent}}\label{wxactivexevent}An event class for handling activex events passed from\helpref{wxActiveXContainer}{wxactivexcontainer}. ActiveX events are basicallya function call with the parameters passed through an array of wxVariants alongwith a return value that is a wxVariant itself. What type the parameters orreturn value are depends on the context (i.e. what the .idl specifies).Note that unlike the third party wxActiveX function names are not supported.\wxheading{Derived from}\helpref{wxCommandEvent}{wxcommandevent}\wxheading{Include files}<wx/msw/ole/activex.h>\wxheading{Event table macros}\twocolwidtha{7cm}\begin{twocollist}\itemsep=0pt\twocolitem{{\bf EVT\_ACTIVEX(func)}}{Sent when the activex control hosted by \helpref{wxActiveXContainer}{wxactivexcontainer}recieves an activex event.}\end{twocollist}\latexignore{\rtfignore{\wxheading{Members}}}\membersection{wxActiveXEvent::ParamCount}\label{wxactivexeventparamcount}\constfunc{size\_t}{ParamCount}{\void}Obtains the number of parameters passed through the activex event.\membersection{wxActiveXEvent::ParamType}\label{wxactivexeventparamtype}\constfunc{wxString}{ParamType}{\param{size\_t }{idx}}Obtains the param type of the param number idx specifies as a string.\membersection{wxActiveXEvent::ParamName}\label{wxactivexeventparamname}\constfunc{wxString}{ParamName}{\param{size\_t }{idx}}Obtains the param name of the param number idx specifies as a string.\membersection{wxActiveXEvent::operator[]}\label{wxactivexeventoparray}\func{wxVariant&}{operator[]}{\param{size\_t }{idx}}Obtains the actual parameter value specified by idx.\membersection{wxActiveXEvent::GetDispatchId}\label{wxactivexeventgetdispatchid}\constfunc{DISPID}{GetDispatchId}{\param{int }{idx}}Returns the dispatch id of this activex event. This is the numeric value fromthe .idl file specified by the id().
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -