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
		
			
				
	
	
		
			79 lines
		
	
	
		
			4.8 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			79 lines
		
	
	
		
			4.8 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <!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>
 |