X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/13baae2c95ae2e0eb01736b7d1fac6be4a2e6a3f..b7c75283f2144469e8fa6a24ca285b42fab69a6b:/wxPython/contrib/activex/wxie/doxydoc/classwxActiveX.html diff --git a/wxPython/contrib/activex/wxie/doxydoc/classwxActiveX.html b/wxPython/contrib/activex/wxie/doxydoc/classwxActiveX.html new file mode 100644 index 0000000000..78582380da --- /dev/null +++ b/wxPython/contrib/activex/wxie/doxydoc/classwxActiveX.html @@ -0,0 +1,474 @@ + +
+#include <wxactivex.h>
++
+Use by itself or derive from it
new wxActiveX(parent, CLSID_WebBrowser, id, pos, size, style, name) +
new wxActiveX(parent, "ShockwaveFlash.ShockwaveFlash", id, pos, size, style, name) +
SetProp()
and set/retrieved using Prop()
SetProp(name, wxVariant(x)) +
wxString Prop("<name>") = x +
wxString result = Prop("<name>") +
flash_ctl.Prop("movie") = "file:///movies/test.swf"; +
flash_ctl.Prop("Playing") = false; +
wxString current_movie = flash_ctl.Prop("movie");
+
CallMethod()
wxVariant result = CallMethod("<name>", args, nargs = -1) +
wxVariant args[] = {0L, "file:///e:/dev/wxie/bug-zap.swf"}; + wxVariant result = X->CallMethod("LoadMovie", args); +
EVT_ACTIVEX(controlId, eventName, handler)
& EVT_ACTIVEX_DISPID(controlId, eventDispId, handler)
macros + BEGIN_EVENT_TABLE(wxIEFrame, wxFrame) + EVT_ACTIVEX_DISPID(ID_MSHTML, DISPID_STATUSTEXTCHANGE, OnMSHTMLStatusTextChangeX) + EVT_ACTIVEX(ID_MSHTML, "BeforeNavigate2", OnMSHTMLBeforeNavigate2X) + EVT_ACTIVEX(ID_MSHTML, "TitleChange", OnMSHTMLTitleChangeX) + EVT_ACTIVEX(ID_MSHTML, "NewWindow2", OnMSHTMLNewWindow2X) + EVT_ACTIVEX(ID_MSHTML, "ProgressChange", OnMSHTMLProgressChangeX) + END_EVENT_TABLE() +
+ +
+Definition at line 329 of file wxactivex.h.
Public Member Functions | |
+ | wxActiveX (wxWindow *parent, REFCLSID clsid, wxWindowID id=-1, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=0, const wxString &name=wxPanelNameStr) |
Create using clsid. | |
+ | wxActiveX (wxWindow *parent, wxString progId, wxWindowID id=-1, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=0, const wxString &name=wxPanelNameStr) |
create using progid. | |
+int | GetEventCount () const |
Number of events defined for this control. | |
const FuncX & | GetEventDesc (int idx) const |
returns event description by index. | |
+int | GetPropCount () const |
Number of properties defined for this control. | |
const PropX & | GetPropDesc (int idx) const |
returns property description by index. | |
const PropX & | GetPropDesc (wxString name) const |
returns property description by name. | |
+int | GetMethodCount () const |
Number of methods defined for this control. | |
const FuncX & | GetMethodDesc (int idx) const |
returns method description by name. | |
const FuncX & | GetMethodDesc (wxString name) const |
returns method description by name. | |
+void | SetProp (MEMBERID name, VARIANTARG &value) |
Set property VARIANTARG value by MEMBERID. | |
+void | SetProp (const wxString &name, const wxVariant &value) |
Set property using wxVariant by name. | |
wxPropertySetter | Prop (wxString name) |
Generic Get/Set Property by name. Automatically handles most types. | |
wxVariant | CallMethod (wxString name, wxVariant args[], int nargs=-1) |
Call a method of the ActiveX control. Automatically handles most types. | |
Related Functions | |
(Note that these are not member functions.) | |
bool | MSWVariantToVariant (VARIANTARG &va, wxVariant &vx) |
Convert MSW VARIANTARG to wxVariant. Handles basic types, need to add:
| |
bool | VariantToMSWVariant (const wxVariant &vx, VARIANTARG &va) |
Convert wxVariant to MSW VARIANTARG. Handles basic types, need to add:
|
+
+
|
+
+ + | +
+
+ +returns event description by index. + +throws exception for invalid index |
+
+
+
|
+
+ + | +
+
+ +returns property description by index. + +throws exception for invalid index |
+
+
+
|
+
+ + | +
+
+ +returns property description by name. + +throws exception for invalid name |
+
+
+
|
+
+ + | +
+
+ +returns method description by name. + +throws exception for invalid index |
+
+
+
|
+
+ + | +
+
+ +returns method description by name. + +throws exception for invalid name |
+
+
+
|
+
+ + | +
+
+ +Generic Get/Set Property by name. Automatically handles most types. + +
+
+Definition at line 458 of file wxactivex.h. |
+
+
+
|
+
+ + | +
+
+ +Call a method of the ActiveX control. Automatically handles most types. + +
+
|
+
+
+
|
+
+ + | +
+
+ +Convert MSW VARIANTARG to wxVariant. Handles basic types, need to add:
+
|
+
+
+
|
+
+ + | +
+
+ +Convert wxVariant to MSW VARIANTARG. Handles basic types, need to add:
+
|
+