Lindsay Mathieson's newest wxActiveX class has been wrapped into a new
extension module called wx.activex. Lots of demo and lib updates to go along with it. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
22
wxPython/contrib/activex/wxie/doxydoc/annotated.html
Normal file
22
wxPython/contrib/activex/wxie/doxydoc/annotated.html
Normal file
@@ -0,0 +1,22 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
|
||||
<title>Annotated Index</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc3 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Data Structures</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Data Fields</a> <a class="qindex" href="globals.html">Globals</a> </center>
|
||||
<hr><h1>wxActiveX Data Structures</h1>Here are the data structures with brief descriptions:<table>
|
||||
<tr><td class="indexkey"><a class="el" href="structNS__wxActiveX_1_1less__wxStringI.html">NS_wxActiveX::less_wxStringI</a></td><td class="indexvalue">STL utilty class</td></tr>
|
||||
<tr><td class="indexkey"><a class="el" href="classwxActiveX.html">wxActiveX</a></td><td class="indexvalue">Main class for embedding a ActiveX control</td></tr>
|
||||
<tr><td class="indexkey"><a class="el" href="classwxActiveX_1_1FuncX.html">wxActiveX::FuncX</a></td><td class="indexvalue">Type & Parameter info for Events and Methods</td></tr>
|
||||
<tr><td class="indexkey"><a class="el" href="classwxActiveX_1_1ParamX.html">wxActiveX::ParamX</a></td><td class="indexvalue">General parameter and return type infoformation for Events, Properties and Methods</td></tr>
|
||||
<tr><td class="indexkey"><a class="el" href="classwxActiveX_1_1PropX.html">wxActiveX::PropX</a></td><td class="indexvalue">Type info for properties</td></tr>
|
||||
<tr><td class="indexkey"><a class="el" href="classwxAutoOleInterface.html">wxAutoOleInterface< I ></a></td><td class="indexvalue">Template class for smart interface handling</td></tr>
|
||||
</table>
|
||||
<hr><address style="align: right;"><small>Generated on Tue Apr 1 14:51:12 2003 for wxActiveX by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border=0
|
||||
width=110 height=53></a>1.3-rc3 </small></address>
|
||||
</body>
|
||||
</html>
|
17
wxPython/contrib/activex/wxie/doxydoc/classes.html
Normal file
17
wxPython/contrib/activex/wxie/doxydoc/classes.html
Normal file
@@ -0,0 +1,17 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
|
||||
<title>Alphabetical index</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc3 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Data Structures</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Data Fields</a> <a class="qindex" href="globals.html">Globals</a> </center>
|
||||
<hr><h1>wxActiveX Data Structure Index</h1><table align=center width="95%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> L </div></td></tr></table>
|
||||
</td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> W </div></td></tr></table>
|
||||
</td><td><a class="el" href="classwxActiveX_1_1FuncX.html">wxActiveX::FuncX</a> </td><td><a class="el" href="classwxActiveX_1_1PropX.html">wxActiveX::PropX</a> </td></tr><tr><td><a class="el" href="structNS__wxActiveX_1_1less__wxStringI.html">less_wxStringI</a> (<a class="el" href="namespaceNS__wxActiveX.html">NS_wxActiveX</a>) </td><td><a class="el" href="classwxActiveX.html">wxActiveX</a> </td><td><a class="el" href="classwxActiveX_1_1ParamX.html">wxActiveX::ParamX</a> </td><td><a class="el" href="classwxAutoOleInterface.html">wxAutoOleInterface</a> </td></tr></table><hr><address style="align: right;"><small>Generated on Tue Apr 1 14:51:12 2003 for wxActiveX by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border=0
|
||||
width=110 height=53></a>1.3-rc3 </small></address>
|
||||
</body>
|
||||
</html>
|
474
wxPython/contrib/activex/wxie/doxydoc/classwxActiveX.html
Normal file
474
wxPython/contrib/activex/wxie/doxydoc/classwxActiveX.html
Normal file
@@ -0,0 +1,474 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
|
||||
<title>wxActiveX class Reference</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc3 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Data Structures</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Data Fields</a> <a class="qindex" href="globals.html">Globals</a> </center>
|
||||
<hr><h1>wxActiveX Class Reference</h1><code>#include <<a class="el" href="wxactivex_8h-source.html">wxactivex.h</a>></code>
|
||||
<p>
|
||||
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
||||
Main class for embedding a ActiveX control.
|
||||
<p>
|
||||
Use by itself or derive from it <dl compact><dt><b>Note:</b></dt><dd>The utility program (wxie) can generate a list of events, methods & properties for a control. First display the control (File|Display), then get the type info (ActiveX|Get Type Info) - these are copied to the clipboard. Eventually this will be expanded to autogenerate wxWindows source files for a control with all methods etc encapsulated. </dd></dl>
|
||||
<dl compact><dt><b>Usage: </b></dt><dd>construct using a ProgId or class id <div class="fragment"><pre> <span class="keyword">new</span> <a class="code" href="classwxActiveX.html#a0">wxActiveX</a>(parent, CLSID_WebBrowser, id, pos, size, style, name)
|
||||
</pre></div><div class="fragment"><pre> <span class="keyword">new</span> <a class="code" href="classwxActiveX.html#a0">wxActiveX</a>(parent, <span class="stringliteral">"ShockwaveFlash.ShockwaveFlash"</span>, id, pos, size, style, name)
|
||||
</pre></div></dd></dl>
|
||||
<dl compact><dt><b>Properties</b></dt><dd>Properties can be set using <code><a class="el" href="classwxActiveX.html#a11">SetProp()</a></code> and set/retrieved using <code><a class="el" href="classwxActiveX.html#a13">Prop()</a></code> <div class="fragment"><pre> <a class="code" href="classwxActiveX.html#a11">SetProp</a>(name, wxVariant(x))
|
||||
</pre></div>or <div class="fragment"><pre> wxString <a class="code" href="classwxActiveX.html#a13">Prop</a>(<span class="stringliteral">"<name>"</span>) = x
|
||||
</pre></div><div class="fragment"><pre> wxString result = <a class="code" href="classwxActiveX.html#a13">Prop</a>(<span class="stringliteral">"<name>"</span>)
|
||||
</pre></div><div class="fragment"><pre> flash_ctl.Prop(<span class="stringliteral">"movie"</span>) = <span class="stringliteral">"file:///movies/test.swf"</span>;
|
||||
</pre></div><div class="fragment"><pre> flash_ctl.Prop(<span class="stringliteral">"Playing"</span>) = <span class="keyword">false</span>;
|
||||
</pre></div><div class="fragment"><pre> wxString current_movie = flash_ctl.Prop(<span class="stringliteral">"movie"</span>);
|
||||
</pre></div></dd></dl>
|
||||
<dl compact><dt><b>Methods</b></dt><dd>Methods are invoked with <code><a class="el" href="classwxActiveX.html#a26">CallMethod()</a></code> <div class="fragment"><pre> wxVariant result = <a class="code" href="classwxActiveX.html#a26">CallMethod</a>(<span class="stringliteral">"<name>"</span>, args, nargs = -1)
|
||||
</pre></div><div class="fragment"><pre> wxVariant args[] = {0L, <span class="stringliteral">"file:///e:/dev/wxie/bug-zap.swf"</span>};
|
||||
wxVariant result = X->CallMethod(<span class="stringliteral">"LoadMovie"</span>, args);
|
||||
</pre></div></dd></dl>
|
||||
<dl compact><dt><b>events</b></dt><dd>respond to events with the <code><a class="el" href="wxactivex_8h.html#a10">EVT_ACTIVEX(controlId, eventName, handler)</a></code> & <code><a class="el" href="wxactivex_8h.html#a11">EVT_ACTIVEX_DISPID(controlId, eventDispId, handler)</a></code> macros <div class="fragment"><pre>
|
||||
BEGIN_EVENT_TABLE(wxIEFrame, wxFrame)
|
||||
<a class="code" href="wxactivex_8h.html#a11">EVT_ACTIVEX_DISPID</a>(ID_MSHTML, DISPID_STATUSTEXTCHANGE, OnMSHTMLStatusTextChangeX)
|
||||
<a class="code" href="wxactivex_8h.html#a10">EVT_ACTIVEX</a>(ID_MSHTML, <span class="stringliteral">"BeforeNavigate2"</span>, OnMSHTMLBeforeNavigate2X)
|
||||
<a class="code" href="wxactivex_8h.html#a10">EVT_ACTIVEX</a>(ID_MSHTML, <span class="stringliteral">"TitleChange"</span>, OnMSHTMLTitleChangeX)
|
||||
<a class="code" href="wxactivex_8h.html#a10">EVT_ACTIVEX</a>(ID_MSHTML, <span class="stringliteral">"NewWindow2"</span>, OnMSHTMLNewWindow2X)
|
||||
<a class="code" href="wxactivex_8h.html#a10">EVT_ACTIVEX</a>(ID_MSHTML, <span class="stringliteral">"ProgressChange"</span>, OnMSHTMLProgressChangeX)
|
||||
END_EVENT_TABLE()
|
||||
</pre></div></dd></dl>
|
||||
|
||||
<p>
|
||||
|
||||
<p>
|
||||
Definition at line <a class="el" href="wxactivex_8h-source.html#l00329">329</a> of file <a class="el" href="wxactivex_8h-source.html">wxactivex.h</a>.<table border=0 cellpadding=0 cellspacing=0>
|
||||
<tr><td></td></tr>
|
||||
<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a0" doxytag="wxActiveX::wxActiveX"></a>
|
||||
</td><td valign=bottom><a class="el" href="classwxActiveX.html#a0">wxActiveX</a> (wxWindow *parent, REFCLSID clsid, wxWindowID id=-1, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=0, const wxString &name=wxPanelNameStr)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Create using clsid.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a1" doxytag="wxActiveX::wxActiveX"></a>
|
||||
</td><td valign=bottom><a class="el" href="classwxActiveX.html#a1">wxActiveX</a> (wxWindow *parent, wxString progId, wxWindowID id=-1, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=0, const wxString &name=wxPanelNameStr)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>create using progid.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a3" doxytag="wxActiveX::GetEventCount"></a>
|
||||
int </td><td valign=bottom><a class="el" href="classwxActiveX.html#a3">GetEventCount</a> () const</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Number of events defined for this control.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top>const <a class="el" href="classwxActiveX_1_1FuncX.html">FuncX</a> & </td><td valign=bottom><a class="el" href="classwxActiveX.html#a4">GetEventDesc</a> (int idx) const</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>returns event description by index.</em> <a href="#a4"></a><em></em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a5" doxytag="wxActiveX::GetPropCount"></a>
|
||||
int </td><td valign=bottom><a class="el" href="classwxActiveX.html#a5">GetPropCount</a> () const</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Number of properties defined for this control.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top>const <a class="el" href="classwxActiveX_1_1PropX.html">PropX</a> & </td><td valign=bottom><a class="el" href="classwxActiveX.html#a6">GetPropDesc</a> (int idx) const</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>returns property description by index.</em> <a href="#a6"></a><em></em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top>const <a class="el" href="classwxActiveX_1_1PropX.html">PropX</a> & </td><td valign=bottom><a class="el" href="classwxActiveX.html#a7">GetPropDesc</a> (wxString name) const</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>returns property description by name.</em> <a href="#a7"></a><em></em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a8" doxytag="wxActiveX::GetMethodCount"></a>
|
||||
int </td><td valign=bottom><a class="el" href="classwxActiveX.html#a8">GetMethodCount</a> () const</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Number of methods defined for this control.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top>const <a class="el" href="classwxActiveX_1_1FuncX.html">FuncX</a> & </td><td valign=bottom><a class="el" href="classwxActiveX.html#a9">GetMethodDesc</a> (int idx) const</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>returns method description by name.</em> <a href="#a9"></a><em></em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top>const <a class="el" href="classwxActiveX_1_1FuncX.html">FuncX</a> & </td><td valign=bottom><a class="el" href="classwxActiveX.html#a10">GetMethodDesc</a> (wxString name) const</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>returns method description by name.</em> <a href="#a10"></a><em></em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a11" doxytag="wxActiveX::SetProp"></a>
|
||||
void </td><td valign=bottom><a class="el" href="classwxActiveX.html#a11">SetProp</a> (MEMBERID name, VARIANTARG &value)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Set property VARIANTARG value by MEMBERID.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a12" doxytag="wxActiveX::SetProp"></a>
|
||||
void </td><td valign=bottom><a class="el" href="classwxActiveX.html#a12">SetProp</a> (const wxString &name, const wxVariant &value)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Set property using wxVariant by name.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top>wxPropertySetter </td><td valign=bottom><a class="el" href="classwxActiveX.html#a13">Prop</a> (wxString name)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Generic Get/Set Property by name. Automatically handles most types.</em> <a href="#a13"></a><em></em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top>wxVariant </td><td valign=bottom><a class="el" href="classwxActiveX.html#a26">CallMethod</a> (wxString name, wxVariant args[], int nargs=-1)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Call a method of the ActiveX control. Automatically handles most types.</em> <a href="#a26"></a><em></em></font><br><br></td></tr>
|
||||
<tr><td colspan=2><br><h2>Related Functions</h2></td></tr>
|
||||
<tr><td colspan=2>(Note that these are not member functions.)<br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classwxActiveX.html#k0">MSWVariantToVariant</a> (VARIANTARG &va, wxVariant &vx)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Convert MSW VARIANTARG to wxVariant. Handles basic types, need to add:<ul>
|
||||
<li>VT_ARRAY | VT_*</li><li>better support for VT_UNKNOWN (currently treated as void *)</li><li>better support for VT_DISPATCH (currently treated as void *).</li></ul>
|
||||
</em> <a href="#k0"></a><em></em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classwxActiveX.html#k1">VariantToMSWVariant</a> (const wxVariant &vx, VARIANTARG &va)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Convert wxVariant to MSW VARIANTARG. Handles basic types, need to add:<ul>
|
||||
<li>VT_ARRAY | VT_*</li><li>better support for VT_UNKNOWN (currently treated as void *)</li><li>better support for VT_DISPATCH (currently treated as void *).</li></ul>
|
||||
</em> <a href="#k1"></a><em></em></font><br><br></td></tr>
|
||||
</table>
|
||||
<hr><h2>Member Function Documentation</h2>
|
||||
<a name="a4" doxytag="wxActiveX::GetEventDesc"></a><p>
|
||||
<table width="100%" cellpadding="2" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td class="md">
|
||||
<table cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td class="md" nowrap valign="top"> const <a class="el" href="classwxActiveX_1_1FuncX.html">FuncX</a>& wxActiveX::GetEventDesc </td>
|
||||
<td class="md" valign="top">( </td>
|
||||
<td class="md" nowrap valign="top">int </td>
|
||||
<td class="mdname1" valign="top" nowrap> <em>idx</em> </td>
|
||||
<td class="md" valign="top">) </td>
|
||||
<td class="md" nowrap> const</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table cellspacing=5 cellpadding=0 border=0>
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
<p>
|
||||
returns event description by index.
|
||||
<p>
|
||||
throws exception for invalid index </td>
|
||||
</tr>
|
||||
</table>
|
||||
<a name="a6" doxytag="wxActiveX::GetPropDesc"></a><p>
|
||||
<table width="100%" cellpadding="2" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td class="md">
|
||||
<table cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td class="md" nowrap valign="top"> const <a class="el" href="classwxActiveX_1_1PropX.html">PropX</a>& wxActiveX::GetPropDesc </td>
|
||||
<td class="md" valign="top">( </td>
|
||||
<td class="md" nowrap valign="top">int </td>
|
||||
<td class="mdname1" valign="top" nowrap> <em>idx</em> </td>
|
||||
<td class="md" valign="top">) </td>
|
||||
<td class="md" nowrap> const</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table cellspacing=5 cellpadding=0 border=0>
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
<p>
|
||||
returns property description by index.
|
||||
<p>
|
||||
throws exception for invalid index </td>
|
||||
</tr>
|
||||
</table>
|
||||
<a name="a7" doxytag="wxActiveX::GetPropDesc"></a><p>
|
||||
<table width="100%" cellpadding="2" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td class="md">
|
||||
<table cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td class="md" nowrap valign="top"> const <a class="el" href="classwxActiveX_1_1PropX.html">PropX</a>& wxActiveX::GetPropDesc </td>
|
||||
<td class="md" valign="top">( </td>
|
||||
<td class="md" nowrap valign="top">wxString </td>
|
||||
<td class="mdname1" valign="top" nowrap> <em>name</em> </td>
|
||||
<td class="md" valign="top">) </td>
|
||||
<td class="md" nowrap> const</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table cellspacing=5 cellpadding=0 border=0>
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
<p>
|
||||
returns property description by name.
|
||||
<p>
|
||||
throws exception for invalid name </td>
|
||||
</tr>
|
||||
</table>
|
||||
<a name="a9" doxytag="wxActiveX::GetMethodDesc"></a><p>
|
||||
<table width="100%" cellpadding="2" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td class="md">
|
||||
<table cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td class="md" nowrap valign="top"> const <a class="el" href="classwxActiveX_1_1FuncX.html">FuncX</a>& wxActiveX::GetMethodDesc </td>
|
||||
<td class="md" valign="top">( </td>
|
||||
<td class="md" nowrap valign="top">int </td>
|
||||
<td class="mdname1" valign="top" nowrap> <em>idx</em> </td>
|
||||
<td class="md" valign="top">) </td>
|
||||
<td class="md" nowrap> const</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table cellspacing=5 cellpadding=0 border=0>
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
<p>
|
||||
returns method description by name.
|
||||
<p>
|
||||
throws exception for invalid index </td>
|
||||
</tr>
|
||||
</table>
|
||||
<a name="a10" doxytag="wxActiveX::GetMethodDesc"></a><p>
|
||||
<table width="100%" cellpadding="2" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td class="md">
|
||||
<table cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td class="md" nowrap valign="top"> const <a class="el" href="classwxActiveX_1_1FuncX.html">FuncX</a>& wxActiveX::GetMethodDesc </td>
|
||||
<td class="md" valign="top">( </td>
|
||||
<td class="md" nowrap valign="top">wxString </td>
|
||||
<td class="mdname1" valign="top" nowrap> <em>name</em> </td>
|
||||
<td class="md" valign="top">) </td>
|
||||
<td class="md" nowrap> const</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table cellspacing=5 cellpadding=0 border=0>
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
<p>
|
||||
returns method description by name.
|
||||
<p>
|
||||
throws exception for invalid name </td>
|
||||
</tr>
|
||||
</table>
|
||||
<a name="a13" doxytag="wxActiveX::Prop"></a><p>
|
||||
<table width="100%" cellpadding="2" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td class="md">
|
||||
<table cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td class="md" nowrap valign="top"> wxPropertySetter wxActiveX::Prop </td>
|
||||
<td class="md" valign="top">( </td>
|
||||
<td class="md" nowrap valign="top">wxString </td>
|
||||
<td class="mdname1" valign="top" nowrap> <em>name</em> </td>
|
||||
<td class="md" valign="top">) </td>
|
||||
<td class="md" nowrap><code> [inline]</code></td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table cellspacing=5 cellpadding=0 border=0>
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
<p>
|
||||
Generic Get/Set Property by name. Automatically handles most types.
|
||||
<p>
|
||||
<dl compact><dt><b>Parameters:</b></dt><dd>
|
||||
<table border="0" cellspacing="2" cellpadding="0">
|
||||
<tr><td valign=top><em>name</em> </td><td>Property name to read/set </td></tr>
|
||||
</table>
|
||||
</dl>
|
||||
<dl compact><dt><b>Returns:</b></dt><dd>wxPropertySetter, which has overloads for setting/getting the property </dd></dl>
|
||||
<p>
|
||||
<dl compact><dt><b>Usage:</b></dt><dd><ul>
|
||||
<li>Prop("<name>") = <value></li><li>var = Prop("<name>")</li><li>e.g:<ul>
|
||||
<li><div class="fragment"><pre> flash_ctl.Prop(<span class="stringliteral">"movie"</span>) = <span class="stringliteral">"file:///movies/test.swf"</span>;
|
||||
</pre></div></li><li><div class="fragment"><pre> flash_ctl.Prop(<span class="stringliteral">"Playing"</span>) = <span class="keyword">false</span>;
|
||||
</pre></div></li><li><div class="fragment"><pre> wxString current_movie = flash_ctl.Prop(<span class="stringliteral">"movie"</span>);
|
||||
</pre></div></li></ul>
|
||||
</li></ul>
|
||||
</dd></dl>
|
||||
<dl compact><dt><b>Exceptions:</b></dt><dd>
|
||||
<table border="0" cellspacing="2" cellpadding="0">
|
||||
<tr><td valign=top><em>raises</em> </td><td>exception if <name> is invalid </td></tr>
|
||||
</table>
|
||||
</dl>
|
||||
<dl compact><dt><b>Note:</b></dt><dd>Have to add a few more type conversions yet ... </dd></dl>
|
||||
|
||||
<p>
|
||||
Definition at line <a class="el" href="wxactivex_8h-source.html#l00458">458</a> of file <a class="el" href="wxactivex_8h-source.html">wxactivex.h</a>. </td>
|
||||
</tr>
|
||||
</table>
|
||||
<a name="a26" doxytag="wxActiveX::CallMethod"></a><p>
|
||||
<table width="100%" cellpadding="2" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td class="md">
|
||||
<table cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td class="md" nowrap valign="top"> wxVariant wxActiveX::CallMethod </td>
|
||||
<td class="md" valign="top">( </td>
|
||||
<td class="md" nowrap valign="top">wxString </td>
|
||||
<td class="mdname" nowrap> <em>name</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td class="md" nowrap>wxVariant </td>
|
||||
<td class="mdname" nowrap> <em>args</em>[], </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td class="md" nowrap>int </td>
|
||||
<td class="mdname" nowrap> <em>nargs</em> = -1</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td class="md">) </td>
|
||||
<td class="md" colspan="2"></td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table cellspacing=5 cellpadding=0 border=0>
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
<p>
|
||||
Call a method of the ActiveX control. Automatically handles most types.
|
||||
<p>
|
||||
<dl compact><dt><b>Parameters:</b></dt><dd>
|
||||
<table border="0" cellspacing="2" cellpadding="0">
|
||||
<tr><td valign=top><em>name</em> </td><td>name of method to call </td></tr>
|
||||
<tr><td valign=top><em>args</em> </td><td>array of wxVariant's, defaults to NULL (no args) </td></tr>
|
||||
<tr><td valign=top><em>nargs</em> </td><td>number of arguments passed via args. Defaults to actual number of args for the method </td></tr>
|
||||
</table>
|
||||
</dl>
|
||||
<dl compact><dt><b>Returns:</b></dt><dd>wxVariant </dd></dl>
|
||||
<p>
|
||||
<dl compact><dt><b>Usage:</b></dt><dd><ul>
|
||||
<li>result = CallMethod("<name>", args, nargs)</li><li>e.g.</li><li><div class="fragment"><pre>
|
||||
wxVariant args[] = {0L, <span class="stringliteral">"file:///e:/dev/wxie/bug-zap.swf"</span>};
|
||||
wxVariant result = X->CallMethod(<span class="stringliteral">"LoadMovie"</span>, args);
|
||||
</pre></div></li></ul>
|
||||
</dd></dl>
|
||||
<dl compact><dt><b>Exceptions:</b></dt><dd>
|
||||
<table border="0" cellspacing="2" cellpadding="0">
|
||||
<tr><td valign=top><em>raises</em> </td><td>exception if <name> is invalid </td></tr>
|
||||
</table>
|
||||
</dl>
|
||||
<dl compact><dt><b>Note:</b></dt><dd>Since wxVariant has built in type conversion, most the std types can be passed easily </dd></dl>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<hr><h2>Friends And Related Function Documentation</h2>
|
||||
<a name="k0" doxytag="wxActiveX::MSWVariantToVariant"></a><p>
|
||||
<table width="100%" cellpadding="2" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td class="md">
|
||||
<table cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td class="md" nowrap valign="top"> bool MSWVariantToVariant </td>
|
||||
<td class="md" valign="top">( </td>
|
||||
<td class="md" nowrap valign="top">VARIANTARG & </td>
|
||||
<td class="mdname" nowrap> <em>va</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td class="md" nowrap>wxVariant & </td>
|
||||
<td class="mdname" nowrap> <em>vx</em></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td class="md">) </td>
|
||||
<td class="md" colspan="2"><code> [related]</code></td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table cellspacing=5 cellpadding=0 border=0>
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
<p>
|
||||
Convert MSW VARIANTARG to wxVariant. Handles basic types, need to add:<ul>
|
||||
<li>VT_ARRAY | VT_*</li><li>better support for VT_UNKNOWN (currently treated as void *)</li><li>better support for VT_DISPATCH (currently treated as void *).</li></ul>
|
||||
|
||||
<p>
|
||||
<dl compact><dt><b>Parameters:</b></dt><dd>
|
||||
<table border="0" cellspacing="2" cellpadding="0">
|
||||
<tr><td valign=top><em>va</em> </td><td>VARAIANTARG to convert from </td></tr>
|
||||
<tr><td valign=top><em>vx</em> </td><td>Destination wxVariant </td></tr>
|
||||
</table>
|
||||
</dl>
|
||||
<dl compact><dt><b>Returns:</b></dt><dd>success/failure (true/false) </dd></dl>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<a name="k1" doxytag="wxActiveX::VariantToMSWVariant"></a><p>
|
||||
<table width="100%" cellpadding="2" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td class="md">
|
||||
<table cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td class="md" nowrap valign="top"> bool VariantToMSWVariant </td>
|
||||
<td class="md" valign="top">( </td>
|
||||
<td class="md" nowrap valign="top">const wxVariant & </td>
|
||||
<td class="mdname" nowrap> <em>vx</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td class="md" nowrap>VARIANTARG & </td>
|
||||
<td class="mdname" nowrap> <em>va</em></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td class="md">) </td>
|
||||
<td class="md" colspan="2"><code> [related]</code></td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table cellspacing=5 cellpadding=0 border=0>
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
<p>
|
||||
Convert wxVariant to MSW VARIANTARG. Handles basic types, need to add:<ul>
|
||||
<li>VT_ARRAY | VT_*</li><li>better support for VT_UNKNOWN (currently treated as void *)</li><li>better support for VT_DISPATCH (currently treated as void *).</li></ul>
|
||||
|
||||
<p>
|
||||
<dl compact><dt><b>Parameters:</b></dt><dd>
|
||||
<table border="0" cellspacing="2" cellpadding="0">
|
||||
<tr><td valign=top><em>vx</em> </td><td>wxVariant to convert from </td></tr>
|
||||
<tr><td valign=top><em>va</em> </td><td>Destination VARIANTARG </td></tr>
|
||||
</table>
|
||||
</dl>
|
||||
<dl compact><dt><b>Returns:</b></dt><dd>success/failure (true/false) </dd></dl>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<hr>The documentation for this class was generated from the following file:<ul>
|
||||
<li><a class="el" href="wxactivex_8h-source.html">wxactivex.h</a></ul>
|
||||
<hr><address style="align: right;"><small>Generated on Tue Apr 1 14:51:12 2003 for wxActiveX by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border=0
|
||||
width=110 height=53></a>1.3-rc3 </small></address>
|
||||
</body>
|
||||
</html>
|
@@ -0,0 +1,28 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
|
||||
<title>wxActiveX::FuncX class Reference</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc3 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Data Structures</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Data Fields</a> <a class="qindex" href="globals.html">Globals</a> </center>
|
||||
<hr><h1>wxActiveX::FuncX Class Reference</h1><code>#include <<a class="el" href="wxactivex_8h-source.html">wxactivex.h</a>></code>
|
||||
<p>
|
||||
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
||||
Type & Parameter info for Events and Methods.
|
||||
<p>
|
||||
refer to FUNCDESC in MSDN
|
||||
<p>
|
||||
|
||||
<p>
|
||||
Definition at line <a class="el" href="wxactivex_8h-source.html#l00350">350</a> of file <a class="el" href="wxactivex_8h-source.html">wxactivex.h</a>.<table border=0 cellpadding=0 cellspacing=0>
|
||||
<tr><td></td></tr>
|
||||
</table>
|
||||
<hr>The documentation for this class was generated from the following file:<ul>
|
||||
<li><a class="el" href="wxactivex_8h-source.html">wxactivex.h</a></ul>
|
||||
<hr><address style="align: right;"><small>Generated on Tue Apr 1 14:51:12 2003 for wxActiveX by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border=0
|
||||
width=110 height=53></a>1.3-rc3 </small></address>
|
||||
</body>
|
||||
</html>
|
@@ -0,0 +1,28 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
|
||||
<title>wxActiveX::ParamX class Reference</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc3 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Data Structures</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Data Fields</a> <a class="qindex" href="globals.html">Globals</a> </center>
|
||||
<hr><h1>wxActiveX::ParamX Class Reference</h1><code>#include <<a class="el" href="wxactivex_8h-source.html">wxactivex.h</a>></code>
|
||||
<p>
|
||||
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
||||
General parameter and return type infoformation for Events, Properties and Methods.
|
||||
<p>
|
||||
refer to ELEMDESC, IDLDESC in MSDN
|
||||
<p>
|
||||
|
||||
<p>
|
||||
Definition at line <a class="el" href="wxactivex_8h-source.html#l00333">333</a> of file <a class="el" href="wxactivex_8h-source.html">wxactivex.h</a>.<table border=0 cellpadding=0 cellspacing=0>
|
||||
<tr><td></td></tr>
|
||||
</table>
|
||||
<hr>The documentation for this class was generated from the following file:<ul>
|
||||
<li><a class="el" href="wxactivex_8h-source.html">wxactivex.h</a></ul>
|
||||
<hr><address style="align: right;"><small>Generated on Tue Apr 1 14:51:12 2003 for wxActiveX by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border=0
|
||||
width=110 height=53></a>1.3-rc3 </small></address>
|
||||
</body>
|
||||
</html>
|
@@ -0,0 +1,26 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
|
||||
<title>wxActiveX::PropX class Reference</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc3 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Data Structures</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Data Fields</a> <a class="qindex" href="globals.html">Globals</a> </center>
|
||||
<hr><h1>wxActiveX::PropX Class Reference</h1><code>#include <<a class="el" href="wxactivex_8h-source.html">wxactivex.h</a>></code>
|
||||
<p>
|
||||
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
||||
Type info for properties.
|
||||
<p>
|
||||
|
||||
<p>
|
||||
Definition at line <a class="el" href="wxactivex_8h-source.html#l00362">362</a> of file <a class="el" href="wxactivex_8h-source.html">wxactivex.h</a>.<table border=0 cellpadding=0 cellspacing=0>
|
||||
<tr><td></td></tr>
|
||||
</table>
|
||||
<hr>The documentation for this class was generated from the following file:<ul>
|
||||
<li><a class="el" href="wxactivex_8h-source.html">wxactivex.h</a></ul>
|
||||
<hr><address style="align: right;"><small>Generated on Tue Apr 1 14:51:12 2003 for wxActiveX by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border=0
|
||||
width=110 height=53></a>1.3-rc3 </small></address>
|
||||
</body>
|
||||
</html>
|
@@ -0,0 +1,79 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
|
||||
<title> TemplatewxAutoOleInterface< I > class Reference</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc3 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Data Structures</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Data Fields</a> <a class="qindex" href="globals.html">Globals</a> </center>
|
||||
<hr><h1>wxAutoOleInterface< I > Class Template Reference</h1><code>#include <<a class="el" href="wxactivex_8h-source.html">wxactivex.h</a>></code>
|
||||
<p>
|
||||
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
||||
<h3>template<class I><br>
|
||||
class wxAutoOleInterface< I ></h3>
|
||||
|
||||
Template class for smart interface handling.
|
||||
<p>
|
||||
<ul>
|
||||
<li>Automatically dereferences ole interfaces</li><li>Smart Copy Semantics</li><li>Can Create Interfaces</li><li>Can query for other interfaces </li></ul>
|
||||
|
||||
<p>
|
||||
|
||||
<p>
|
||||
Definition at line <a class="el" href="wxactivex_8h-source.html#l00045">45</a> of file <a class="el" href="wxactivex_8h-source.html">wxactivex.h</a>.<table border=0 cellpadding=0 cellspacing=0>
|
||||
<tr><td></td></tr>
|
||||
<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a0" doxytag="wxAutoOleInterface::wxAutoOleInterface"></a>
|
||||
</td><td valign=bottom><a class="el" href="classwxAutoOleInterface.html#a0">wxAutoOleInterface</a> (I *pInterface=NULL)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>takes ownership of an existing interface Assumed to already have a AddRef() applied</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a1" doxytag="wxAutoOleInterface::wxAutoOleInterface"></a>
|
||||
</td><td valign=bottom><a class="el" href="classwxAutoOleInterface.html#a1">wxAutoOleInterface</a> (REFIID riid, IUnknown *pUnk)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>queries for an interface</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a2" doxytag="wxAutoOleInterface::wxAutoOleInterface"></a>
|
||||
</td><td valign=bottom><a class="el" href="classwxAutoOleInterface.html#a2">wxAutoOleInterface</a> (REFIID riid, IDispatch *pDispatch)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>queries for an interface</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a3" doxytag="wxAutoOleInterface::wxAutoOleInterface"></a>
|
||||
</td><td valign=bottom><a class="el" href="classwxAutoOleInterface.html#a3">wxAutoOleInterface</a> (REFCLSID clsid, REFIID riid)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Creates an Interface.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a4" doxytag="wxAutoOleInterface::wxAutoOleInterface"></a>
|
||||
</td><td valign=bottom><a class="el" href="classwxAutoOleInterface.html#a4">wxAutoOleInterface</a> (const wxAutoOleInterface< I > &ti)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>copy constructor</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a5" doxytag="wxAutoOleInterface::operator="></a>
|
||||
wxAutoOleInterface< I > & </td><td valign=bottom><a class="el" href="classwxAutoOleInterface.html#a5">operator=</a> (const wxAutoOleInterface< I > &ti)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>assignment operator</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a6" doxytag="wxAutoOleInterface::operator="></a>
|
||||
wxAutoOleInterface< I > & </td><td valign=bottom><a class="el" href="classwxAutoOleInterface.html#a6">operator=</a> (I *&ti)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>takes ownership of an existing interface Assumed to already have a AddRef() applied</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a7" doxytag="wxAutoOleInterface::~wxAutoOleInterface"></a>
|
||||
</td><td valign=bottom><a class="el" href="classwxAutoOleInterface.html#a7">~wxAutoOleInterface</a> ()</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>invokes <a class="el" href="classwxAutoOleInterface.html#a8">Free()</a></em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a8" doxytag="wxAutoOleInterface::Free"></a>
|
||||
void </td><td valign=bottom><a class="el" href="classwxAutoOleInterface.html#a8">Free</a> ()</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Releases interface (i.e decrements refCount).</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a9" doxytag="wxAutoOleInterface::QueryInterface"></a>
|
||||
HRESULT </td><td valign=bottom><a class="el" href="classwxAutoOleInterface.html#a9">QueryInterface</a> (REFIID riid, IUnknown *pUnk)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>queries for an interface</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a10" doxytag="wxAutoOleInterface::CreateInstance"></a>
|
||||
HRESULT </td><td valign=bottom><a class="el" href="classwxAutoOleInterface.html#a10">CreateInstance</a> (REFCLSID clsid, REFIID riid)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Create a Interface instance.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a11" doxytag="wxAutoOleInterface::operator I *"></a>
|
||||
</td><td valign=bottom><a class="el" href="classwxAutoOleInterface.html#a11">operator I *</a> () const</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>returns the interface pointer</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a12" doxytag="wxAutoOleInterface::operator->"></a>
|
||||
I * </td><td valign=bottom><a class="el" href="classwxAutoOleInterface.html#a12">operator-></a> ()</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>returns the dereferenced interface pointer</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a13" doxytag="wxAutoOleInterface::GetRef"></a>
|
||||
I ** </td><td valign=bottom><a class="el" href="classwxAutoOleInterface.html#a13">GetRef</a> ()</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>returns a pointer to the interface pointer</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a14" doxytag="wxAutoOleInterface::Ok"></a>
|
||||
bool </td><td valign=bottom><a class="el" href="classwxAutoOleInterface.html#a14">Ok</a> () const</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>returns true if we have a valid interface pointer</em></font><br><br></td></tr>
|
||||
</table>
|
||||
<hr>The documentation for this class was generated from the following file:<ul>
|
||||
<li><a class="el" href="wxactivex_8h-source.html">wxactivex.h</a></ul>
|
||||
<hr><address style="align: right;"><small>Generated on Tue Apr 1 14:51:12 2003 for wxActiveX by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border=0
|
||||
width=110 height=53></a>1.3-rc3 </small></address>
|
||||
</body>
|
||||
</html>
|
49
wxPython/contrib/activex/wxie/doxydoc/doxygen.css
Normal file
49
wxPython/contrib/activex/wxie/doxydoc/doxygen.css
Normal file
@@ -0,0 +1,49 @@
|
||||
H1 { text-align: center; }
|
||||
CAPTION { font-weight: bold }
|
||||
A.qindex {}
|
||||
A.qindexRef {}
|
||||
A.el { text-decoration: none; font-weight: bold }
|
||||
A.elRef { font-weight: bold }
|
||||
A.code { text-decoration: none; font-weight: normal; color: #4444ee }
|
||||
A.codeRef { font-weight: normal; color: #4444ee }
|
||||
A:hover { text-decoration: none; background-color: #f2f2ff }
|
||||
DL.el { margin-left: -1cm }
|
||||
DIV.fragment { width: 100%; border: none; background-color: #eeeeee }
|
||||
DIV.ah { background-color: black; font-weight: bold; color: #ffffff; margin-bottom: 3px; margin-top: 3px }
|
||||
TD.md { background-color: #f2f2ff; font-weight: bold; }
|
||||
TD.mdname1 { background-color: #f2f2ff; font-weight: bold; color: #602020; }
|
||||
TD.mdname { background-color: #f2f2ff; font-weight: bold; color: #602020; width: 600px; }
|
||||
DIV.groupHeader { margin-left: 16px; margin-top: 12px; margin-bottom: 6px; font-weight: bold }
|
||||
DIV.groupText { margin-left: 16px; font-style: italic; font-size: smaller }
|
||||
BODY { background: white; color: black }
|
||||
TD.indexkey {
|
||||
background-color: #eeeeff;
|
||||
font-weight: bold;
|
||||
padding-right : 10px;
|
||||
padding-top : 2px;
|
||||
padding-left : 10px;
|
||||
padding-bottom : 2px;
|
||||
margin-left : 0px;
|
||||
margin-right : 0px;
|
||||
margin-top : 2px;
|
||||
margin-bottom : 2px
|
||||
}
|
||||
TD.indexvalue {
|
||||
background-color: #eeeeff;
|
||||
font-style: italic;
|
||||
padding-right : 10px;
|
||||
padding-top : 2px;
|
||||
padding-left : 10px;
|
||||
padding-bottom : 2px;
|
||||
margin-left : 0px;
|
||||
margin-right : 0px;
|
||||
margin-top : 2px;
|
||||
margin-bottom : 2px
|
||||
}
|
||||
span.keyword { color: #008000 }
|
||||
span.keywordtype { color: #604020 }
|
||||
span.keywordflow { color: #e08000 }
|
||||
span.comment { color: #800000 }
|
||||
span.preprocessor { color: #806020 }
|
||||
span.stringliteral { color: #002080 }
|
||||
span.charliteral { color: #008080 }
|
BIN
wxPython/contrib/activex/wxie/doxydoc/doxygen.png
Normal file
BIN
wxPython/contrib/activex/wxie/doxydoc/doxygen.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.3 KiB |
18
wxPython/contrib/activex/wxie/doxydoc/files.html
Normal file
18
wxPython/contrib/activex/wxie/doxydoc/files.html
Normal file
@@ -0,0 +1,18 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
|
||||
<title>File Index</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc3 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Data Structures</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Data Fields</a> <a class="qindex" href="globals.html">Globals</a> </center>
|
||||
<hr><h1>wxActiveX File List</h1>Here is a list of all documented files with brief descriptions:<table>
|
||||
<tr><td class="indexkey"><a class="el" href="iehtmlwin_8h.html">iehtmlwin.h</a> <a href="iehtmlwin_8h-source.html">[code]</a></td><td class="indexvalue">Implements wxIEHtmlWin window class</td></tr>
|
||||
<tr><td class="indexkey"><a class="el" href="wxactivex_8h.html">wxactivex.h</a> <a href="wxactivex_8h-source.html">[code]</a></td><td class="indexvalue">Implements <a class="el" href="classwxActiveX.html">wxActiveX</a> window class and OLE tools</td></tr>
|
||||
</table>
|
||||
<hr><address style="align: right;"><small>Generated on Tue Apr 1 14:51:12 2003 for wxActiveX by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border=0
|
||||
width=110 height=53></a>1.3-rc3 </small></address>
|
||||
</body>
|
||||
</html>
|
38
wxPython/contrib/activex/wxie/doxydoc/functions.html
Normal file
38
wxPython/contrib/activex/wxie/doxydoc/functions.html
Normal file
@@ -0,0 +1,38 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
|
||||
<title>Compound Member Index</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc3 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Data Structures</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Data Fields</a> <a class="qindex" href="globals.html">Globals</a> </center>
|
||||
<hr><h1>wxActiveX Data Fields</h1>Here is a list of all documented struct and union fields with links to the struct/union documentation for each field:<ul>
|
||||
<li>CallMethod()
|
||||
: <a class="el" href="classwxActiveX.html#a26">wxActiveX</a><li>CreateInstance()
|
||||
: <a class="el" href="classwxAutoOleInterface.html#a10">wxAutoOleInterface< I ></a><li>Free()
|
||||
: <a class="el" href="classwxAutoOleInterface.html#a8">wxAutoOleInterface< I ></a><li>GetEventCount()
|
||||
: <a class="el" href="classwxActiveX.html#a3">wxActiveX</a><li>GetEventDesc()
|
||||
: <a class="el" href="classwxActiveX.html#a4">wxActiveX</a><li>GetMethodCount()
|
||||
: <a class="el" href="classwxActiveX.html#a8">wxActiveX</a><li>GetMethodDesc()
|
||||
: <a class="el" href="classwxActiveX.html#a10">wxActiveX</a><li>GetPropCount()
|
||||
: <a class="el" href="classwxActiveX.html#a5">wxActiveX</a><li>GetPropDesc()
|
||||
: <a class="el" href="classwxActiveX.html#a7">wxActiveX</a><li>GetRef()
|
||||
: <a class="el" href="classwxAutoOleInterface.html#a13">wxAutoOleInterface< I ></a><li>MSWVariantToVariant()
|
||||
: <a class="el" href="classwxActiveX.html#k0">wxActiveX</a><li>Ok()
|
||||
: <a class="el" href="classwxAutoOleInterface.html#a14">wxAutoOleInterface< I ></a><li>operator I *()
|
||||
: <a class="el" href="classwxAutoOleInterface.html#a11">wxAutoOleInterface< I ></a><li>operator->()
|
||||
: <a class="el" href="classwxAutoOleInterface.html#a12">wxAutoOleInterface< I ></a><li>operator=()
|
||||
: <a class="el" href="classwxAutoOleInterface.html#a6">wxAutoOleInterface< I ></a><li>Prop()
|
||||
: <a class="el" href="classwxActiveX.html#a13">wxActiveX</a><li>QueryInterface()
|
||||
: <a class="el" href="classwxAutoOleInterface.html#a9">wxAutoOleInterface< I ></a><li>SetProp()
|
||||
: <a class="el" href="classwxActiveX.html#a12">wxActiveX</a><li>VariantToMSWVariant()
|
||||
: <a class="el" href="classwxActiveX.html#k1">wxActiveX</a><li>wxActiveX()
|
||||
: <a class="el" href="classwxActiveX.html#a1">wxActiveX</a><li>wxAutoOleInterface()
|
||||
: <a class="el" href="classwxAutoOleInterface.html#a4">wxAutoOleInterface< I ></a><li>~wxAutoOleInterface()
|
||||
: <a class="el" href="classwxAutoOleInterface.html#a7">wxAutoOleInterface< I ></a></ul>
|
||||
<hr><address style="align: right;"><small>Generated on Tue Apr 1 14:51:12 2003 for wxActiveX by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border=0
|
||||
width=110 height=53></a>1.3-rc3 </small></address>
|
||||
</body>
|
||||
</html>
|
20
wxPython/contrib/activex/wxie/doxydoc/globals.html
Normal file
20
wxPython/contrib/activex/wxie/doxydoc/globals.html
Normal file
@@ -0,0 +1,20 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
|
||||
<title>File Member Index</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc3 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Data Structures</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Data Fields</a> <a class="qindex" href="globals.html">Globals</a> </center>
|
||||
<hr><h1>wxActiveX Globals</h1>Here is a list of all documented functions, variables, defines, enums, and typedefs with links to the documentation:<ul>
|
||||
<li>EVT_ACTIVEX
|
||||
: <a class="el" href="wxactivex_8h.html#a10">wxactivex.h</a><li>EVT_ACTIVEX_DISPID
|
||||
: <a class="el" href="wxactivex_8h.html#a11">wxactivex.h</a><li>GetIIDName()
|
||||
: <a class="el" href="wxactivex_8h.html#a14">wxactivex.h</a><li>OLEHResultToString()
|
||||
: <a class="el" href="wxactivex_8h.html#a13">wxactivex.h</a></ul>
|
||||
<hr><address style="align: right;"><small>Generated on Tue Apr 1 14:51:12 2003 for wxActiveX by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border=0
|
||||
width=110 height=53></a>1.3-rc3 </small></address>
|
||||
</body>
|
||||
</html>
|
22
wxPython/contrib/activex/wxie/doxydoc/hierarchy.html
Normal file
22
wxPython/contrib/activex/wxie/doxydoc/hierarchy.html
Normal file
@@ -0,0 +1,22 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
|
||||
<title>Hierarchical Index</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc3 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Data Structures</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Data Fields</a> <a class="qindex" href="globals.html">Globals</a> </center>
|
||||
<hr><h1>wxActiveX Class Hierarchy</h1>This inheritance list is sorted roughly, but not completely, alphabetically:<ul>
|
||||
<li><a class="el" href="structNS__wxActiveX_1_1less__wxStringI.html">NS_wxActiveX::less_wxStringI</a>
|
||||
<li><a class="el" href="classwxActiveX.html">wxActiveX</a>
|
||||
<li><a class="el" href="classwxActiveX_1_1FuncX.html">wxActiveX::FuncX</a>
|
||||
<li><a class="el" href="classwxActiveX_1_1ParamX.html">wxActiveX::ParamX</a>
|
||||
<li><a class="el" href="classwxActiveX_1_1PropX.html">wxActiveX::PropX</a>
|
||||
<li><a class="el" href="classwxAutoOleInterface.html">wxAutoOleInterface< I ></a>
|
||||
</ul>
|
||||
<hr><address style="align: right;"><small>Generated on Tue Apr 1 14:51:12 2003 for wxActiveX by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border=0
|
||||
width=110 height=53></a>1.3-rc3 </small></address>
|
||||
</body>
|
||||
</html>
|
@@ -0,0 +1,78 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
|
||||
<title>iehtmlwin.h Source File</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc3 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Data Structures</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Data Fields</a> <a class="qindex" href="globals.html">Globals</a> </center>
|
||||
<hr><h1>iehtmlwin.h</h1><a href="iehtmlwin_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001
|
||||
00004 <span class="preprocessor">#ifndef _IEHTMLWIN_H_</span>
|
||||
00005 <span class="preprocessor"></span><span class="preprocessor">#define _IEHTMLWIN_H_</span>
|
||||
00006 <span class="preprocessor"></span><span class="preprocessor">#pragma warning( disable : 4101 4786)</span>
|
||||
00007 <span class="preprocessor"></span><span class="preprocessor">#pragma warning( disable : 4786)</span>
|
||||
00008 <span class="preprocessor"></span>
|
||||
00009
|
||||
00010 <span class="preprocessor">#include <wx/setup.h></span>
|
||||
00011 <span class="preprocessor">#include <wx/wx.h></span>
|
||||
00012 <span class="preprocessor">#include <exdisp.h></span>
|
||||
00013 <span class="preprocessor">#include <iostream></span>
|
||||
00014 <span class="keyword">using</span> <span class="keyword">namespace </span>std;
|
||||
00015
|
||||
00016 <span class="preprocessor">#include "<a class="code" href="wxactivex_8h.html">wxactivex.h</a>"</span>
|
||||
00017
|
||||
00018
|
||||
00019 <span class="keyword">enum</span> wxIEHtmlRefreshLevel
|
||||
00020 {
|
||||
00021 wxIEHTML_REFRESH_NORMAL = 0,
|
||||
00022 wxIEHTML_REFRESH_IFEXPIRED = 1,
|
||||
00023 wxIEHTML_REFRESH_CONTINUE = 2,
|
||||
00024 wxIEHTML_REFRESH_COMPLETELY = 3
|
||||
00025 };
|
||||
00026
|
||||
00027 <span class="keyword">class </span>IStreamAdaptorBase;
|
||||
00028
|
||||
00029 <span class="keyword">class </span>wxIEHtmlWin : <span class="keyword">public</span> <a class="code" href="classwxActiveX.html">wxActiveX</a>
|
||||
00030 {
|
||||
00031 <span class="keyword">public</span>:
|
||||
00032 wxIEHtmlWin(wxWindow * parent, wxWindowID id = -1,
|
||||
00033 <span class="keyword">const</span> wxPoint& pos = wxDefaultPosition,
|
||||
00034 <span class="keyword">const</span> wxSize& size = wxDefaultSize,
|
||||
00035 <span class="keywordtype">long</span> style = 0,
|
||||
00036 <span class="keyword">const</span> wxString& name = wxPanelNameStr);
|
||||
00037 <span class="keyword">virtual</span> ~wxIEHtmlWin();
|
||||
00038
|
||||
00039 <span class="keywordtype">void</span> LoadUrl(<span class="keyword">const</span> wxString&);
|
||||
00040 <span class="keywordtype">bool</span> LoadString(wxString html);
|
||||
00041 <span class="keywordtype">bool</span> LoadStream(istream *strm);
|
||||
00042 <span class="keywordtype">bool</span> LoadStream(wxInputStream *is);
|
||||
00043
|
||||
00044 <span class="keywordtype">void</span> SetCharset(wxString charset);
|
||||
00045 <span class="keywordtype">void</span> SetEditMode(<span class="keywordtype">bool</span> seton);
|
||||
00046 <span class="keywordtype">bool</span> GetEditMode();
|
||||
00047 wxString GetStringSelection(<span class="keywordtype">bool</span> asHTML = <span class="keyword">false</span>);
|
||||
00048 wxString GetText(<span class="keywordtype">bool</span> asHTML = <span class="keyword">false</span>);
|
||||
00049
|
||||
00050 <span class="keywordtype">bool</span> GoBack();
|
||||
00051 <span class="keywordtype">bool</span> GoForward();
|
||||
00052 <span class="keywordtype">bool</span> GoHome();
|
||||
00053 <span class="keywordtype">bool</span> GoSearch();
|
||||
00054 <span class="keywordtype">bool</span> Refresh(wxIEHtmlRefreshLevel level);
|
||||
00055 <span class="keywordtype">bool</span> Stop();
|
||||
00056
|
||||
00057 DECLARE_EVENT_TABLE();
|
||||
00058
|
||||
00059 <span class="keyword">protected</span>:
|
||||
00060 <span class="keywordtype">void</span> SetupBrowser();
|
||||
00061 <span class="keywordtype">bool</span> LoadStream(IStreamAdaptorBase *pstrm);
|
||||
00062
|
||||
00063 <a class="code" href="classwxAutoOleInterface.html">wxAutoOleInterface<IWebBrowser2></a> m_webBrowser;
|
||||
00064 };
|
||||
00065
|
||||
00066 <span class="preprocessor">#endif </span><span class="comment">/* _IEHTMLWIN_H_ */</span>
|
||||
</pre></div><hr><address style="align: right;"><small>Generated on Tue Apr 1 14:51:12 2003 for wxActiveX by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border=0
|
||||
width=110 height=53></a>1.3-rc3 </small></address>
|
||||
</body>
|
||||
</html>
|
31
wxPython/contrib/activex/wxie/doxydoc/iehtmlwin_8h.html
Normal file
31
wxPython/contrib/activex/wxie/doxydoc/iehtmlwin_8h.html
Normal file
@@ -0,0 +1,31 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
|
||||
<title>iehtmlwin.h File Reference</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc3 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Data Structures</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Data Fields</a> <a class="qindex" href="globals.html">Globals</a> </center>
|
||||
<hr><h1>iehtmlwin.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
|
||||
implements wxIEHtmlWin window class
|
||||
<p>
|
||||
|
||||
<p>
|
||||
Definition in file <a class="el" href="iehtmlwin_8h-source.html">iehtmlwin.h</a>.
|
||||
<p>
|
||||
<code>#include <wx/setup.h></code><br>
|
||||
<code>#include <wx/wx.h></code><br>
|
||||
<code>#include <exdisp.h></code><br>
|
||||
<code>#include <iostream></code><br>
|
||||
<code>#include "<a class="el" href="wxactivex_8h-source.html">wxactivex.h</a>"</code><br>
|
||||
|
||||
<p>
|
||||
<a href="iehtmlwin_8h-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0>
|
||||
<tr><td></td></tr>
|
||||
</table>
|
||||
<hr><address style="align: right;"><small>Generated on Tue Apr 1 14:51:12 2003 for wxActiveX by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border=0
|
||||
width=110 height=53></a>1.3-rc3 </small></address>
|
||||
</body>
|
||||
</html>
|
16
wxPython/contrib/activex/wxie/doxydoc/index.html
Normal file
16
wxPython/contrib/activex/wxie/doxydoc/index.html
Normal file
@@ -0,0 +1,16 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
|
||||
<title>Main Page</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc3 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Data Structures</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Data Fields</a> <a class="qindex" href="globals.html">Globals</a> </center>
|
||||
<hr><h1>wxActiveX Documentation</h1>
|
||||
<p>
|
||||
<hr><address style="align: right;"><small>Generated on Tue Apr 1 14:51:12 2003 for wxActiveX by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border=0
|
||||
width=110 height=53></a>1.3-rc3 </small></address>
|
||||
</body>
|
||||
</html>
|
@@ -0,0 +1,25 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
|
||||
<title>NS_wxActiveX Namespace Reference</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc3 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Data Structures</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Data Fields</a> <a class="qindex" href="globals.html">Globals</a> </center>
|
||||
<hr><h1>NS_wxActiveX Namespace Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
|
||||
<a class="el" href="classwxActiveX.html">wxActiveX</a> Namespace for stuff I want to keep out of other tools way.
|
||||
<p>
|
||||
|
||||
<p>
|
||||
<table border=0 cellpadding=0 cellspacing=0>
|
||||
<tr><td></td></tr>
|
||||
<tr><td colspan=2><br><h2>Data Structures</h2></td></tr>
|
||||
<tr><td nowrap align=right valign=top>struct </td><td valign=bottom><a class="el" href="structNS__wxActiveX_1_1less__wxStringI.html">less_wxStringI</a></td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>STL utilty class.</em> <a href="structNS__wxActiveX_1_1less__wxStringI.html#_details">More...</a><em></em></font><br><br></td></tr>
|
||||
</table>
|
||||
<hr><address style="align: right;"><small>Generated on Tue Apr 1 14:51:12 2003 for wxActiveX by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border=0
|
||||
width=110 height=53></a>1.3-rc3 </small></address>
|
||||
</body>
|
||||
</html>
|
17
wxPython/contrib/activex/wxie/doxydoc/namespaces.html
Normal file
17
wxPython/contrib/activex/wxie/doxydoc/namespaces.html
Normal file
@@ -0,0 +1,17 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
|
||||
<title>Namespace Index</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc3 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Data Structures</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Data Fields</a> <a class="qindex" href="globals.html">Globals</a> </center>
|
||||
<hr><h1>wxActiveX Namespace List</h1>Here is a list of all documented namespaces with brief descriptions:<table>
|
||||
<tr><td class="indexkey"><a class="el" href="namespaceNS__wxActiveX.html">NS_wxActiveX</a></td><td class="indexvalue">WxActiveX Namespace for stuff I want to keep out of other tools way</td></tr>
|
||||
</table>
|
||||
<hr><address style="align: right;"><small>Generated on Tue Apr 1 14:51:12 2003 for wxActiveX by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border=0
|
||||
width=110 height=53></a>1.3-rc3 </small></address>
|
||||
</body>
|
||||
</html>
|
@@ -0,0 +1,28 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
|
||||
<title>NS_wxActiveX::less_wxStringI struct Reference</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc3 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Data Structures</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Data Fields</a> <a class="qindex" href="globals.html">Globals</a> </center>
|
||||
<hr><h1>NS_wxActiveX::less_wxStringI Struct Reference</h1><code>#include <<a class="el" href="wxactivex_8h-source.html">wxactivex.h</a>></code>
|
||||
<p>
|
||||
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
||||
STL utilty class.
|
||||
<p>
|
||||
specific to <a class="el" href="classwxActiveX.html">wxActiveX</a>, for creating case insenstive maps etc
|
||||
<p>
|
||||
|
||||
<p>
|
||||
Definition at line <a class="el" href="wxactivex_8h-source.html#l00029">29</a> of file <a class="el" href="wxactivex_8h-source.html">wxactivex.h</a>.<table border=0 cellpadding=0 cellspacing=0>
|
||||
<tr><td></td></tr>
|
||||
</table>
|
||||
<hr>The documentation for this struct was generated from the following file:<ul>
|
||||
<li><a class="el" href="wxactivex_8h-source.html">wxactivex.h</a></ul>
|
||||
<hr><address style="align: right;"><small>Generated on Tue Apr 1 14:51:12 2003 for wxActiveX by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border=0
|
||||
width=110 height=53></a>1.3-rc3 </small></address>
|
||||
</body>
|
||||
</html>
|
477
wxPython/contrib/activex/wxie/doxydoc/wxactivex_8h-source.html
Normal file
477
wxPython/contrib/activex/wxie/doxydoc/wxactivex_8h-source.html
Normal file
@@ -0,0 +1,477 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
|
||||
<title>wxactivex.h Source File</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc3 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Data Structures</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Data Fields</a> <a class="qindex" href="globals.html">Globals</a> </center>
|
||||
<hr><h1>wxactivex.h</h1><a href="wxactivex_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001
|
||||
00005 <span class="preprocessor">#ifndef WX_ACTIVE_X</span>
|
||||
00006 <span class="preprocessor"></span><span class="preprocessor">#define WX_ACTIVE_X</span>
|
||||
00007 <span class="preprocessor"></span><span class="preprocessor">#pragma warning( disable : 4101 4786)</span>
|
||||
00008 <span class="preprocessor"></span><span class="preprocessor">#pragma warning( disable : 4786)</span>
|
||||
00009 <span class="preprocessor"></span>
|
||||
00010
|
||||
00011 <span class="preprocessor">#include <wx/setup.h></span>
|
||||
00012 <span class="preprocessor">#include <wx/wx.h></span>
|
||||
00013 <span class="preprocessor">#include <wx/variant.h></span>
|
||||
00014 <span class="preprocessor">#include <wx/datetime.h></span>
|
||||
00015 <span class="preprocessor">#include <oleidl.h></span>
|
||||
00016 <span class="preprocessor">#include <exdisp.h></span>
|
||||
00017 <span class="preprocessor">#include <docobj.h></span>
|
||||
00018 <span class="preprocessor">#include <iostream></span>
|
||||
00019 <span class="preprocessor">#include <vector></span>
|
||||
00020 <span class="preprocessor">#include <map></span>
|
||||
00021 <span class="keyword">using</span> <span class="keyword">namespace </span>std;
|
||||
00022
|
||||
<a name="l00024"></a><a class="code" href="namespaceNS__wxActiveX.html">00024</a> <span class="keyword">namespace </span>NS_wxActiveX
|
||||
00025 {
|
||||
<a name="l00029"></a><a class="code" href="structNS__wxActiveX_1_1less__wxStringI.html">00029</a> <span class="keyword">struct </span><a class="code" href="structNS__wxActiveX_1_1less__wxStringI.html">less_wxStringI</a>
|
||||
00030 {
|
||||
00031 <span class="keywordtype">bool</span> operator()(<span class="keyword">const</span> wxString& x, <span class="keyword">const</span> wxString& y)<span class="keyword"> const</span>
|
||||
00032 <span class="keyword"> </span>{
|
||||
00033 <span class="keywordflow">return</span> x.CmpNoCase(y) < 0;
|
||||
00034 };
|
||||
00035 };
|
||||
00036 };
|
||||
00037
|
||||
00038
|
||||
<a name="l00045"></a><a class="code" href="classwxAutoOleInterface.html">00045</a> <span class="keyword">template</span> <<span class="keyword">class</span> I> <span class="keyword">class </span><a class="code" href="classwxAutoOleInterface.html">wxAutoOleInterface</a>
|
||||
00046 {
|
||||
00047 <span class="keyword">protected</span>:
|
||||
00048 I *m_interface;
|
||||
00049
|
||||
00050 <span class="keyword">public</span>:
|
||||
<a name="l00053"></a><a class="code" href="classwxAutoOleInterface.html#a0">00053</a> <span class="keyword">explicit</span> <a class="code" href="classwxAutoOleInterface.html#a0">wxAutoOleInterface</a>(I *pInterface = NULL) : m_interface(pInterface) {}
|
||||
00054
|
||||
<a name="l00056"></a><a class="code" href="classwxAutoOleInterface.html#a1">00056</a> <a class="code" href="classwxAutoOleInterface.html#a0">wxAutoOleInterface</a>(REFIID riid, IUnknown *pUnk) : m_interface(NULL)
|
||||
00057 {
|
||||
00058 <a class="code" href="classwxAutoOleInterface.html#a9">QueryInterface</a>(riid, pUnk);
|
||||
00059 };
|
||||
<a name="l00061"></a><a class="code" href="classwxAutoOleInterface.html#a2">00061</a> <a class="code" href="classwxAutoOleInterface.html#a0">wxAutoOleInterface</a>(REFIID riid, IDispatch *pDispatch) : m_interface(NULL)
|
||||
00062 {
|
||||
00063 <a class="code" href="classwxAutoOleInterface.html#a9">QueryInterface</a>(riid, pDispatch);
|
||||
00064 };
|
||||
00065
|
||||
<a name="l00067"></a><a class="code" href="classwxAutoOleInterface.html#a3">00067</a> <a class="code" href="classwxAutoOleInterface.html#a0">wxAutoOleInterface</a>(REFCLSID clsid, REFIID riid) : m_interface(NULL)
|
||||
00068 {
|
||||
00069 <a class="code" href="classwxAutoOleInterface.html#a10">CreateInstance</a>(clsid, riid);
|
||||
00070 };
|
||||
00071
|
||||
<a name="l00073"></a><a class="code" href="classwxAutoOleInterface.html#a4">00073</a> <a class="code" href="classwxAutoOleInterface.html#a0">wxAutoOleInterface</a>(<span class="keyword">const</span> <a class="code" href="classwxAutoOleInterface.html">wxAutoOleInterface<I></a>& ti) : m_interface(NULL)
|
||||
00074 {
|
||||
00075 <a class="code" href="classwxAutoOleInterface.html#a5">operator = </a>(ti);
|
||||
00076 }
|
||||
00077
|
||||
<a name="l00079"></a><a class="code" href="classwxAutoOleInterface.html#a5">00079</a> <a class="code" href="classwxAutoOleInterface.html">wxAutoOleInterface<I></a>& <a class="code" href="classwxAutoOleInterface.html#a5">operator = </a>(<span class="keyword">const</span> <a class="code" href="classwxAutoOleInterface.html">wxAutoOleInterface<I></a>& ti)
|
||||
00080 {
|
||||
00081 <span class="keywordflow">if</span> (ti.<a class="code" href="classwxAutoOleInterface.html#n0">m_interface</a>)
|
||||
00082 ti.<a class="code" href="classwxAutoOleInterface.html#n0">m_interface</a>->AddRef();
|
||||
00083 <a class="code" href="classwxAutoOleInterface.html#a8">Free</a>();
|
||||
00084 m_interface = ti.<a class="code" href="classwxAutoOleInterface.html#n0">m_interface</a>;
|
||||
00085 <span class="keywordflow">return</span> *<span class="keyword">this</span>;
|
||||
00086 }
|
||||
00087
|
||||
<a name="l00090"></a><a class="code" href="classwxAutoOleInterface.html#a6">00090</a> <a class="code" href="classwxAutoOleInterface.html">wxAutoOleInterface<I></a>& <a class="code" href="classwxAutoOleInterface.html#a5">operator = </a>(I *&ti)
|
||||
00091 {
|
||||
00092 <a class="code" href="classwxAutoOleInterface.html#a8">Free</a>();
|
||||
00093 m_interface = ti;
|
||||
00094 <span class="keywordflow">return</span> *<span class="keyword">this</span>;
|
||||
00095 }
|
||||
00096
|
||||
<a name="l00098"></a><a class="code" href="classwxAutoOleInterface.html#a7">00098</a> <a class="code" href="classwxAutoOleInterface.html#a7">~wxAutoOleInterface</a>()
|
||||
00099 {
|
||||
00100 <a class="code" href="classwxAutoOleInterface.html#a8">Free</a>();
|
||||
00101 };
|
||||
00102
|
||||
00103
|
||||
<a name="l00105"></a><a class="code" href="classwxAutoOleInterface.html#a8">00105</a> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classwxAutoOleInterface.html#a8">Free</a>()
|
||||
00106 {
|
||||
00107 <span class="keywordflow">if</span> (m_interface)
|
||||
00108 m_interface->Release();
|
||||
00109 m_interface = NULL;
|
||||
00110 };
|
||||
00111
|
||||
<a name="l00113"></a><a class="code" href="classwxAutoOleInterface.html#a9">00113</a> HRESULT <a class="code" href="classwxAutoOleInterface.html#a9">QueryInterface</a>(REFIID riid, IUnknown *pUnk)
|
||||
00114 {
|
||||
00115 <a class="code" href="classwxAutoOleInterface.html#a8">Free</a>();
|
||||
00116 wxASSERT(pUnk != NULL);
|
||||
00117 <span class="keywordflow">return</span> pUnk->QueryInterface(riid, (<span class="keywordtype">void</span> **) &m_interface);
|
||||
00118 };
|
||||
00119
|
||||
<a name="l00121"></a><a class="code" href="classwxAutoOleInterface.html#a10">00121</a> HRESULT <a class="code" href="classwxAutoOleInterface.html#a10">CreateInstance</a>(REFCLSID clsid, REFIID riid)
|
||||
00122 {
|
||||
00123 <a class="code" href="classwxAutoOleInterface.html#a8">Free</a>();
|
||||
00124 <span class="keywordflow">return</span> CoCreateInstance(clsid, NULL, CLSCTX_ALL, riid, (<span class="keywordtype">void</span> **) &m_interface);
|
||||
00125 };
|
||||
00126
|
||||
00127
|
||||
<a name="l00129"></a><a class="code" href="classwxAutoOleInterface.html#a11">00129</a> <span class="keyword">inline</span> <a class="code" href="classwxAutoOleInterface.html#a11">operator I *</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> m_interface;}
|
||||
00130
|
||||
<a name="l00132"></a><a class="code" href="classwxAutoOleInterface.html#a12">00132</a> <span class="keyword">inline</span> I* <a class="code" href="classwxAutoOleInterface.html#a12">operator -></a>() {<span class="keywordflow">return</span> m_interface;}
|
||||
<a name="l00134"></a><a class="code" href="classwxAutoOleInterface.html#a13">00134</a> <span class="keyword">inline</span> I** <a class="code" href="classwxAutoOleInterface.html#a13">GetRef</a>() {<span class="keywordflow">return</span> &m_interface;}
|
||||
<a name="l00136"></a><a class="code" href="classwxAutoOleInterface.html#a14">00136</a> <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="classwxAutoOleInterface.html#a14">Ok</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> m_interface != NULL;}
|
||||
00137 };
|
||||
00138
|
||||
00139
|
||||
00142 wxString <a class="code" href="wxactivex_8h.html#a13">OLEHResultToString</a>(HRESULT hr);
|
||||
00145 wxString <a class="code" href="wxactivex_8h.html#a14">GetIIDName</a>(REFIID riid);
|
||||
00146
|
||||
00147 <span class="comment">//#define __WXOLEDEBUG</span>
|
||||
00148
|
||||
00149
|
||||
00150 <span class="preprocessor">#ifdef __WXOLEDEBUG</span>
|
||||
00151 <span class="preprocessor"></span><span class="preprocessor"> #define WXOLE_TRACE(str) {OutputDebugString(str);OutputDebugString("\r\n");}</span>
|
||||
00152 <span class="preprocessor"></span><span class="preprocessor"> #define WXOLE_TRACEOUT(stuff)\</span>
|
||||
00153 <span class="preprocessor"> {\</span>
|
||||
00154 <span class="preprocessor"> wxString os;\</span>
|
||||
00155 <span class="preprocessor"> os << stuff << "\r\n";\</span>
|
||||
00156 <span class="preprocessor"> WXOLE_TRACE(os.mb_str());\</span>
|
||||
00157 <span class="preprocessor"> }</span>
|
||||
00158 <span class="preprocessor"></span>
|
||||
00159 <span class="preprocessor"> #define WXOLE_WARN(__hr,msg)\</span>
|
||||
00160 <span class="preprocessor"> {\</span>
|
||||
00161 <span class="preprocessor"> if (__hr != S_OK)\</span>
|
||||
00162 <span class="preprocessor"> {\</span>
|
||||
00163 <span class="preprocessor"> wxString s = "*** ";\</span>
|
||||
00164 <span class="preprocessor"> s += msg;\</span>
|
||||
00165 <span class="preprocessor"> s += " : "+ OLEHResultToString(__hr);\</span>
|
||||
00166 <span class="preprocessor"> WXOLE_TRACE(s.c_str());\</span>
|
||||
00167 <span class="preprocessor"> }\</span>
|
||||
00168 <span class="preprocessor"> }</span>
|
||||
00169 <span class="preprocessor"></span><span class="preprocessor">#else</span>
|
||||
00170 <span class="preprocessor"></span><span class="preprocessor"> #define WXOLE_TRACE(str)</span>
|
||||
00171 <span class="preprocessor"></span><span class="preprocessor"> #define WXOLE_TRACEOUT(stuff)</span>
|
||||
00172 <span class="preprocessor"></span><span class="preprocessor"> #define WXOLE_WARN(_proc,msg) {_proc;}</span>
|
||||
00173 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
||||
00174 <span class="preprocessor"></span>
|
||||
00175 <span class="keyword">class </span>wxOleInit
|
||||
00176 {
|
||||
00177 <span class="keyword">public</span>:
|
||||
00178 <span class="keyword">static</span> IMalloc *GetIMalloc();
|
||||
00179
|
||||
00180 wxOleInit();
|
||||
00181 ~wxOleInit();
|
||||
00182 };
|
||||
00183
|
||||
00184 <span class="preprocessor">#define DECLARE_OLE_UNKNOWN(cls)\</span>
|
||||
00185 <span class="preprocessor"> private:\</span>
|
||||
00186 <span class="preprocessor"> class TAutoInitInt\</span>
|
||||
00187 <span class="preprocessor"> {\</span>
|
||||
00188 <span class="preprocessor"> public:\</span>
|
||||
00189 <span class="preprocessor"> LONG l;\</span>
|
||||
00190 <span class="preprocessor"> TAutoInitInt() : l(0) {}\</span>
|
||||
00191 <span class="preprocessor"> };\</span>
|
||||
00192 <span class="preprocessor"> TAutoInitInt refCount, lockCount;\</span>
|
||||
00193 <span class="preprocessor"> wxOleInit oleInit;\</span>
|
||||
00194 <span class="preprocessor"> static void _GetInterface(cls *self, REFIID iid, void **_interface, const char *&desc);\</span>
|
||||
00195 <span class="preprocessor"> public:\</span>
|
||||
00196 <span class="preprocessor"> LONG GetRefCount();\</span>
|
||||
00197 <span class="preprocessor"> HRESULT STDMETHODCALLTYPE QueryInterface(REFIID iid, void ** ppvObject);\</span>
|
||||
00198 <span class="preprocessor"> ULONG STDMETHODCALLTYPE AddRef();\</span>
|
||||
00199 <span class="preprocessor"> ULONG STDMETHODCALLTYPE Release();\</span>
|
||||
00200 <span class="preprocessor"> ULONG STDMETHODCALLTYPE AddLock();\</span>
|
||||
00201 <span class="preprocessor"> ULONG STDMETHODCALLTYPE ReleaseLock()</span>
|
||||
00202 <span class="preprocessor"></span>
|
||||
00203 <span class="preprocessor">#define DEFINE_OLE_TABLE(cls)\</span>
|
||||
00204 <span class="preprocessor"> LONG cls::GetRefCount() {return refCount.l;}\</span>
|
||||
00205 <span class="preprocessor"> HRESULT STDMETHODCALLTYPE cls::QueryInterface(REFIID iid, void ** ppvObject)\</span>
|
||||
00206 <span class="preprocessor"> {\</span>
|
||||
00207 <span class="preprocessor"> if (! ppvObject)\</span>
|
||||
00208 <span class="preprocessor"> {\</span>
|
||||
00209 <span class="preprocessor"> WXOLE_TRACE("*** NULL POINTER ***");\</span>
|
||||
00210 <span class="preprocessor"> return E_FAIL;\</span>
|
||||
00211 <span class="preprocessor"> };\</span>
|
||||
00212 <span class="preprocessor"> const char *desc = NULL;\</span>
|
||||
00213 <span class="preprocessor"> cls::_GetInterface(this, iid, ppvObject, desc);\</span>
|
||||
00214 <span class="preprocessor"> if (! *ppvObject)\</span>
|
||||
00215 <span class="preprocessor"> {\</span>
|
||||
00216 <span class="preprocessor"> WXOLE_TRACEOUT("<" << GetIIDName(iid).c_str() << "> Not Found");\</span>
|
||||
00217 <span class="preprocessor"> return E_NOINTERFACE;\</span>
|
||||
00218 <span class="preprocessor"> };\</span>
|
||||
00219 <span class="preprocessor"> WXOLE_TRACEOUT("QI : <" << desc <<">");\</span>
|
||||
00220 <span class="preprocessor"> ((IUnknown * )(*ppvObject))->AddRef();\</span>
|
||||
00221 <span class="preprocessor"> return S_OK;\</span>
|
||||
00222 <span class="preprocessor"> };\</span>
|
||||
00223 <span class="preprocessor"> ULONG STDMETHODCALLTYPE cls::AddRef()\</span>
|
||||
00224 <span class="preprocessor"> {\</span>
|
||||
00225 <span class="preprocessor"> WXOLE_TRACEOUT(# cls << "::Add ref(" << refCount.l << ")");\</span>
|
||||
00226 <span class="preprocessor"> InterlockedIncrement(&refCount.l);\</span>
|
||||
00227 <span class="preprocessor"> return refCount.l;\</span>
|
||||
00228 <span class="preprocessor"> };\</span>
|
||||
00229 <span class="preprocessor"> ULONG STDMETHODCALLTYPE cls::Release()\</span>
|
||||
00230 <span class="preprocessor"> {\</span>
|
||||
00231 <span class="preprocessor"> if (refCount.l > 0)\</span>
|
||||
00232 <span class="preprocessor"> {\</span>
|
||||
00233 <span class="preprocessor"> InterlockedDecrement(&refCount.l);\</span>
|
||||
00234 <span class="preprocessor"> WXOLE_TRACEOUT(# cls << "::Del ref(" << refCount.l << ")");\</span>
|
||||
00235 <span class="preprocessor"> if (refCount.l == 0)\</span>
|
||||
00236 <span class="preprocessor"> {\</span>
|
||||
00237 <span class="preprocessor"> delete this;\</span>
|
||||
00238 <span class="preprocessor"> return 0;\</span>
|
||||
00239 <span class="preprocessor"> };\</span>
|
||||
00240 <span class="preprocessor"> return refCount.l;\</span>
|
||||
00241 <span class="preprocessor"> }\</span>
|
||||
00242 <span class="preprocessor"> else\</span>
|
||||
00243 <span class="preprocessor"> return 0;\</span>
|
||||
00244 <span class="preprocessor"> }\</span>
|
||||
00245 <span class="preprocessor"> ULONG STDMETHODCALLTYPE cls::AddLock()\</span>
|
||||
00246 <span class="preprocessor"> {\</span>
|
||||
00247 <span class="preprocessor"> WXOLE_TRACEOUT(# cls << "::Add Lock(" << lockCount.l << ")");\</span>
|
||||
00248 <span class="preprocessor"> InterlockedIncrement(&lockCount.l);\</span>
|
||||
00249 <span class="preprocessor"> return lockCount.l;\</span>
|
||||
00250 <span class="preprocessor"> };\</span>
|
||||
00251 <span class="preprocessor"> ULONG STDMETHODCALLTYPE cls::ReleaseLock()\</span>
|
||||
00252 <span class="preprocessor"> {\</span>
|
||||
00253 <span class="preprocessor"> if (lockCount.l > 0)\</span>
|
||||
00254 <span class="preprocessor"> {\</span>
|
||||
00255 <span class="preprocessor"> InterlockedDecrement(&lockCount.l);\</span>
|
||||
00256 <span class="preprocessor"> WXOLE_TRACEOUT(# cls << "::Del Lock(" << lockCount.l << ")");\</span>
|
||||
00257 <span class="preprocessor"> return lockCount.l;\</span>
|
||||
00258 <span class="preprocessor"> }\</span>
|
||||
00259 <span class="preprocessor"> else\</span>
|
||||
00260 <span class="preprocessor"> return 0;\</span>
|
||||
00261 <span class="preprocessor"> }\</span>
|
||||
00262 <span class="preprocessor"> DEFINE_OLE_BASE(cls)</span>
|
||||
00263 <span class="preprocessor"></span>
|
||||
00264 <span class="preprocessor">#define DEFINE_OLE_BASE(cls)\</span>
|
||||
00265 <span class="preprocessor"> void cls::_GetInterface(cls *self, REFIID iid, void **_interface, const char *&desc)\</span>
|
||||
00266 <span class="preprocessor"> {\</span>
|
||||
00267 <span class="preprocessor"> *_interface = NULL;\</span>
|
||||
00268 <span class="preprocessor"> desc = NULL;</span>
|
||||
00269 <span class="preprocessor"></span>
|
||||
00270 <span class="preprocessor">#define OLE_INTERFACE(_iid, _type)\</span>
|
||||
00271 <span class="preprocessor"> if (IsEqualIID(iid, _iid))\</span>
|
||||
00272 <span class="preprocessor"> {\</span>
|
||||
00273 <span class="preprocessor"> WXOLE_TRACE("Found Interface <" # _type ">");\</span>
|
||||
00274 <span class="preprocessor"> *_interface = (IUnknown *) (_type *) self;\</span>
|
||||
00275 <span class="preprocessor"> desc = # _iid;\</span>
|
||||
00276 <span class="preprocessor"> return;\</span>
|
||||
00277 <span class="preprocessor"> }</span>
|
||||
00278 <span class="preprocessor"></span>
|
||||
00279 <span class="preprocessor">#define OLE_IINTERFACE(_face) OLE_INTERFACE(IID_##_face, _face)</span>
|
||||
00280 <span class="preprocessor"></span>
|
||||
00281 <span class="preprocessor">#define OLE_INTERFACE_CUSTOM(func)\</span>
|
||||
00282 <span class="preprocessor"> if (func(self, iid, _interface, desc))\</span>
|
||||
00283 <span class="preprocessor"> {\</span>
|
||||
00284 <span class="preprocessor"> return;\</span>
|
||||
00285 <span class="preprocessor"> }</span>
|
||||
00286 <span class="preprocessor"></span>
|
||||
00287 <span class="preprocessor">#define END_OLE_TABLE\</span>
|
||||
00288 <span class="preprocessor"> }</span>
|
||||
00289 <span class="preprocessor"></span>
|
||||
00290
|
||||
00328
|
||||
<a name="l00329"></a><a class="code" href="classwxActiveX.html">00329</a> <span class="keyword">class </span><a class="code" href="classwxActiveX.html">wxActiveX</a> : <span class="keyword">public</span> wxWindow {
|
||||
00330 <span class="keyword">public</span>:
|
||||
<a name="l00333"></a><a class="code" href="classwxActiveX_1_1ParamX.html">00333</a> <span class="keyword">class </span><a class="code" href="classwxActiveX_1_1ParamX.html">ParamX</a>
|
||||
00334 {
|
||||
00335 <span class="keyword">public</span>:
|
||||
00336 USHORT flags;
|
||||
00337 <span class="keywordtype">bool</span> isPtr, isSafeArray;
|
||||
00338 VARTYPE vt;
|
||||
00339 wxString name;
|
||||
00340
|
||||
00341 <a class="code" href="classwxActiveX_1_1ParamX.html">ParamX</a>() : vt(VT_EMPTY) {}
|
||||
00342 <span class="keyword">inline</span> <span class="keywordtype">bool</span> IsIn()<span class="keyword"> const </span>{<span class="keywordflow">return</span> (flags & IDLFLAG_FIN) != 0;}
|
||||
00343 <span class="keyword">inline</span> <span class="keywordtype">bool</span> IsOut()<span class="keyword"> const </span>{<span class="keywordflow">return</span> (flags & IDLFLAG_FOUT) != 0;}
|
||||
00344 <span class="keyword">inline</span> <span class="keywordtype">bool</span> IsRetVal()<span class="keyword"> const </span>{<span class="keywordflow">return</span> (flags & IDLFLAG_FRETVAL) != 0;}
|
||||
00345 };
|
||||
00346 <span class="keyword">typedef</span> vector<ParamX> ParamXArray;
|
||||
00347
|
||||
<a name="l00350"></a><a class="code" href="classwxActiveX_1_1FuncX.html">00350</a> <span class="keyword">class </span><a class="code" href="classwxActiveX_1_1FuncX.html">FuncX</a>
|
||||
00351 {
|
||||
00352 <span class="keyword">public</span>:
|
||||
00353 wxString name;
|
||||
00354 MEMBERID memid;
|
||||
00355 <span class="keywordtype">bool</span> hasOut;
|
||||
00356
|
||||
00357 <a class="code" href="classwxActiveX_1_1ParamX.html">ParamX</a> retType;
|
||||
00358 ParamXArray params;
|
||||
00359 };
|
||||
00360
|
||||
<a name="l00362"></a><a class="code" href="classwxActiveX_1_1PropX.html">00362</a> <span class="keyword">class </span><a class="code" href="classwxActiveX_1_1PropX.html">PropX</a>
|
||||
00363 {
|
||||
00364 <span class="keyword">public</span>:
|
||||
00365 wxString name;
|
||||
00366 MEMBERID memid;
|
||||
00367 <a class="code" href="classwxActiveX_1_1ParamX.html">ParamX</a> type;
|
||||
00368 <a class="code" href="classwxActiveX_1_1ParamX.html">ParamX</a> arg;
|
||||
00369 <span class="keywordtype">bool</span> putByRef;
|
||||
00370
|
||||
00371 <a class="code" href="classwxActiveX_1_1PropX.html">PropX</a>() : putByRef (<span class="keyword">false</span>) {}
|
||||
00372 <span class="keyword">inline</span> <span class="keywordtype">bool</span> CanGet()<span class="keyword"> const </span>{<span class="keywordflow">return</span> type.<a class="code" href="classwxActiveX_1_1ParamX.html#m3">vt</a> != VT_EMPTY;}
|
||||
00373 <span class="keyword">inline</span> <span class="keywordtype">bool</span> CanSet()<span class="keyword"> const </span>{<span class="keywordflow">return</span> arg.<a class="code" href="classwxActiveX_1_1ParamX.html#m3">vt</a> != VT_EMPTY;}
|
||||
00374 };
|
||||
00375
|
||||
00377 <a class="code" href="classwxActiveX.html#a0">wxActiveX</a>(wxWindow * parent, REFCLSID clsid, wxWindowID id = -1,
|
||||
00378 <span class="keyword">const</span> wxPoint& pos = wxDefaultPosition,
|
||||
00379 <span class="keyword">const</span> wxSize& size = wxDefaultSize,
|
||||
00380 <span class="keywordtype">long</span> style = 0,
|
||||
00381 <span class="keyword">const</span> wxString& name = wxPanelNameStr);
|
||||
00383 <a class="code" href="classwxActiveX.html#a0">wxActiveX</a>(wxWindow * parent, wxString progId, wxWindowID id = -1,
|
||||
00384 <span class="keyword">const</span> wxPoint& pos = wxDefaultPosition,
|
||||
00385 <span class="keyword">const</span> wxSize& size = wxDefaultSize,
|
||||
00386 <span class="keywordtype">long</span> style = 0,
|
||||
00387 <span class="keyword">const</span> wxString& name = wxPanelNameStr);
|
||||
00388 <span class="keyword">virtual</span> ~<a class="code" href="classwxActiveX.html">wxActiveX</a>();
|
||||
00389
|
||||
<a name="l00391"></a><a class="code" href="classwxActiveX.html#a3">00391</a> <span class="keyword">inline</span> <span class="keywordtype">int</span> <a class="code" href="classwxActiveX.html#a3">GetEventCount</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> m_events.size();}
|
||||
00394 <span class="keyword">const</span> FuncX& <a class="code" href="classwxActiveX.html#a4">GetEventDesc</a>(<span class="keywordtype">int</span> idx) <span class="keyword">const</span>;
|
||||
00395
|
||||
<a name="l00397"></a><a class="code" href="classwxActiveX.html#a5">00397</a> <span class="keyword">inline</span> <span class="keywordtype">int</span> <a class="code" href="classwxActiveX.html#a5">GetPropCount</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> m_props.size();}
|
||||
00400 <span class="keyword">const</span> PropX& <a class="code" href="classwxActiveX.html#a6">GetPropDesc</a>(<span class="keywordtype">int</span> idx) <span class="keyword">const</span>;
|
||||
00403 <span class="keyword">const</span> PropX& <a class="code" href="classwxActiveX.html#a6">GetPropDesc</a>(wxString name) <span class="keyword">const</span>;
|
||||
00404
|
||||
<a name="l00406"></a><a class="code" href="classwxActiveX.html#a8">00406</a> <span class="keyword">inline</span> <span class="keywordtype">int</span> <a class="code" href="classwxActiveX.html#a8">GetMethodCount</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> m_methods.size();}
|
||||
00409 <span class="keyword">const</span> FuncX& <a class="code" href="classwxActiveX.html#a9">GetMethodDesc</a>(<span class="keywordtype">int</span> idx) <span class="keyword">const</span>;
|
||||
00412 <span class="keyword">const</span> FuncX& <a class="code" href="classwxActiveX.html#a9">GetMethodDesc</a>(wxString name) <span class="keyword">const</span>;
|
||||
00413
|
||||
00415 <span class="keywordtype">void</span> <a class="code" href="classwxActiveX.html#a11">SetProp</a>(MEMBERID name, VARIANTARG& value);
|
||||
00417 <span class="keywordtype">void</span> <a class="code" href="classwxActiveX.html#a11">SetProp</a>(<span class="keyword">const</span> wxString &name, <span class="keyword">const</span> wxVariant &value);
|
||||
00418
|
||||
00419 <span class="keyword">class </span>wxPropertySetter
|
||||
00420 {
|
||||
00421 <span class="keyword">public</span>:
|
||||
00422 <a class="code" href="classwxActiveX.html">wxActiveX</a> *m_ctl;
|
||||
00423 wxString m_propName;
|
||||
00424
|
||||
00425 wxPropertySetter(<a class="code" href="classwxActiveX.html">wxActiveX</a> *ctl, wxString propName) :
|
||||
00426 m_ctl(ctl), m_propName(propName) {}
|
||||
00427
|
||||
00428 <span class="keyword">inline</span> <span class="keyword">const</span> wxPropertySetter& operator = (wxVariant v)<span class="keyword"> const</span>
|
||||
00429 <span class="keyword"> </span>{
|
||||
00430 m_ctl-><a class="code" href="classwxActiveX.html#a11">SetProp</a>(m_propName, v);
|
||||
00431 <span class="keywordflow">return</span> *<span class="keyword">this</span>;
|
||||
00432 };
|
||||
00433
|
||||
00434 <span class="keyword">inline</span> operator wxVariant()<span class="keyword"> const </span>{<span class="keywordflow">return</span> m_ctl-><a class="code" href="classwxActiveX.html#a16">GetPropAsWxVariant</a>(m_propName);};
|
||||
00435 <span class="keyword">inline</span> operator wxString()<span class="keyword"> const </span>{<span class="keywordflow">return</span> m_ctl-><a class="code" href="classwxActiveX.html#a17">GetPropAsString</a>(m_propName);};
|
||||
00436 <span class="keyword">inline</span> operator char()<span class="keyword"> const </span>{<span class="keywordflow">return</span> m_ctl-><a class="code" href="classwxActiveX.html#a18">GetPropAsChar</a>(m_propName);};
|
||||
00437 <span class="keyword">inline</span> operator long()<span class="keyword"> const </span>{<span class="keywordflow">return</span> m_ctl-><a class="code" href="classwxActiveX.html#a19">GetPropAsLong</a>(m_propName);};
|
||||
00438 <span class="keyword">inline</span> operator bool()<span class="keyword"> const </span>{<span class="keywordflow">return</span> m_ctl-><a class="code" href="classwxActiveX.html#a20">GetPropAsBool</a>(m_propName);};
|
||||
00439 <span class="keyword">inline</span> operator double()<span class="keyword"> const </span>{<span class="keywordflow">return</span> m_ctl-><a class="code" href="classwxActiveX.html#a21">GetPropAsDouble</a>(m_propName);};
|
||||
00440 <span class="keyword">inline</span> operator wxDateTime()<span class="keyword"> const </span>{<span class="keywordflow">return</span> m_ctl-><a class="code" href="classwxActiveX.html#a22">GetPropAsDateTime</a>(m_propName);};
|
||||
00441 <span class="keyword">inline</span> operator void *()<span class="keyword"> const </span>{<span class="keywordflow">return</span> m_ctl-><a class="code" href="classwxActiveX.html#a23">GetPropAsPointer</a>(m_propName);};
|
||||
00442 };
|
||||
00443
|
||||
<a name="l00458"></a><a class="code" href="classwxActiveX.html#a13">00458</a> <span class="keyword">inline</span> wxPropertySetter <a class="code" href="classwxActiveX.html#a13">Prop</a>(wxString name) {<span class="keywordflow">return</span> wxPropertySetter(<span class="keyword">this</span>, name);}
|
||||
00459
|
||||
00460 VARIANT GetPropAsVariant(MEMBERID name);
|
||||
00461 VARIANT GetPropAsVariant(<span class="keyword">const</span> wxString& name);
|
||||
00462 wxVariant GetPropAsWxVariant(<span class="keyword">const</span> wxString& name);
|
||||
00463 wxString GetPropAsString(<span class="keyword">const</span> wxString& name);
|
||||
00464 <span class="keywordtype">char</span> GetPropAsChar(<span class="keyword">const</span> wxString& name);
|
||||
00465 <span class="keywordtype">long</span> GetPropAsLong(<span class="keyword">const</span> wxString& name);
|
||||
00466 <span class="keywordtype">bool</span> GetPropAsBool(<span class="keyword">const</span> wxString& name);
|
||||
00467 <span class="keywordtype">double</span> GetPropAsDouble(<span class="keyword">const</span> wxString& name);
|
||||
00468 wxDateTime GetPropAsDateTime(<span class="keyword">const</span> wxString& name);
|
||||
00469 <span class="keywordtype">void</span> *GetPropAsPointer(<span class="keyword">const</span> wxString& name);
|
||||
00470
|
||||
00471 <span class="comment">// methods</span>
|
||||
00472 <span class="comment">// VARIANTARG form is passed straight to Invoke, </span>
|
||||
00473 <span class="comment">// so args in *REVERSE* order</span>
|
||||
00474 VARIANT <a class="code" href="classwxActiveX.html#a26">CallMethod</a>(MEMBERID name, VARIANTARG args[], <span class="keywordtype">int</span> argc);
|
||||
00475 VARIANT <a class="code" href="classwxActiveX.html#a26">CallMethod</a>(wxString name, VARIANTARG args[] = NULL, <span class="keywordtype">int</span> argc = -1);
|
||||
00476 <span class="comment">// args are in *NORMAL* order</span>
|
||||
00477 <span class="comment">// args can be a single wxVariant or an array</span>
|
||||
00493 <span class="comment"> wxVariant CallMethod(wxString name, wxVariant args[], int nargs = -1);</span>
|
||||
00494
|
||||
00495 HRESULT ConnectAdvise(REFIID riid, IUnknown *eventSink);
|
||||
00496
|
||||
00497 <span class="keywordtype">void</span> OnSize(wxSizeEvent&);
|
||||
00498 <span class="keywordtype">void</span> OnPaint(wxPaintEvent& event);
|
||||
00499 <span class="keywordtype">void</span> OnMouse(wxMouseEvent& event);
|
||||
00500 <span class="keywordtype">void</span> OnSetFocus(wxFocusEvent&);
|
||||
00501 <span class="keywordtype">void</span> OnKillFocus(wxFocusEvent&);
|
||||
00502
|
||||
00503 DECLARE_EVENT_TABLE();
|
||||
00504
|
||||
00505 <span class="keyword">protected</span>:
|
||||
00506 <span class="keyword">friend</span> <span class="keyword">class </span>FrameSite;
|
||||
00507 <span class="keyword">friend</span> <span class="keyword">class </span>wxActiveXEvents;
|
||||
00508
|
||||
00509 <span class="keyword">typedef</span> map<MEMBERID, FuncX> FuncXMap;
|
||||
00510 <span class="keyword">typedef</span> map<wxString, FuncX, NS_wxActiveX::less_wxStringI> FuncXStringMap;
|
||||
00511 <span class="keyword">typedef</span> map<wxString, PropX, NS_wxActiveX::less_wxStringI> PropXMap;
|
||||
00512 <span class="keyword">typedef</span> <a class="code" href="classwxAutoOleInterface.html">wxAutoOleInterface<IConnectionPoint></a> wxOleConnectionPoint;
|
||||
00513 <span class="keyword">typedef</span> pair<wxOleConnectionPoint, DWORD> wxOleConnection;
|
||||
00514 <span class="keyword">typedef</span> vector<wxOleConnection> wxOleConnectionArray;
|
||||
00515
|
||||
00516 <a class="code" href="classwxAutoOleInterface.html">wxAutoOleInterface<IDispatch></a> m_Dispatch;
|
||||
00517 <a class="code" href="classwxAutoOleInterface.html">wxAutoOleInterface<IOleClientSite></a> m_clientSite;
|
||||
00518 <a class="code" href="classwxAutoOleInterface.html">wxAutoOleInterface<IUnknown></a> m_ActiveX;
|
||||
00519 <a class="code" href="classwxAutoOleInterface.html">wxAutoOleInterface<IOleObject></a> m_oleObject;
|
||||
00520 <a class="code" href="classwxAutoOleInterface.html">wxAutoOleInterface<IOleInPlaceObject></a> m_oleInPlaceObject;
|
||||
00521 <a class="code" href="classwxAutoOleInterface.html">wxAutoOleInterface<IOleInPlaceActiveObject></a>
|
||||
00522
|
||||
00523 m_oleInPlaceActiveObject;
|
||||
00524 <a class="code" href="classwxAutoOleInterface.html">wxAutoOleInterface<IOleDocumentView></a> m_docView;
|
||||
00525 <a class="code" href="classwxAutoOleInterface.html">wxAutoOleInterface<IViewObject></a> m_viewObject;
|
||||
00526 HWND m_oleObjectHWND;
|
||||
00527 <span class="keywordtype">bool</span> m_bAmbientUserMode;
|
||||
00528 DWORD m_docAdviseCookie;
|
||||
00529 wxOleConnectionArray m_connections;
|
||||
00530
|
||||
00531 <span class="keywordtype">void</span> CreateActiveX(REFCLSID clsid);
|
||||
00532 <span class="keywordtype">void</span> CreateActiveX(LPOLESTR progId);
|
||||
00533 HRESULT AmbientPropertyChanged(DISPID dispid);
|
||||
00534
|
||||
00535 <span class="keywordtype">void</span> GetTypeInfo();
|
||||
00536 <span class="keywordtype">void</span> GetTypeInfo(ITypeInfo *ti, <span class="keywordtype">bool</span> defInterface, <span class="keywordtype">bool</span> defEventSink);
|
||||
00537
|
||||
00538
|
||||
00539 <span class="comment">// events</span>
|
||||
00540 FuncXMap m_events;
|
||||
00541
|
||||
00542 <span class="comment">// properties</span>
|
||||
00543 PropXMap m_props;
|
||||
00544
|
||||
00545 <span class="comment">// Methods</span>
|
||||
00546 FuncXStringMap m_methods;
|
||||
00547
|
||||
00548 <span class="keywordtype">long</span> MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam);
|
||||
00549 };
|
||||
00550
|
||||
00551 <span class="comment">// events</span>
|
||||
00552 <span class="keyword">class </span>wxActiveXEvent : <span class="keyword">public</span> wxCommandEvent
|
||||
00553 {
|
||||
00554 <span class="keyword">private</span>:
|
||||
00555 <span class="keyword">friend</span> <span class="keyword">class </span>wxActiveXEvents;
|
||||
00556
|
||||
00557 wxVariant m_params;
|
||||
00558
|
||||
00559 <span class="keyword">public</span>:
|
||||
00560
|
||||
00561 <span class="keyword">virtual</span> wxEvent *Clone()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <span class="keyword">new</span> wxActiveXEvent(*<span class="keyword">this</span>); }
|
||||
00562
|
||||
00563 wxString EventName();
|
||||
00564 <span class="keywordtype">int</span> ParamCount() <span class="keyword">const</span>;
|
||||
00565 wxString ParamType(<span class="keywordtype">int</span> idx);
|
||||
00566 wxString ParamName(<span class="keywordtype">int</span> idx);
|
||||
00567 wxVariant& operator[] (<span class="keywordtype">int</span> idx);
|
||||
00568 wxVariant& operator[] (wxString name);
|
||||
00569 };
|
||||
00570
|
||||
00571 <span class="keyword">const</span> wxEventType& RegisterActiveXEvent(<span class="keyword">const</span> wxChar *eventName);
|
||||
00572 <span class="keyword">const</span> wxEventType& RegisterActiveXEvent(DISPID event);
|
||||
00573
|
||||
00574 <span class="keyword">typedef</span> void (wxEvtHandler::*wxActiveXEventFunction)(wxActiveXEvent&);
|
||||
00575
|
||||
<a name="l00578"></a><a class="code" href="wxactivex_8h.html#a10">00578</a> <span class="preprocessor">#define EVT_ACTIVEX(id, eventName, fn) DECLARE_EVENT_TABLE_ENTRY(RegisterActiveXEvent(wxT(eventName)), id, -1, (wxObjectEventFunction) (wxEventFunction) (wxActiveXEventFunction) & fn, (wxObject *) NULL ),</span>
|
||||
<a name="l00581"></a><a class="code" href="wxactivex_8h.html#a11">00581</a> <span class="preprocessor">#define EVT_ACTIVEX_DISPID(id, eventDispId, fn) DECLARE_EVENT_TABLE_ENTRY(RegisterActiveXEvent(eventDispId), id, -1, (wxObjectEventFunction) (wxEventFunction) (wxActiveXEventFunction) & fn, (wxObject *) NULL ),</span>
|
||||
00582 <span class="preprocessor"></span>
|
||||
00583 <span class="comment">//util</span>
|
||||
00584 <span class="keywordtype">bool</span> wxDateTimeToVariant(wxDateTime dt, VARIANTARG& va);
|
||||
00585 <span class="keywordtype">bool</span> VariantToWxDateTime(VARIANTARG va, wxDateTime& dt);
|
||||
00596 <span class="keywordtype">bool</span> MSWVariantToVariant(VARIANTARG& va, wxVariant& vx);
|
||||
00607 <span class="keywordtype">bool</span> VariantToMSWVariant(<span class="keyword">const</span> wxVariant& vx, VARIANTARG& va);
|
||||
00608
|
||||
00609 <span class="preprocessor">#endif </span><span class="comment">/* _IEHTMLWIN_H_ */</span>
|
||||
</pre></div><hr><address style="align: right;"><small>Generated on Tue Apr 1 14:51:12 2003 for wxActiveX by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border=0
|
||||
width=110 height=53></a>1.3-rc3 </small></address>
|
||||
</body>
|
||||
</html>
|
216
wxPython/contrib/activex/wxie/doxydoc/wxactivex_8h.html
Normal file
216
wxPython/contrib/activex/wxie/doxydoc/wxactivex_8h.html
Normal file
@@ -0,0 +1,216 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
|
||||
<title>wxactivex.h File Reference</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3-rc3 -->
|
||||
<center>
|
||||
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Data Structures</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Data Fields</a> <a class="qindex" href="globals.html">Globals</a> </center>
|
||||
<hr><h1>wxactivex.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
|
||||
implements <a class="el" href="classwxActiveX.html">wxActiveX</a> window class and OLE tools
|
||||
<p>
|
||||
|
||||
<p>
|
||||
Definition in file <a class="el" href="wxactivex_8h-source.html">wxactivex.h</a>.
|
||||
<p>
|
||||
<code>#include <wx/setup.h></code><br>
|
||||
<code>#include <wx/wx.h></code><br>
|
||||
<code>#include <wx/variant.h></code><br>
|
||||
<code>#include <wx/datetime.h></code><br>
|
||||
<code>#include <oleidl.h></code><br>
|
||||
<code>#include <exdisp.h></code><br>
|
||||
<code>#include <docobj.h></code><br>
|
||||
<code>#include <iostream></code><br>
|
||||
<code>#include <vector></code><br>
|
||||
<code>#include <map></code><br>
|
||||
|
||||
<p>
|
||||
<a href="wxactivex_8h-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0>
|
||||
<tr><td></td></tr>
|
||||
<tr><td colspan=2><br><h2>Namespaces</h2></td></tr>
|
||||
<tr><td nowrap align=right valign=top>namespace </td><td valign=bottom><a class="el" href="namespaceNS__wxActiveX.html">NS_wxActiveX</a></td></tr>
|
||||
<tr><td nowrap align=right valign=top>namespace </td><td valign=bottom><b>std</b></td></tr>
|
||||
<tr><td colspan=2><br><h2>Data Structures</h2></td></tr>
|
||||
<tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classwxAutoOleInterface.html">wxAutoOleInterface</a></td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Template class for smart interface handling.</em> <a href="classwxAutoOleInterface.html#_details">More...</a><em></em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classwxActiveX.html">wxActiveX</a></td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Main class for embedding a ActiveX control.</em> <a href="classwxActiveX.html#_details">More...</a><em></em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classwxActiveX_1_1ParamX.html">ParamX</a></td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>General parameter and return type infoformation for Events, Properties and Methods.</em> <a href="classwxActiveX_1_1ParamX.html#_details">More...</a><em></em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classwxActiveX_1_1FuncX.html">FuncX</a></td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Type & Parameter info for Events and Methods.</em> <a href="classwxActiveX_1_1FuncX.html#_details">More...</a><em></em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classwxActiveX_1_1PropX.html">PropX</a></td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Type info for properties.</em> <a href="classwxActiveX_1_1PropX.html#_details">More...</a><em></em></font><br><br></td></tr>
|
||||
<tr><td colspan=2><br><h2>Defines</h2></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a10" doxytag="wxactivex.h::EVT_ACTIVEX"></a>
|
||||
#define </td><td valign=bottom><a class="el" href="wxactivex_8h.html#a10">EVT_ACTIVEX</a>(id, eventName, fn) DECLARE_EVENT_TABLE_ENTRY(RegisterActiveXEvent(wxT(eventName)), id, -1, (wxObjectEventFunction) (wxEventFunction) (wxActiveXEventFunction) & fn, (wxObject *) NULL ),</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Event handle for events by name.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a11" doxytag="wxactivex.h::EVT_ACTIVEX_DISPID"></a>
|
||||
#define </td><td valign=bottom><a class="el" href="wxactivex_8h.html#a11">EVT_ACTIVEX_DISPID</a>(id, eventDispId, fn) DECLARE_EVENT_TABLE_ENTRY(RegisterActiveXEvent(eventDispId), id, -1, (wxObjectEventFunction) (wxEventFunction) (wxActiveXEventFunction) & fn, (wxObject *) NULL ),</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Event handle for events by DISPID (dispath id).</em></font><br><br></td></tr>
|
||||
<tr><td colspan=2><br><h2>Functions</h2></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a13" doxytag="wxactivex.h::OLEHResultToString"></a>
|
||||
wxString </td><td valign=bottom><a class="el" href="wxactivex_8h.html#a13">OLEHResultToString</a> (HRESULT hr)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Converts a std HRESULT to its error code. Hardcoded, by no means a definitive list.</em></font><br><br></td></tr>
|
||||
<tr><td nowrap align=right valign=top><a name="a14" doxytag="wxactivex.h::GetIIDName"></a>
|
||||
wxString </td><td valign=bottom><a class="el" href="wxactivex_8h.html#a14">GetIIDName</a> (REFIID riid)</td></tr>
|
||||
<tr><td> </td><td><font size=-1><em>Returns the string description of a IID. Hardcoded, by no means a definitive list.</em></font><br><br></td></tr>
|
||||
</table>
|
||||
<hr><h2>Define Documentation</h2>
|
||||
<a name="a3" doxytag="wxactivex.h::DECLARE_OLE_UNKNOWN"></a><p>
|
||||
<table width="100%" cellpadding="2" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td class="md">
|
||||
<table cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td class="md" nowrap valign="top"> #define DECLARE_OLE_UNKNOWN</td>
|
||||
<td class="md" valign="top">( </td>
|
||||
<td class="md" nowrap valign="top">cls </td>
|
||||
<td class="mdname1" valign="top" nowrap> </td>
|
||||
<td class="md" valign="top">) </td>
|
||||
<td class="md" nowrap>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table cellspacing=5 cellpadding=0 border=0>
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
<p>
|
||||
<b>Value:</b><div class="fragment"><pre><span class="keyword">private</span>:\
|
||||
<span class="keyword">class </span>TAutoInitInt\
|
||||
{\
|
||||
<span class="keyword">public</span>:\
|
||||
LONG l;\
|
||||
TAutoInitInt() : l(0) {}\
|
||||
};\
|
||||
TAutoInitInt refCount, lockCount;\
|
||||
wxOleInit oleInit;\
|
||||
<span class="keyword">static</span> <span class="keywordtype">void</span> _GetInterface(cls *self, REFIID iid, <span class="keywordtype">void</span> **_interface, <span class="keyword">const</span> <span class="keywordtype">char</span> *&desc);\
|
||||
<span class="keyword">public</span>:\
|
||||
LONG GetRefCount();\
|
||||
HRESULT STDMETHODCALLTYPE QueryInterface(REFIID iid, <span class="keywordtype">void</span> ** ppvObject);\
|
||||
ULONG STDMETHODCALLTYPE AddRef();\
|
||||
ULONG STDMETHODCALLTYPE Release();\
|
||||
ULONG STDMETHODCALLTYPE AddLock();\
|
||||
ULONG STDMETHODCALLTYPE ReleaseLock()
|
||||
</pre></div>
|
||||
<p>
|
||||
Definition at line <a class="el" href="wxactivex_8h-source.html#l00184">184</a> of file <a class="el" href="wxactivex_8h-source.html">wxactivex.h</a>. </td>
|
||||
</tr>
|
||||
</table>
|
||||
<a name="a5" doxytag="wxactivex.h::DEFINE_OLE_BASE"></a><p>
|
||||
<table width="100%" cellpadding="2" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td class="md">
|
||||
<table cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td class="md" nowrap valign="top"> #define DEFINE_OLE_BASE</td>
|
||||
<td class="md" valign="top">( </td>
|
||||
<td class="md" nowrap valign="top">cls </td>
|
||||
<td class="mdname1" valign="top" nowrap> </td>
|
||||
<td class="md" valign="top">) </td>
|
||||
<td class="md" nowrap>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table cellspacing=5 cellpadding=0 border=0>
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
<p>
|
||||
<b>Value:</b><div class="fragment"><pre><span class="keywordtype">void</span> cls::_GetInterface(cls *self, REFIID iid, <span class="keywordtype">void</span> **_interface, <span class="keyword">const</span> <span class="keywordtype">char</span> *&desc)\
|
||||
{\
|
||||
*_interface = NULL;\
|
||||
desc = NULL;
|
||||
</pre></div>
|
||||
<p>
|
||||
Definition at line <a class="el" href="wxactivex_8h-source.html#l00264">264</a> of file <a class="el" href="wxactivex_8h-source.html">wxactivex.h</a>. </td>
|
||||
</tr>
|
||||
</table>
|
||||
<a name="a6" doxytag="wxactivex.h::OLE_INTERFACE"></a><p>
|
||||
<table width="100%" cellpadding="2" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td class="md">
|
||||
<table cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td class="md" nowrap valign="top"> #define OLE_INTERFACE</td>
|
||||
<td class="md" valign="top">( </td>
|
||||
<td class="md" nowrap valign="top">_iid, <tr>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td class="md" nowrap>_type </td>
|
||||
<td class="mdname1" valign="top" nowrap> </td>
|
||||
<td class="md" valign="top">) </td>
|
||||
<td class="md" nowrap>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table cellspacing=5 cellpadding=0 border=0>
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
<p>
|
||||
<b>Value:</b><div class="fragment"><pre><span class="keywordflow">if</span> (IsEqualIID(iid, _iid))\
|
||||
{\
|
||||
WXOLE_TRACE(<span class="stringliteral">"Found Interface <"</span> # _type <span class="stringliteral">">"</span>);\
|
||||
*_interface = (IUnknown *) (_type *) self;\
|
||||
desc = # _iid;\
|
||||
<span class="keywordflow">return</span>;\
|
||||
}
|
||||
</pre></div>
|
||||
<p>
|
||||
Definition at line <a class="el" href="wxactivex_8h-source.html#l00270">270</a> of file <a class="el" href="wxactivex_8h-source.html">wxactivex.h</a>. </td>
|
||||
</tr>
|
||||
</table>
|
||||
<a name="a8" doxytag="wxactivex.h::OLE_INTERFACE_CUSTOM"></a><p>
|
||||
<table width="100%" cellpadding="2" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td class="md">
|
||||
<table cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td class="md" nowrap valign="top"> #define OLE_INTERFACE_CUSTOM</td>
|
||||
<td class="md" valign="top">( </td>
|
||||
<td class="md" nowrap valign="top">func </td>
|
||||
<td class="mdname1" valign="top" nowrap> </td>
|
||||
<td class="md" valign="top">) </td>
|
||||
<td class="md" nowrap>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table cellspacing=5 cellpadding=0 border=0>
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
<p>
|
||||
<b>Value:</b><div class="fragment"><pre><span class="keywordflow">if</span> (func(self, iid, _interface, desc))\
|
||||
{\
|
||||
<span class="keywordflow">return</span>;\
|
||||
}
|
||||
</pre></div>
|
||||
<p>
|
||||
Definition at line <a class="el" href="wxactivex_8h-source.html#l00281">281</a> of file <a class="el" href="wxactivex_8h-source.html">wxactivex.h</a>. </td>
|
||||
</tr>
|
||||
</table>
|
||||
<hr><address style="align: right;"><small>Generated on Tue Apr 1 14:51:12 2003 for wxActiveX by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border=0
|
||||
width=110 height=53></a>1.3-rc3 </small></address>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user