1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.0 Transitional//EN">
2 <html><head><meta http-equiv=
"Content-Type" content=
"text/html;charset=iso-8859-1">
3 <title>wxActiveX class Reference
</title>
4 <link href=
"doxygen.css" rel=
"stylesheet" type=
"text/css">
6 <!-- Generated by Doxygen 1.3-rc3 -->
8 <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>
9 <hr><h1>wxActiveX Class Reference
</h1><code>#include
<<a class=
"el" href=
"wxactivex_8h-source.html">wxactivex.h
</a>></code>
11 <hr><a name=
"_details"></a><h2>Detailed Description
</h2>
12 Main class for embedding a ActiveX control.
14 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>
15 <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)
16 </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)
17 </pre></div></dd></dl>
18 <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))
19 </pre></div>or
<div class=
"fragment"><pre> wxString
<a class=
"code" href=
"classwxActiveX.html#a13">Prop
</a>(
<span class=
"stringliteral">"<name>"</span>) = x
20 </pre></div><div class=
"fragment"><pre> wxString result =
<a class=
"code" href=
"classwxActiveX.html#a13">Prop
</a>(
<span class=
"stringliteral">"<name>"</span>)
21 </pre></div><div class=
"fragment"><pre> flash_ctl.Prop(
<span class=
"stringliteral">"movie"</span>) =
<span class=
"stringliteral">"file:///movies/test.swf"</span>;
22 </pre></div><div class=
"fragment"><pre> flash_ctl.Prop(
<span class=
"stringliteral">"Playing"</span>) =
<span class=
"keyword">false
</span>;
23 </pre></div><div class=
"fragment"><pre> wxString current_movie = flash_ctl.Prop(
<span class=
"stringliteral">"movie"</span>);
24 </pre></div></dd></dl>
25 <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)
26 </pre></div><div class=
"fragment"><pre> wxVariant args[] = {
0L,
<span class=
"stringliteral">"file:///e:/dev/wxie/bug-zap.swf"</span>};
27 wxVariant result = X-
>CallMethod(
<span class=
"stringliteral">"LoadMovie"</span>, args);
28 </pre></div></dd></dl>
29 <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>
30 BEGIN_EVENT_TABLE(wxIEFrame, wxFrame)
31 <a class=
"code" href=
"wxactivex_8h.html#a11">EVT_ACTIVEX_DISPID
</a>(ID_MSHTML, DISPID_STATUSTEXTCHANGE, OnMSHTMLStatusTextChangeX)
32 <a class=
"code" href=
"wxactivex_8h.html#a10">EVT_ACTIVEX
</a>(ID_MSHTML,
<span class=
"stringliteral">"BeforeNavigate2"</span>, OnMSHTMLBeforeNavigate2X)
33 <a class=
"code" href=
"wxactivex_8h.html#a10">EVT_ACTIVEX
</a>(ID_MSHTML,
<span class=
"stringliteral">"TitleChange"</span>, OnMSHTMLTitleChangeX)
34 <a class=
"code" href=
"wxactivex_8h.html#a10">EVT_ACTIVEX
</a>(ID_MSHTML,
<span class=
"stringliteral">"NewWindow2"</span>, OnMSHTMLNewWindow2X)
35 <a class=
"code" href=
"wxactivex_8h.html#a10">EVT_ACTIVEX
</a>(ID_MSHTML,
<span class=
"stringliteral">"ProgressChange"</span>, OnMSHTMLProgressChangeX)
37 </pre></div></dd></dl>
42 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>
44 <tr><td colspan=
2><br><h2>Public Member Functions
</h2></td></tr>
45 <tr><td nowrap align=right valign=top
><a name=
"a0" doxytag=
"wxActiveX::wxActiveX"></a>
46 </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>
47 <tr><td> </td><td><font size=-
1><em>Create using clsid.
</em></font><br><br></td></tr>
48 <tr><td nowrap align=right valign=top
><a name=
"a1" doxytag=
"wxActiveX::wxActiveX"></a>
49 </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>
50 <tr><td> </td><td><font size=-
1><em>create using progid.
</em></font><br><br></td></tr>
51 <tr><td nowrap align=right valign=top
><a name=
"a3" doxytag=
"wxActiveX::GetEventCount"></a>
52 int
</td><td valign=bottom
><a class=
"el" href=
"classwxActiveX.html#a3">GetEventCount
</a> () const
</td></tr>
53 <tr><td> </td><td><font size=-
1><em>Number of events defined for this control.
</em></font><br><br></td></tr>
54 <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>
55 <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>
56 <tr><td nowrap align=right valign=top
><a name=
"a5" doxytag=
"wxActiveX::GetPropCount"></a>
57 int
</td><td valign=bottom
><a class=
"el" href=
"classwxActiveX.html#a5">GetPropCount
</a> () const
</td></tr>
58 <tr><td> </td><td><font size=-
1><em>Number of properties defined for this control.
</em></font><br><br></td></tr>
59 <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>
60 <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>
61 <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>
62 <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>
63 <tr><td nowrap align=right valign=top
><a name=
"a8" doxytag=
"wxActiveX::GetMethodCount"></a>
64 int
</td><td valign=bottom
><a class=
"el" href=
"classwxActiveX.html#a8">GetMethodCount
</a> () const
</td></tr>
65 <tr><td> </td><td><font size=-
1><em>Number of methods defined for this control.
</em></font><br><br></td></tr>
66 <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>
67 <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>
68 <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>
69 <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>
70 <tr><td nowrap align=right valign=top
><a name=
"a11" doxytag=
"wxActiveX::SetProp"></a>
71 void
</td><td valign=bottom
><a class=
"el" href=
"classwxActiveX.html#a11">SetProp
</a> (MEMBERID name, VARIANTARG
&value)
</td></tr>
72 <tr><td> </td><td><font size=-
1><em>Set property VARIANTARG value by MEMBERID.
</em></font><br><br></td></tr>
73 <tr><td nowrap align=right valign=top
><a name=
"a12" doxytag=
"wxActiveX::SetProp"></a>
74 void
</td><td valign=bottom
><a class=
"el" href=
"classwxActiveX.html#a12">SetProp
</a> (const wxString
&name, const wxVariant
&value)
</td></tr>
75 <tr><td> </td><td><font size=-
1><em>Set property using wxVariant by name.
</em></font><br><br></td></tr>
76 <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>
77 <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>
78 <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>
79 <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>
80 <tr><td colspan=
2><br><h2>Related Functions
</h2></td></tr>
81 <tr><td colspan=
2>(Note that these are not member functions.)
<br><br></td></tr>
82 <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>
83 <tr><td> </td><td><font size=-
1><em>Convert MSW VARIANTARG to wxVariant. Handles basic types, need to add:
<ul>
84 <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>
85 </em> <a href=
"#k0"></a><em></em></font><br><br></td></tr>
86 <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>
87 <tr><td> </td><td><font size=-
1><em>Convert wxVariant to MSW VARIANTARG. Handles basic types, need to add:
<ul>
88 <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>
89 </em> <a href=
"#k1"></a><em></em></font><br><br></td></tr>
91 <hr><h2>Member Function Documentation
</h2>
92 <a name=
"a4" doxytag=
"wxActiveX::GetEventDesc"></a><p>
93 <table width=
"100%" cellpadding=
"2" cellspacing=
"0" border=
"0">
96 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
98 <td class=
"md" nowrap
valign=
"top"> const
<a class=
"el" href=
"classwxActiveX_1_1FuncX.html">FuncX
</a>& wxActiveX::GetEventDesc
</td>
99 <td class=
"md" valign=
"top">(
</td>
100 <td class=
"md" nowrap
valign=
"top">int
</td>
101 <td class=
"mdname1" valign=
"top" nowrap
> <em>idx
</em> </td>
102 <td class=
"md" valign=
"top">)
</td>
103 <td class=
"md" nowrap
> const
</td>
110 <table cellspacing=
5 cellpadding=
0 border=
0>
118 returns event description by index.
120 throws exception for invalid index
</td>
123 <a name=
"a6" doxytag=
"wxActiveX::GetPropDesc"></a><p>
124 <table width=
"100%" cellpadding=
"2" cellspacing=
"0" border=
"0">
127 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
129 <td class=
"md" nowrap
valign=
"top"> const
<a class=
"el" href=
"classwxActiveX_1_1PropX.html">PropX
</a>& wxActiveX::GetPropDesc
</td>
130 <td class=
"md" valign=
"top">(
</td>
131 <td class=
"md" nowrap
valign=
"top">int
</td>
132 <td class=
"mdname1" valign=
"top" nowrap
> <em>idx
</em> </td>
133 <td class=
"md" valign=
"top">)
</td>
134 <td class=
"md" nowrap
> const
</td>
141 <table cellspacing=
5 cellpadding=
0 border=
0>
149 returns property description by index.
151 throws exception for invalid index
</td>
154 <a name=
"a7" doxytag=
"wxActiveX::GetPropDesc"></a><p>
155 <table width=
"100%" cellpadding=
"2" cellspacing=
"0" border=
"0">
158 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
160 <td class=
"md" nowrap
valign=
"top"> const
<a class=
"el" href=
"classwxActiveX_1_1PropX.html">PropX
</a>& wxActiveX::GetPropDesc
</td>
161 <td class=
"md" valign=
"top">(
</td>
162 <td class=
"md" nowrap
valign=
"top">wxString
</td>
163 <td class=
"mdname1" valign=
"top" nowrap
> <em>name
</em> </td>
164 <td class=
"md" valign=
"top">)
</td>
165 <td class=
"md" nowrap
> const
</td>
172 <table cellspacing=
5 cellpadding=
0 border=
0>
180 returns property description by name.
182 throws exception for invalid name
</td>
185 <a name=
"a9" doxytag=
"wxActiveX::GetMethodDesc"></a><p>
186 <table width=
"100%" cellpadding=
"2" cellspacing=
"0" border=
"0">
189 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
191 <td class=
"md" nowrap
valign=
"top"> const
<a class=
"el" href=
"classwxActiveX_1_1FuncX.html">FuncX
</a>& wxActiveX::GetMethodDesc
</td>
192 <td class=
"md" valign=
"top">(
</td>
193 <td class=
"md" nowrap
valign=
"top">int
</td>
194 <td class=
"mdname1" valign=
"top" nowrap
> <em>idx
</em> </td>
195 <td class=
"md" valign=
"top">)
</td>
196 <td class=
"md" nowrap
> const
</td>
203 <table cellspacing=
5 cellpadding=
0 border=
0>
211 returns method description by name.
213 throws exception for invalid index
</td>
216 <a name=
"a10" doxytag=
"wxActiveX::GetMethodDesc"></a><p>
217 <table width=
"100%" cellpadding=
"2" cellspacing=
"0" border=
"0">
220 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
222 <td class=
"md" nowrap
valign=
"top"> const
<a class=
"el" href=
"classwxActiveX_1_1FuncX.html">FuncX
</a>& wxActiveX::GetMethodDesc
</td>
223 <td class=
"md" valign=
"top">(
</td>
224 <td class=
"md" nowrap
valign=
"top">wxString
</td>
225 <td class=
"mdname1" valign=
"top" nowrap
> <em>name
</em> </td>
226 <td class=
"md" valign=
"top">)
</td>
227 <td class=
"md" nowrap
> const
</td>
234 <table cellspacing=
5 cellpadding=
0 border=
0>
242 returns method description by name.
244 throws exception for invalid name
</td>
247 <a name=
"a13" doxytag=
"wxActiveX::Prop"></a><p>
248 <table width=
"100%" cellpadding=
"2" cellspacing=
"0" border=
"0">
251 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
253 <td class=
"md" nowrap
valign=
"top"> wxPropertySetter wxActiveX::Prop
</td>
254 <td class=
"md" valign=
"top">(
</td>
255 <td class=
"md" nowrap
valign=
"top">wxString
</td>
256 <td class=
"mdname1" valign=
"top" nowrap
> <em>name
</em> </td>
257 <td class=
"md" valign=
"top">)
</td>
258 <td class=
"md" nowrap
><code> [inline]
</code></td>
265 <table cellspacing=
5 cellpadding=
0 border=
0>
273 Generic Get/Set Property by name. Automatically handles most types.
275 <dl compact
><dt><b>Parameters:
</b></dt><dd>
276 <table border=
"0" cellspacing=
"2" cellpadding=
"0">
277 <tr><td valign=top
><em>name
</em> </td><td>Property name to read/set
</td></tr>
280 <dl compact
><dt><b>Returns:
</b></dt><dd>wxPropertySetter, which has overloads for setting/getting the property
</dd></dl>
282 <dl compact
><dt><b>Usage:
</b></dt><dd><ul>
283 <li>Prop("
<name
>") =
<value
></li><li>var = Prop("
<name
>")
</li><li>e.g:
<ul>
284 <li><div class=
"fragment"><pre> flash_ctl.Prop(
<span class=
"stringliteral">"movie"</span>) =
<span class=
"stringliteral">"file:///movies/test.swf"</span>;
285 </pre></div></li><li><div class=
"fragment"><pre> flash_ctl.Prop(
<span class=
"stringliteral">"Playing"</span>) =
<span class=
"keyword">false
</span>;
286 </pre></div></li><li><div class=
"fragment"><pre> wxString current_movie = flash_ctl.Prop(
<span class=
"stringliteral">"movie"</span>);
287 </pre></div></li></ul>
290 <dl compact
><dt><b>Exceptions:
</b></dt><dd>
291 <table border=
"0" cellspacing=
"2" cellpadding=
"0">
292 <tr><td valign=top
><em>raises
</em> </td><td>exception if
<name
> is invalid
</td></tr>
295 <dl compact
><dt><b>Note:
</b></dt><dd>Have to add a few more type conversions yet ...
</dd></dl>
298 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>
301 <a name=
"a26" doxytag=
"wxActiveX::CallMethod"></a><p>
302 <table width=
"100%" cellpadding=
"2" cellspacing=
"0" border=
"0">
305 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
307 <td class=
"md" nowrap
valign=
"top"> wxVariant wxActiveX::CallMethod
</td>
308 <td class=
"md" valign=
"top">(
</td>
309 <td class=
"md" nowrap
valign=
"top">wxString
</td>
310 <td class=
"mdname" nowrap
> <em>name
</em>,
</td>
315 <td class=
"md" nowrap
>wxVariant
</td>
316 <td class=
"mdname" nowrap
> <em>args
</em>[],
</td>
321 <td class=
"md" nowrap
>int
</td>
322 <td class=
"mdname" nowrap
> <em>nargs
</em> = -
1</td>
326 <td class=
"md">)
</td>
327 <td class=
"md" colspan=
"2"></td>
334 <table cellspacing=
5 cellpadding=
0 border=
0>
342 Call a method of the ActiveX control. Automatically handles most types.
344 <dl compact
><dt><b>Parameters:
</b></dt><dd>
345 <table border=
"0" cellspacing=
"2" cellpadding=
"0">
346 <tr><td valign=top
><em>name
</em> </td><td>name of method to call
</td></tr>
347 <tr><td valign=top
><em>args
</em> </td><td>array of wxVariant's, defaults to NULL (no args)
</td></tr>
348 <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>
351 <dl compact
><dt><b>Returns:
</b></dt><dd>wxVariant
</dd></dl>
353 <dl compact
><dt><b>Usage:
</b></dt><dd><ul>
354 <li>result = CallMethod("
<name
>", args, nargs)
</li><li>e.g.
</li><li><div class=
"fragment"><pre>
355 wxVariant args[] = {
0L,
<span class=
"stringliteral">"file:///e:/dev/wxie/bug-zap.swf"</span>};
356 wxVariant result = X-
>CallMethod(
<span class=
"stringliteral">"LoadMovie"</span>, args);
357 </pre></div></li></ul>
359 <dl compact
><dt><b>Exceptions:
</b></dt><dd>
360 <table border=
"0" cellspacing=
"2" cellpadding=
"0">
361 <tr><td valign=top
><em>raises
</em> </td><td>exception if
<name
> is invalid
</td></tr>
364 <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>
368 <hr><h2>Friends And Related Function Documentation
</h2>
369 <a name=
"k0" doxytag=
"wxActiveX::MSWVariantToVariant"></a><p>
370 <table width=
"100%" cellpadding=
"2" cellspacing=
"0" border=
"0">
373 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
375 <td class=
"md" nowrap
valign=
"top"> bool MSWVariantToVariant
</td>
376 <td class=
"md" valign=
"top">(
</td>
377 <td class=
"md" nowrap
valign=
"top">VARIANTARG
& </td>
378 <td class=
"mdname" nowrap
> <em>va
</em>,
</td>
383 <td class=
"md" nowrap
>wxVariant
& </td>
384 <td class=
"mdname" nowrap
> <em>vx
</em></td>
388 <td class=
"md">)
</td>
389 <td class=
"md" colspan=
"2"><code> [related]
</code></td>
396 <table cellspacing=
5 cellpadding=
0 border=
0>
404 Convert MSW VARIANTARG to wxVariant. Handles basic types, need to add:
<ul>
405 <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>
408 <dl compact
><dt><b>Parameters:
</b></dt><dd>
409 <table border=
"0" cellspacing=
"2" cellpadding=
"0">
410 <tr><td valign=top
><em>va
</em> </td><td>VARAIANTARG to convert from
</td></tr>
411 <tr><td valign=top
><em>vx
</em> </td><td>Destination wxVariant
</td></tr>
414 <dl compact
><dt><b>Returns:
</b></dt><dd>success/failure (true/false)
</dd></dl>
418 <a name=
"k1" doxytag=
"wxActiveX::VariantToMSWVariant"></a><p>
419 <table width=
"100%" cellpadding=
"2" cellspacing=
"0" border=
"0">
422 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
424 <td class=
"md" nowrap
valign=
"top"> bool VariantToMSWVariant
</td>
425 <td class=
"md" valign=
"top">(
</td>
426 <td class=
"md" nowrap
valign=
"top">const wxVariant
& </td>
427 <td class=
"mdname" nowrap
> <em>vx
</em>,
</td>
432 <td class=
"md" nowrap
>VARIANTARG
& </td>
433 <td class=
"mdname" nowrap
> <em>va
</em></td>
437 <td class=
"md">)
</td>
438 <td class=
"md" colspan=
"2"><code> [related]
</code></td>
445 <table cellspacing=
5 cellpadding=
0 border=
0>
453 Convert wxVariant to MSW VARIANTARG. Handles basic types, need to add:
<ul>
454 <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>
457 <dl compact
><dt><b>Parameters:
</b></dt><dd>
458 <table border=
"0" cellspacing=
"2" cellpadding=
"0">
459 <tr><td valign=top
><em>vx
</em> </td><td>wxVariant to convert from
</td></tr>
460 <tr><td valign=top
><em>va
</em> </td><td>Destination VARIANTARG
</td></tr>
463 <dl compact
><dt><b>Returns:
</b></dt><dd>success/failure (true/false)
</dd></dl>
467 <hr>The documentation for this class was generated from the following file:
<ul>
468 <li><a class=
"el" href=
"wxactivex_8h-source.html">wxactivex.h
</a></ul>
469 <hr><address style=
"align: right;"><small>Generated on Tue Apr
1 14:
51:
12 2003 for wxActiveX by
470 <a href=
"http://www.doxygen.org/index.html">
471 <img src=
"doxygen.png" alt=
"doxygen" align=
"middle" border=
0
472 width=
110 height=
53></a>1.3-rc3
</small></address>