C# Класс csExWB.cEXWB

Наследование: System.Windows.Forms.Control, IOleClientSite, IOleInPlaceSite, IDocHostShowUI, IDocHostUIHandler, DWebBrowserEvents2, IfacesEnumsStructsClasses.IDropTarget, IfacesEnumsStructsClasses.IServiceProvider, IHttpSecurity, IWindowForBindingUI, INewWindowManager, IAuthenticate, IOleCommandTarget, IInternetSecurityManager, IHTMLEventCallBack, IProtectFocus, IHTMLOMWindowServices
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
AddThisIEServerHwndToComLib void
DISPATCH_WindowClosing void
DWebBrowserEvents2 void
DWebBrowserEvents2 void
DWebBrowserEvents2 void
DWebBrowserEvents2 void
DWebBrowserEvents2 void
DWebBrowserEvents2 void
DWebBrowserEvents2 void
DWebBrowserEvents2 void
DWebBrowserEvents2 void
DWebBrowserEvents2 void
DWebBrowserEvents2 void
DWebBrowserEvents2 void
DWebBrowserEvents2 void
ExecWB void
GetElementByName bool
GetFrames List
GetHistorySession bool
HresultAsString string
IAuthenticate int
IDocHostShowUI int
IDocHostShowUI int
IDocHostUIHandler int
IDocHostUIHandler int
IDocHostUIHandler int
IDocHostUIHandler int
IDocHostUIHandler int
IDocHostUIHandler int
IDocHostUIHandler int
IDocHostUIHandler int
IDocHostUIHandler int
IDocHostUIHandler int
IDocHostUIHandler int
IDocHostUIHandler int
IHTMLChangeSink int
IHTMLEditHost int
IHttpSecurity int
IHttpSecurity int
IInternetSecurityManager int
IInternetSecurityManager int
IInternetSecurityManager int
IInternetSecurityManager int
IInternetSecurityManager int
IInternetSecurityManager int
IInternetSecurityManager int
INewWindowManager int
IOleClientSite int
IOleClientSite int
IOleClientSite int
IOleClientSite int
IOleCommandTarget int
IOleCommandTarget int
IOleInPlaceSite int
IOleInPlaceSite int
IOleInPlaceSite int
IOleInPlaceSite int
IOleInPlaceSite int
IOleInPlaceSite int
IWindowForBindingUI int
Idispatch_AmbiantDlControl_Invoke_Handler int
IfacesEnumsStructsClasses int
IfacesEnumsStructsClasses int
IfacesEnumsStructsClasses int
IfacesEnumsStructsClasses int
InitCOMLibrary void
InternalCreateWB void
InternalFreeWB void
IsWBFrameset bool
IsWBFrameset bool
MakeRGB int
PerformAutomationTask bool
RemCOMLibrary void
RemoveDocumentChangeNotification void
RemoveIUtilManEvents void
SecondaryOnLoadEvent void
SecondaryOnUnloadEvent void
SetFocusBody void
SetLocation void
SetupDocumentChangeNotification bool
ShellUIHelperMiscCommands int
ShowMiscCommands int
StartApp void
SynchDOCDOWNLOADCTLFLAG void
SynchDOCHOSTUIFLAG void
TopLevelOnLoadEvent void
TopLevelOnUnloadEvent void
WBFramesCount int
WBIEServerHandle IntPtr
WBOleCommandExec int
WBOleCommandExec int
WBShellDocObjHandle IntPtr
WBShellEmbedingHandle IntPtr

Открытые методы

Метод Описание
AddToFavorites ( ) : void
AddTravelLogEntry ( string url, string title ) : ITravelLogEntry
AddUrlToTrustedZone ( string url ) : int

Adds a given url to the Internet explorer trusted zone

AutomationTask_NamedLinkScrollIntoView ( string nameorid ) : bool

Attempts to scroll into view a link given it's name or id

AutomationTask_PerformAuthentication ( string txtUserNameOrId, string txtPasswordNameOrId, string strUserName, string strPassword, bool bForceNewValue, bool bAutoSubmit ) : bool

Attempts to find two input fields given their name or id and fill them with given values This method accounts for frames and iframes, searchs all of them If bForceNewValue is true and the inputs already have a value then their values will be replaced with the given strings If bAutoSubmit is true the parent form is located and it's submit method is called

AutomationTask_PerformClickButton ( string btnnameorid ) : bool

Performs a click on a Button element with given name

AutomationTask_PerformClickLink ( string linknameorid ) : bool
AutomationTask_PerformEnterData ( string inputnameorid, string strValue ) : bool
AutomationTask_PerformEnterDataTextArea ( string inputnameorid, string strValue ) : bool
AutomationTask_PerformMultiSelectListItems ( List selects ) : void

Attempts to select all the items within a given select list

AutomationTask_PerformSelectList ( string selectnameorid, string listitemvalueortext ) : bool

Attempts to select an item from a selection list based on the item value or text

AutomationTask_PerformSelectRadio ( string radionameorid ) : bool
AutomationTask_PerformSelectRadio2 ( string radionameorid, string value ) : bool

Selects a radio/check based on name or id and value - Jake

AutomationTask_PerformSubmitForm ( string formnameorid ) : bool
AutomationTask_SimulateKeyStroke ( Keys keycode ) : void

Simulates a keystroke. The targetelement must have focus

Clear ( ) : bool
ClearHistory ( ) : bool

Attempts to clear browsing history

ClearSelection ( ) : bool
ClearSessionCookies ( ) : bool

Clears session cookies

ClickActiveElement ( ) : void

Calls click method of active element

Copy ( ) : bool
CreateInternetShortCut ( string LocalFileName, string URL, string Description, string IconFileName, int IconIndex ) : bool

Attempts to create an internet short cut givena filename and url

Cut ( ) : bool
DWebBrowserEvents2 ( bool FullScreen ) : void
Delete ( ) : bool
DisableScriptDebugger ( ) : string

Attempts to set Disable Script Debugger registry keyname to yes to enable our control to receive script errors. Default value of this key in IE6 is yes and in IE7 is no?

DownloadFile ( string Url ) : int

Attempts to download a file asynch. FileDownloadExxxx events are used for notifications.

ElementFromPoint ( bool bTopLevel, int X, int Y ) : IHTMLElement

Wrapper for IHTMLDocument2.elementFromPoint method Attempts to retreive an HTML element from given x and y coordinates relative to the main document or if frameset relative to the active document

ElementFromPoint ( int clientx, int clienty ) : IHTMLElement

Wrapper for IHTMLDocument2.elementFromPoint method Attempts to retreive an HTML element from given x and y coordinates, accounts for FRAMES and IFRAMES

ElementToPoint ( IHTMLElement elem ) : Point

Attempts to return absolute position of a given html element

ExecCommand ( bool bTopLevel, string CmdId, bool showUI, object CmdValue ) : bool
Find ( ) : bool
FindAndHightAllInPage ( string sFind, bool MatchWholeWord, bool MatchCase, Color cbackColor, Color cForeColor ) : int
FindAndHightAllInPage ( string sFind, bool MatchWholeWord, bool MatchCase, int cbackColor, int cForeColor ) : int
FindAndHightAllInPage ( string sFind, bool MatchWholeWord, bool MatchCase, string cbackColor, string cForeColor ) : int
FindInPage ( string sFind, bool DownWard, bool MatchWholeWord, bool MatchCase, bool ScrollIntoView ) : bool
FindInPageSimple ( IHTMLDocument2 pDoc2, string sFind, bool DownWard, bool MatchWholeWord, bool MatchCase ) : bool

Searches a given document for a match Does not continue from where a match was found Use FindInPage method instead

FramesCount ( ) : int

Returns number of FRAMES in a FRAMESET document

GetActiveDocument ( ) : IHTMLDocument2

Attempts to return active IHTMLDocument2 interface instance

GetActiveDocument3 ( ) : IHTMLDocument3

Attempts to return active IHTMLDocument3 interface instance

GetActiveDocument4 ( ) : IHTMLDocument4

Attempts to return active IHTMLDocument4 interface instance

GetActiveElement ( ) : IHTMLElement

Attempts to return active IHTMLElement interface instance Accounts for Frames and Iframes

GetActiveWebBrowser2 ( ) : IWebBrowser2

Attempts to return active IWebbrowser2 interface instance

GetActiveWindow2 ( ) : IHTMLWindow2

Attempts to return active IHTMLWindow2 interface instance

GetAllLinks ( ) : List

Attempts to collect and return a collection of A elements from the document. Accounts for frames.

GetAllowHTMLDialogs ( ) : bool
GetAnchors ( bool bTopLevel ) : IHTMLElementCollection

Attempts to return a collection of A elements

GetDesignMode ( ) : string

Returns the value of IHTMLDocument2.designMode

GetDocumentScriptObjects ( ) : string

Experimental, do not use!

GetElementByID ( bool bTopLevel, string idval ) : IHTMLElement

Wrapper for IHTMLDocument3.getElementById method

GetElementsByName ( bool bTopLevel, string elemname ) : IHTMLElementCollection

Wrapper for IHTMLDocument3.getElementsByName method

GetElementsByNameOrId ( string NameOrId ) : List

Attempts to return a List of IHTMLElements with the given Name or Id If document is frameset then all frames are searched

GetElementsByTagName ( bool bTopLevel, String tagname ) : IHTMLElementCollection

Wrapper for IHTMLDocument3.getElementsByTagName method

GetFrames ( ) : List

Returns a list of IWebBrowser2 instances. Each IWebBrowser2 instance represents a FRAME

GetImages ( bool bTopLevel ) : IHTMLElementCollection

Attempts to return a collection of images

GetOpticalZoomRange ( ) : int[]

Attempts to retreive optical zoom range. Example: int[] range = m_CurWB.GetOpticalZoomRange(); AllForms.m_frmLog.AppendToLog( "Min==>" + range[0].ToString() + "\r\nMax==>" + range[1].ToString());

GetSelectedText ( bool bTopLevel, bool ReturnAsHTML ) : string

Attempts to retreive selected text

GetSource ( IWebBrowser2 thisBrowser ) : string
GetSource ( bool bTopLevel ) : string
GetText ( IWebBrowser2 thisBrowser ) : string
GetText ( bool bTopLevel ) : string
GetTitle ( IWebBrowser2 thisBrowser ) : string
GetTitle ( bool bTopLevel ) : string
GetTraveLogEntries ( ) : List

Returns a list of all visited urls

GetTravelLogCount ( ) : int
GetTravelLogEntries ( TravelLogEntries flags ) : List
GoBack ( ) : bool
GoForward ( ) : bool
GoHome ( ) : void
GoSearch ( ) : void
HasFocus ( ) : bool
ICustomProtocolSink ( byte data, string Url, string mimeType, object sink ) : void
ICustomProtocolSink ( int Inet_Error_Code, object sink ) : void
IEOptions ( ) : bool
IEVersion ( ) : string

Attempts to find IE version by searching IOmNavigator.userAgnet

IHTMLOMWindowServices ( int x, int y ) : void
IManagedProtocolSink ( byte data, string Url, string mimeType, object sink ) : void

Called from DownloadCompleted method of DownloadRequestEventArgs event argument passed to client via ProtocolHandlerOnStart event

IManagedProtocolSink ( int Inet_Error_Code, object sink ) : void

Called from CancelDownloadRequest method of DownloadRequestEventArgs event argument passed to client via ProtocolHandlerOnStart event

IManagedProtocolSink ( string Url, string mimeType, object sink, string CacheFileName ) : void
IProtectFocus ( bool &pfAllow ) : void
ImportExport ( ) : void
InvokeScript ( IWebBrowser2 wb, string ScriptName, object Data ) : object
InvokeScript ( string ScriptName, object Data ) : object

Invokes a script within the HTML page

IsCommandEnabled ( string sCmdId ) : bool

Attempts to determine if commands such as "Cut", "Copy", "Paste", etc are enabled

IsFrameset ( ) : bool

Determines if the current document is a FRAMESET

LanguageDialog ( ) : void
LoadHtmlIntoBrowser ( string html ) : bool
LoadHtmlIntoBrowser ( string html, IWebBrowser2 wb ) : bool
LoadHtmlIntoBrowser ( string html, string sBaseUrl ) : bool
LoadUrlIntoBrowser ( String url ) : bool
NavToBlank ( ) : void
Navigate ( string URL ) : void
Navigate ( string URL, BrowserNavConstants Flags ) : void
Navigate ( string URL, BrowserNavConstants Flags, string PostData ) : void
Navigate ( string URL, BrowserNavConstants Flags, string TargetFrameName, string PostData ) : void
Navigate ( string URL, byte PostData ) : void
Navigate ( string URL, int BrowserNavConstants_Flags ) : void

Navigates to a given url using a combination of BrowserNavConsts

Navigate ( string URL, string PostData ) : void
Navigate2 ( string URL ) : void
NewWindow ( ) : bool
OleCommandExec ( bool bTopLevel, MSHTML_COMMAND_IDS CmdID ) : bool
OleCommandExec ( bool bTopLevel, MSHTML_COMMAND_IDS CmdID, object pvaIn ) : bool
OrganizeFavorites ( ) : void
PageSetup ( ) : bool
Paste ( ) : bool
PasteSpecial ( ) : bool
PreProcessMessage ( Message &msg ) : bool
Print ( ) : bool
Print2 ( ) : bool
PrintDocument ( ) : void

Alternative to Print method

PrintPreview ( ) : bool
PrintPreview2 ( ) : bool
PrintPreviewDoc ( ) : void

Alternative to PrintPreview method

PrivacySettings ( ) : void
ProgramAccessAndDefaults ( ) : void
Properties ( ) : bool
QueryCommandState ( bool bTopLevel, string CmdId ) : bool
QueryCommandValue ( string CmdID ) : object
Redo ( ) : bool
Refresh ( ) : void
Refresh2 ( RefreshConstants Level ) : void
RemoveAllTravelLogEntries ( ) : bool

Removes all travel log entries for this webbrowser instance

RemoveTravelLogEntries ( string url ) : bool

Removes all entries matching given url The current entry cannot be deleted.

RemoveTravelLogEntry ( int index ) : bool

Removes one entry based on index Can not delete current entry

RemoveTravelLogEntry ( string url, string title ) : bool

Removes first entry matching given url and title

ResolveInternetShortCut ( string InternetShortCutPath ) : string

Attempts to retrieve url of a given internet shortcut

SaveAs ( ) : void

Displays the Save page dialog.

SelectAll ( ) : bool
SendLinkByEmail ( ) : void
SendPageByEmail ( ) : void
SendShortcutToDesktop ( ) : void
SetAllowHTMLDialogs ( bool bAllow ) : void

Call this only once, as other calls are ignored by library. Allow or disallow HTML dialogs launched using showModelessDialog() and showModalDialog() methods using CBT Window Hook.

SetDesignMode ( string sMode ) : bool

Attempts to set the IHTMLDocument2.designMode to given sMode parameter

SetFocus ( ) : void
SetOpticalZoomValue ( int zoomvalue ) : int

Attempts to set the optical zoom value. Example: m_CurWB.SetOpticalZoomValue(300);

ShowCertificateDialog ( ) : void

If available, attempts to display security certifocate for the current site

Spell ( ) : bool
StartCustomProtocol ( string customprotocol ) : void

Setsup activation of a custom protocol handler This method needs to be called whether the protocol was activated previously or not as the IE server hwnd must be set so the COM library is able to notify the corresponding cEXWB instance to notify the client n turn.

Stop ( ) : void
StopCustomProtocol ( string customprotocol ) : void
StopFileDownload ( int dlUID ) : void

Stops a file download

TravelLogTravelTo ( int index ) : bool

Navigates to an entry and changes the current position in the travel log to that entry

Undo ( ) : bool
UnicodeToHTMLEncoding ( string html ) : string

Attempts to convert UNICODE chars to their numeric values to be used with LoadHtmlIntoBrowser methods. sample "حقوق الطبع"

UserAgnet ( ) : string

Attempts to retreive UserAgent from IHTMLWindow2.navigator object

ViewSource ( ) : bool
cEXWB ( ) : System
dl_FileDownloadEx ( int dlUID, string sURL, string sFilename, string sExt, string sFileSize, string sExtraHeaders, string sRedirURL, bool &SendProgressEvents, bool &bStopDownload, string &sPathToSave ) : void
dl_OnFileDLDownloadError ( int dlUID, string sURL, string sErrorMsg ) : void
dl_OnFileDLEndDownload ( int dlUID, string sURL, string sSavedFilePath ) : void
execScript ( bool bTopLevel, string ScriptName, string ScriptLanguage ) : object

Wrapper for IHTMLWindow2.execScript method m_CurWB.execScript(true, "javascript:__doPostBack('NY,412800013,09/15/2007,10010,18,C,165,0','false')", "JavaScript");

m_DownloadManager_OnFileDLAuthenticate ( int dlUID, string &sUsername, string &sPassword, bool &Cancel ) : void
m_DownloadManager_OnFileDLProgress ( int dlUID, string sURL, int lProgress, int lProgressMax, bool &CancelDl ) : void
m_csexwbCOMLib_ManagedAppBeginningTransaction ( string sURL, string sRequestHeaders, string &sAdditionalHeaders, bool &Cancel ) : void
m_csexwbCOMLib_ManagedAppDataFullyAvailable ( string sURL ) : void
m_csexwbCOMLib_ManagedAppDataFullyRead ( string sURL ) : void
m_csexwbCOMLib_ManagedAppOnResponse ( string sURL, string sResponseHeaders, string sRedirectedUrl, string sRedirectHeaders, bool &Cancel ) : void
m_csexwbCOMLib_ManagedAppOperationFailed ( string sURL ) : void
m_csexwbCOMLib_OnFileDLFileFullyWritten ( int dlUID, string sURL, string sSavedFilePath ) : void
m_csexwbCOMLib_OnStartCustManagedApp ( string URL, object pDispCustManagedApp ) : void
m_csexwbCOMLib_OnStartManagedAPP ( string URL, string RequestHeaders, string PostData, string PostDataMime, object pDispManagedAppBrigde, bool bNeedFileName, string &sLocalFileName, bool &bClientHandled, bool bAsynchDownload, bool &bCancelDownload ) : void

Fired by an instance of IManagedAppBridge to notify this control of start method being called. bClientHandled = true (default)

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void
OnGotFocus ( EventArgs e ) : void
OnHandleCreated ( EventArgs e ) : void
OnResize ( EventArgs e ) : void
WndProc ( Message &m ) : void

Приватные методы

Метод Описание
AddThisIEServerHwndToComLib ( ) : void
DISPATCH_WindowClosing ( bool IsChildWindow, bool &Cancel ) : void
DWebBrowserEvents2 ( ) : void
DWebBrowserEvents2 ( bool ActiveDocument, bool &Cancel ) : void
DWebBrowserEvents2 ( int SecureLockIcon ) : void
DWebBrowserEvents2 ( int Command, bool Enable ) : void
DWebBrowserEvents2 ( int &CX, int &CY ) : void
DWebBrowserEvents2 ( object pDisp ) : void
DWebBrowserEvents2 ( object &ppDisp, bool &Cancel ) : void
DWebBrowserEvents2 ( object &ppDisp, bool &Cancel, uint dwFlags, string bstrUrlContext, string bstrUrl ) : void
DWebBrowserEvents2 ( object pDisp, object &URL ) : void
DWebBrowserEvents2 ( object pDisp, object &nPage, object &fDone ) : void
DWebBrowserEvents2 ( object pDisp, object &URL, object &Frame, object &StatusCode, bool &Cancel ) : void
DWebBrowserEvents2 ( object pDisp, object &URL, object &Flags, object &TargetFrameName, object &PostData, object &Headers, bool &Cancel ) : void
DWebBrowserEvents2 ( string szProperty ) : void
ExecWB ( OLECMDID command ) : void
GetElementByName ( AutomationTasks task, string elemname, string data ) : bool
GetFrames ( IWebBrowser2 pWB ) : List
GetHistorySession ( ) : bool
HresultAsString ( int iHRESULT ) : string
IAuthenticate ( IntPtr &phwnd, IntPtr &pszUsername, IntPtr &pszPassword ) : int
IDocHostShowUI ( IntPtr hwnd, string lpstrText, string lpstrCaption, uint dwType, string lpstrHelpFile, uint dwHelpContext, int &lpResult ) : int
IDocHostShowUI ( IntPtr hwnd, string pszHelpFile, uint uCommand, uint dwData, tagPOINT ptMouse, object pDispatchObjectHit ) : int
IDocHostUIHandler ( ) : int
IDocHostUIHandler ( DOCHOSTUIINFO &info ) : int
IDocHostUIHandler ( IfacesEnumsStructsClasses pDropTarget, IfacesEnumsStructsClasses &ppDropTarget ) : int
IDocHostUIHandler ( System pDO, System &ppDORet ) : int
IDocHostUIHandler ( bool fEnable ) : int
IDocHostUIHandler ( int dwID, IOleInPlaceActiveObject activeObject, IOleCommandTarget commandTarget, IOleInPlaceFrame frame, IOleInPlaceUIWindow doc ) : int
IDocHostUIHandler ( object &ppDispatch ) : int
IDocHostUIHandler ( string &pbstrKey, uint dw ) : int
IDocHostUIHandler ( tagMSG &msg, System.Guid &group, uint nCmdID ) : int
IDocHostUIHandler ( tagRECT &rect, IOleInPlaceUIWindow doc, bool fFrameWindow ) : int
IDocHostUIHandler ( uint dwTranslate, string strURLIn, string &pstrURLOut ) : int
IDocHostUIHandler ( uint dwID, tagPOINT &pt, object pcmdtReserved, object pdispReserved ) : int
IHTMLChangeSink ( ) : int
IHTMLEditHost ( IHTMLElement pIElement, tagRECT &prcNew, int eHandle ) : int
IHttpSecurity ( System.Guid &rguidReason, IntPtr &phwnd ) : int
IHttpSecurity ( uint dwProblem ) : int
IInternetSecurityManager ( IntPtr pSite ) : int
IInternetSecurityManager ( string pwszUrl, System.Guid &guidKey, IntPtr &ppPolicy, uint &pcbPolicy, IntPtr pContext, uint cbContext, uint dwReserved ) : int
IInternetSecurityManager ( string pwszUrl, IntPtr pbSecurityId, uint &pcbSecurityId, uint &dwReserved ) : int
IInternetSecurityManager ( string pwszUrl, uint dwAction, IntPtr pPolicy, uint cbPolicy, IntPtr pContext, uint cbContext, uint dwFlags, uint dwReserved ) : int
IInternetSecurityManager ( string pwszUrl, uint &pdwZone, uint dwFlags ) : int
IInternetSecurityManager ( uint dwZone, IEnumString &ppenumString, uint dwFlags ) : int
IInternetSecurityManager ( uint dwZone, string lpszPattern, uint dwFlags ) : int
INewWindowManager ( string pszUrl, string pszName, string pszUrlContext, string pszFeatures, bool fReplace, uint dwFlags, uint dwUserActionTime ) : int
IOleClientSite ( ) : int

Attempts to save a given url in a single file (MHT). Local cached copies of the resource are used, if available. Need to add reference to "Microsoft CDO for Windows 2000 Library" COM library. Use the UserName and Password parameters when you are requesting Web pages using HTTP from a server that requires client authentication. If the Web server supports only the basic authentication mechanism, these credentials must be supplied. If the Web server supports the NTLM authentication mechanism, by default, the current process security context is used to authenticate; however, you can specify alternate credentials for NTLM authentication with the UserName and Password parameters. cEXWB1.Navigate("http://www.yahoo.com"); cEXWB1.SavePageAsMHT(cEXWB1.LocationUrl, "C:\\yahoo.mht", "", "");

IOleClientSite ( IOleContainer &ppContainer ) : int
IOleClientSite ( bool fShow ) : int
IOleClientSite ( uint dwAssign, uint dwWhichMoniker, IMoniker &ppmk ) : int
IOleCommandTarget ( IntPtr pguidCmdGroup, uint cCmds, tagOLECMD &prgCmds, IntPtr pCmdText ) : int
IOleCommandTarget ( IntPtr pguidCmdGroup, uint nCmdID, uint nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut ) : int
IOleInPlaceSite ( ) : int
IOleInPlaceSite ( IOleInPlaceFrame &ppFrame, IOleInPlaceUIWindow &ppDoc, tagRECT &lprcPosRect, tagRECT &lprcClipRect, tagOIFI &lpFrameInfo ) : int
IOleInPlaceSite ( IntPtr &phwnd ) : int
IOleInPlaceSite ( bool fEnterMode ) : int
IOleInPlaceSite ( tagRECT &lprcPosRect ) : int
IOleInPlaceSite ( tagSIZE &scrollExtent ) : int
IWindowForBindingUI ( System.Guid &rguidReason, IntPtr &phwnd ) : int
Idispatch_AmbiantDlControl_Invoke_Handler ( ) : int
IfacesEnumsStructsClasses ( ) : int
IfacesEnumsStructsClasses ( Guid &guidService, Guid &riid, IntPtr &ppvObject ) : int
IfacesEnumsStructsClasses ( System pDataObj, uint grfKeyState, tagPOINT pt, uint &pdwEffect ) : int
IfacesEnumsStructsClasses ( uint grfKeyState, tagPOINT pt, uint &pdwEffect ) : int
InitCOMLibrary ( ) : void

Creates and initializes events for ComUtilitiesLib.UtilManClass instance Responsible for Asynchronous pluggable protocols and webbrowser file download replacement

InternalCreateWB ( ) : void

Create Webbrowser control and set up it's events called from OnHandleCreated Webbrowser control hosting requires an HWND

InternalFreeWB ( ) : void
IsWBFrameset ( IHTMLDocument2 doc2 ) : bool
IsWBFrameset ( IWebBrowser2 pWB ) : bool
MakeRGB ( Color cColor ) : int
PerformAutomationTask ( IHTMLElementCollection col, AutomationTasks task, string elemname, string data ) : bool
RemCOMLibrary ( ) : void
RemoveDocumentChangeNotification ( ) : void
RemoveIUtilManEvents ( ) : void
SecondaryOnLoadEvent ( object sender, EventArgs e ) : void
SecondaryOnUnloadEvent ( object sender, EventArgs e ) : void
SetFocusBody ( ) : void
SetLocation ( ) : void
SetupDocumentChangeNotification ( IHTMLDocument4 pDoc4 ) : bool
ShellUIHelperMiscCommands ( string scommand ) : int
ShowMiscCommands ( WB_MiscCommandTarget command ) : int
StartApp ( ) : void

Called from WBIEServerHandle method

SynchDOCDOWNLOADCTLFLAG ( DOCDOWNLOADCTLFLAG flag, bool add ) : void
SynchDOCHOSTUIFLAG ( DOCHOSTUIFLAG flag, bool add ) : void
TopLevelOnLoadEvent ( object sender, EventArgs e ) : void
TopLevelOnUnloadEvent ( object sender, EventArgs e ) : void
WBFramesCount ( IWebBrowser2 pWB ) : int
WBIEServerHandle ( ) : IntPtr
WBOleCommandExec ( OLECMDID command ) : int
WBOleCommandExec ( OLECMDID command, OLECMDEXECOPT cmdopt ) : int
WBShellDocObjHandle ( ) : IntPtr
WBShellEmbedingHandle ( ) : IntPtr

Описание методов

AddToFavorites() публичный Метод

public AddToFavorites ( ) : void
Результат void

AddTravelLogEntry() публичный Метод

public AddTravelLogEntry ( string url, string title ) : ITravelLogEntry
url string
title string
Результат ITravelLogEntry

AddUrlToTrustedZone() публичный Метод

Adds a given url to the Internet explorer trusted zone
public AddUrlToTrustedZone ( string url ) : int
url string format: http://msdn.microsoft.com
Результат int

AutomationTask_NamedLinkScrollIntoView() публичный Метод

Attempts to scroll into view a link given it's name or id
public AutomationTask_NamedLinkScrollIntoView ( string nameorid ) : bool
nameorid string
Результат bool

AutomationTask_PerformAuthentication() публичный Метод

Attempts to find two input fields given their name or id and fill them with given values This method accounts for frames and iframes, searchs all of them If bForceNewValue is true and the inputs already have a value then their values will be replaced with the given strings If bAutoSubmit is true the parent form is located and it's submit method is called
public AutomationTask_PerformAuthentication ( string txtUserNameOrId, string txtPasswordNameOrId, string strUserName, string strPassword, bool bForceNewValue, bool bAutoSubmit ) : bool
txtUserNameOrId string Name or id of the username input
txtPasswordNameOrId string NAme or id of the password input
strUserName string Value to be entered into username input
strPassword string Value to be entered into password input
bForceNewValue bool Set to true to overwrite any previous values in the input fields
bAutoSubmit bool Set to true to have the parent form submit method called
Результат bool

AutomationTask_PerformClickButton() публичный Метод

Performs a click on a Button element with given name
public AutomationTask_PerformClickButton ( string btnnameorid ) : bool
btnnameorid string
Результат bool

AutomationTask_PerformClickLink() публичный Метод

public AutomationTask_PerformClickLink ( string linknameorid ) : bool
linknameorid string
Результат bool

AutomationTask_PerformEnterData() публичный Метод

public AutomationTask_PerformEnterData ( string inputnameorid, string strValue ) : bool
inputnameorid string
strValue string
Результат bool

AutomationTask_PerformEnterDataTextArea() публичный Метод

public AutomationTask_PerformEnterDataTextArea ( string inputnameorid, string strValue ) : bool
inputnameorid string
strValue string
Результат bool

AutomationTask_PerformMultiSelectListItems() публичный Метод

Attempts to select all the items within a given select list
public AutomationTask_PerformMultiSelectListItems ( List selects ) : void
selects List A List of MultiSelectHTMLList classes containning a list of /// items to select
Результат void

AutomationTask_PerformSelectList() публичный Метод

Attempts to select an item from a selection list based on the item value or text
public AutomationTask_PerformSelectList ( string selectnameorid, string listitemvalueortext ) : bool
selectnameorid string
listitemvalueortext string
Результат bool

AutomationTask_PerformSelectRadio() публичный Метод

public AutomationTask_PerformSelectRadio ( string radionameorid ) : bool
radionameorid string
Результат bool

AutomationTask_PerformSelectRadio2() публичный Метод

Selects a radio/check based on name or id and value - Jake
public AutomationTask_PerformSelectRadio2 ( string radionameorid, string value ) : bool
radionameorid string
value string value is the value parameter inside the html tag
Результат bool

AutomationTask_PerformSubmitForm() публичный Метод

public AutomationTask_PerformSubmitForm ( string formnameorid ) : bool
formnameorid string
Результат bool

AutomationTask_SimulateKeyStroke() публичный Метод

Simulates a keystroke. The targetelement must have focus
public AutomationTask_SimulateKeyStroke ( Keys keycode ) : void
keycode Keys One of Keys enum
Результат void

Clear() публичный Метод

public Clear ( ) : bool
Результат bool

ClearHistory() публичный Метод

Attempts to clear browsing history
public ClearHistory ( ) : bool
Результат bool

ClearSelection() публичный Метод

public ClearSelection ( ) : bool
Результат bool

ClearSessionCookies() публичный Метод

Clears session cookies
public ClearSessionCookies ( ) : bool
Результат bool

ClickActiveElement() публичный Метод

Calls click method of active element
public ClickActiveElement ( ) : void
Результат void

Copy() публичный Метод

public Copy ( ) : bool
Результат bool

CreateInternetShortCut() публичный Метод

Attempts to create an internet short cut givena filename and url
public CreateInternetShortCut ( string LocalFileName, string URL, string Description, string IconFileName, int IconIndex ) : bool
LocalFileName string
URL string
Description string
IconFileName string
IconIndex int
Результат bool

Cut() публичный Метод

public Cut ( ) : bool
Результат bool

DWebBrowserEvents2() публичный Метод

public DWebBrowserEvents2 ( bool FullScreen ) : void
FullScreen bool
Результат void

Delete() публичный Метод

public Delete ( ) : bool
Результат bool

DisableScriptDebugger() публичный Метод

Attempts to set Disable Script Debugger registry keyname to yes to enable our control to receive script errors. Default value of this key in IE6 is yes and in IE7 is no?
public DisableScriptDebugger ( ) : string
Результат string

Dispose() защищенный Метод

protected Dispose ( bool disposing ) : void
disposing bool
Результат void

DownloadFile() публичный Метод

Attempts to download a file asynch. FileDownloadExxxx events are used for notifications.
public DownloadFile ( string Url ) : int
Url string
Результат int

ElementFromPoint() публичный Метод

Wrapper for IHTMLDocument2.elementFromPoint method Attempts to retreive an HTML element from given x and y coordinates relative to the main document or if frameset relative to the active document
public ElementFromPoint ( bool bTopLevel, int X, int Y ) : IHTMLElement
bTopLevel bool True, use the toplevel IHTMLDocument2 instance
X int
Y int
Результат IHTMLElement

ElementFromPoint() публичный Метод

Wrapper for IHTMLDocument2.elementFromPoint method Attempts to retreive an HTML element from given x and y coordinates, accounts for FRAMES and IFRAMES
public ElementFromPoint ( int clientx, int clienty ) : IHTMLElement
clientx int
clienty int
Результат IHTMLElement

ElementToPoint() публичный Метод

Attempts to return absolute position of a given html element
public ElementToPoint ( IHTMLElement elem ) : Point
elem IHTMLElement Target element
Результат Point

ExecCommand() публичный Метод

public ExecCommand ( bool bTopLevel, string CmdId, bool showUI, object CmdValue ) : bool
bTopLevel bool
CmdId string
showUI bool
CmdValue object
Результат bool

Find() публичный Метод

public Find ( ) : bool
Результат bool

FindAndHightAllInPage() публичный Метод

public FindAndHightAllInPage ( string sFind, bool MatchWholeWord, bool MatchCase, Color cbackColor, Color cForeColor ) : int
sFind string
MatchWholeWord bool
MatchCase bool
cbackColor Color
cForeColor Color
Результат int

FindAndHightAllInPage() публичный Метод

public FindAndHightAllInPage ( string sFind, bool MatchWholeWord, bool MatchCase, int cbackColor, int cForeColor ) : int
sFind string
MatchWholeWord bool
MatchCase bool
cbackColor int
cForeColor int
Результат int

FindAndHightAllInPage() публичный Метод

public FindAndHightAllInPage ( string sFind, bool MatchWholeWord, bool MatchCase, string cbackColor, string cForeColor ) : int
sFind string
MatchWholeWord bool
MatchCase bool
cbackColor string
cForeColor string
Результат int

FindInPage() публичный Метод

public FindInPage ( string sFind, bool DownWard, bool MatchWholeWord, bool MatchCase, bool ScrollIntoView ) : bool
sFind string
DownWard bool
MatchWholeWord bool
MatchCase bool
ScrollIntoView bool
Результат bool

FindInPageSimple() публичный Метод

Searches a given document for a match Does not continue from where a match was found Use FindInPage method instead
public FindInPageSimple ( IHTMLDocument2 pDoc2, string sFind, bool DownWard, bool MatchWholeWord, bool MatchCase ) : bool
pDoc2 IHTMLDocument2
sFind string
DownWard bool
MatchWholeWord bool
MatchCase bool
Результат bool

FramesCount() публичный Метод

Returns number of FRAMES in a FRAMESET document
public FramesCount ( ) : int
Результат int

GetActiveDocument() публичный Метод

Attempts to return active IHTMLDocument2 interface instance
public GetActiveDocument ( ) : IHTMLDocument2
Результат IHTMLDocument2

GetActiveDocument3() публичный Метод

Attempts to return active IHTMLDocument3 interface instance
public GetActiveDocument3 ( ) : IHTMLDocument3
Результат IHTMLDocument3

GetActiveDocument4() публичный Метод

Attempts to return active IHTMLDocument4 interface instance
public GetActiveDocument4 ( ) : IHTMLDocument4
Результат IHTMLDocument4

GetActiveElement() публичный Метод

Attempts to return active IHTMLElement interface instance Accounts for Frames and Iframes
public GetActiveElement ( ) : IHTMLElement
Результат IHTMLElement

GetActiveWebBrowser2() публичный Метод

Attempts to return active IWebbrowser2 interface instance
public GetActiveWebBrowser2 ( ) : IWebBrowser2
Результат IWebBrowser2

GetActiveWindow2() публичный Метод

Attempts to return active IHTMLWindow2 interface instance
public GetActiveWindow2 ( ) : IHTMLWindow2
Результат IHTMLWindow2

GetAllLinks() публичный Метод

Attempts to collect and return a collection of A elements from the document. Accounts for frames.
public GetAllLinks ( ) : List
Результат List

GetAllowHTMLDialogs() публичный Метод

public GetAllowHTMLDialogs ( ) : bool
Результат bool

GetAnchors() публичный Метод

Attempts to return a collection of A elements
public GetAnchors ( bool bTopLevel ) : IHTMLElementCollection
bTopLevel bool
Результат IHTMLElementCollection

GetDesignMode() публичный Метод

Returns the value of IHTMLDocument2.designMode
public GetDesignMode ( ) : string
Результат string

GetDocumentScriptObjects() публичный Метод

Experimental, do not use!
public GetDocumentScriptObjects ( ) : string
Результат string

GetElementByID() публичный Метод

Wrapper for IHTMLDocument3.getElementById method
public GetElementByID ( bool bTopLevel, string idval ) : IHTMLElement
bTopLevel bool
idval string
Результат IHTMLElement

GetElementsByName() публичный Метод

Wrapper for IHTMLDocument3.getElementsByName method
public GetElementsByName ( bool bTopLevel, string elemname ) : IHTMLElementCollection
bTopLevel bool
elemname string
Результат IHTMLElementCollection

GetElementsByNameOrId() публичный Метод

Attempts to return a List of IHTMLElements with the given Name or Id If document is frameset then all frames are searched
public GetElementsByNameOrId ( string NameOrId ) : List
NameOrId string Name or Id of the element
Результат List

GetElementsByTagName() публичный Метод

Wrapper for IHTMLDocument3.getElementsByTagName method
public GetElementsByTagName ( bool bTopLevel, String tagname ) : IHTMLElementCollection
bTopLevel bool
tagname String
Результат IHTMLElementCollection

GetFrames() публичный Метод

Returns a list of IWebBrowser2 instances. Each IWebBrowser2 instance represents a FRAME
public GetFrames ( ) : List
Результат List

GetImages() публичный Метод

Attempts to return a collection of images
public GetImages ( bool bTopLevel ) : IHTMLElementCollection
bTopLevel bool
Результат IHTMLElementCollection

GetOpticalZoomRange() публичный Метод

Attempts to retreive optical zoom range. Example: int[] range = m_CurWB.GetOpticalZoomRange(); AllForms.m_frmLog.AppendToLog( "Min==>" + range[0].ToString() + "\r\nMax==>" + range[1].ToString());
public GetOpticalZoomRange ( ) : int[]
Результат int[]

GetSelectedText() публичный Метод

Attempts to retreive selected text
public GetSelectedText ( bool bTopLevel, bool ReturnAsHTML ) : string
bTopLevel bool
ReturnAsHTML bool Set to true to return the selected text in HTML format
Результат string

GetSource() публичный Метод

public GetSource ( IWebBrowser2 thisBrowser ) : string
thisBrowser IWebBrowser2
Результат string

GetSource() публичный Метод

public GetSource ( bool bTopLevel ) : string
bTopLevel bool
Результат string

GetText() публичный Метод

public GetText ( IWebBrowser2 thisBrowser ) : string
thisBrowser IWebBrowser2
Результат string

GetText() публичный Метод

public GetText ( bool bTopLevel ) : string
bTopLevel bool
Результат string

GetTitle() публичный Метод

public GetTitle ( IWebBrowser2 thisBrowser ) : string
thisBrowser IWebBrowser2
Результат string

GetTitle() публичный Метод

public GetTitle ( bool bTopLevel ) : string
bTopLevel bool
Результат string

GetTraveLogEntries() публичный Метод

Returns a list of all visited urls
public GetTraveLogEntries ( ) : List
Результат List

GetTravelLogCount() публичный Метод

public GetTravelLogCount ( ) : int
Результат int

GetTravelLogEntries() публичный Метод

public GetTravelLogEntries ( TravelLogEntries flags ) : List
flags TravelLogEntries
Результат List

GoBack() публичный Метод

public GoBack ( ) : bool
Результат bool

GoForward() публичный Метод

public GoForward ( ) : bool
Результат bool

GoHome() публичный Метод

public GoHome ( ) : void
Результат void

GoSearch() публичный Метод

public GoSearch ( ) : void
Результат void

HasFocus() публичный Метод

public HasFocus ( ) : bool
Результат bool

ICustomProtocolSink() публичный Метод

public ICustomProtocolSink ( byte data, string Url, string mimeType, object sink ) : void
data byte
Url string
mimeType string
sink object
Результат void

ICustomProtocolSink() публичный Метод

public ICustomProtocolSink ( int Inet_Error_Code, object sink ) : void
Inet_Error_Code int
sink object
Результат void

IEOptions() публичный Метод

public IEOptions ( ) : bool
Результат bool

IEVersion() публичный Метод

Attempts to find IE version by searching IOmNavigator.userAgnet
public IEVersion ( ) : string
Результат string

IHTMLOMWindowServices() публичный Метод

public IHTMLOMWindowServices ( int x, int y ) : void
x int
y int
Результат void

IManagedProtocolSink() публичный Метод

Called from DownloadCompleted method of DownloadRequestEventArgs event argument passed to client via ProtocolHandlerOnStart event
public IManagedProtocolSink ( byte data, string Url, string mimeType, object sink ) : void
data byte Byte array representing downloaded data
Url string
mimeType string Mime type of downloaded data
sink object IManagedAppBridge instance
Результат void

IManagedProtocolSink() публичный Метод

Called from CancelDownloadRequest method of DownloadRequestEventArgs event argument passed to client via ProtocolHandlerOnStart event
public IManagedProtocolSink ( int Inet_Error_Code, object sink ) : void
Inet_Error_Code int One of Inet_Error_xxxx errors. WinInetErrors enum can be used.
sink object IManagedAppBridge instance
Результат void

IManagedProtocolSink() публичный Метод

public IManagedProtocolSink ( string Url, string mimeType, object sink, string CacheFileName ) : void
Url string
mimeType string
sink object
CacheFileName string
Результат void

IProtectFocus() публичный Метод

public IProtectFocus ( bool &pfAllow ) : void
pfAllow bool
Результат void

ImportExport() публичный Метод

public ImportExport ( ) : void
Результат void

InvokeScript() публичный Метод

public InvokeScript ( IWebBrowser2 wb, string ScriptName, object Data ) : object
wb IWebBrowser2
ScriptName string
Data object
Результат object

InvokeScript() публичный Метод

Invokes a script within the HTML page
public InvokeScript ( string ScriptName, object Data ) : object
ScriptName string
Data object
Результат object

IsCommandEnabled() публичный Метод

Attempts to determine if commands such as "Cut", "Copy", "Paste", etc are enabled
public IsCommandEnabled ( string sCmdId ) : bool
sCmdId string
Результат bool

IsFrameset() публичный Метод

Determines if the current document is a FRAMESET
public IsFrameset ( ) : bool
Результат bool

LanguageDialog() публичный Метод

public LanguageDialog ( ) : void
Результат void

LoadHtmlIntoBrowser() публичный Метод

public LoadHtmlIntoBrowser ( string html ) : bool
html string
Результат bool

LoadHtmlIntoBrowser() публичный Метод

public LoadHtmlIntoBrowser ( string html, IWebBrowser2 wb ) : bool
html string
wb IWebBrowser2
Результат bool

LoadHtmlIntoBrowser() публичный Метод

public LoadHtmlIntoBrowser ( string html, string sBaseUrl ) : bool
html string
sBaseUrl string
Результат bool

LoadUrlIntoBrowser() публичный Метод

public LoadUrlIntoBrowser ( String url ) : bool
url String
Результат bool

NavToBlank() публичный Метод

public NavToBlank ( ) : void
Результат void

Navigate() публичный Метод

public Navigate ( string URL ) : void
URL string
Результат void

Navigate() публичный Метод

public Navigate ( string URL, BrowserNavConstants Flags ) : void
URL string
Flags BrowserNavConstants
Результат void

Navigate() публичный Метод

public Navigate ( string URL, BrowserNavConstants Flags, string PostData ) : void
URL string
Flags BrowserNavConstants
PostData string
Результат void

Navigate() публичный Метод

public Navigate ( string URL, BrowserNavConstants Flags, string TargetFrameName, string PostData ) : void
URL string
Flags BrowserNavConstants
TargetFrameName string
PostData string
Результат void

Navigate() публичный Метод

public Navigate ( string URL, byte PostData ) : void
URL string
PostData byte
Результат void

Navigate() публичный Метод

Navigates to a given url using a combination of BrowserNavConsts
public Navigate ( string URL, int BrowserNavConstants_Flags ) : void
URL string
BrowserNavConstants_Flags int A combination of the values defined by the BrowserNavConstants enumeration
Результат void

Navigate() публичный Метод

public Navigate ( string URL, string PostData ) : void
URL string
PostData string
Результат void

Navigate2() публичный Метод

public Navigate2 ( string URL ) : void
URL string
Результат void

NewWindow() публичный Метод

public NewWindow ( ) : bool
Результат bool

OleCommandExec() публичный Метод

public OleCommandExec ( bool bTopLevel, MSHTML_COMMAND_IDS CmdID ) : bool
bTopLevel bool
CmdID MSHTML_COMMAND_IDS
Результат bool

OleCommandExec() публичный Метод

public OleCommandExec ( bool bTopLevel, MSHTML_COMMAND_IDS CmdID, object pvaIn ) : bool
bTopLevel bool
CmdID MSHTML_COMMAND_IDS
pvaIn object
Результат bool

OnGotFocus() защищенный Метод

protected OnGotFocus ( EventArgs e ) : void
e EventArgs
Результат void

OnHandleCreated() защищенный Метод

protected OnHandleCreated ( EventArgs e ) : void
e EventArgs
Результат void

OnResize() защищенный Метод

protected OnResize ( EventArgs e ) : void
e EventArgs
Результат void

OrganizeFavorites() публичный Метод

public OrganizeFavorites ( ) : void
Результат void

PageSetup() публичный Метод

public PageSetup ( ) : bool
Результат bool

Paste() публичный Метод

public Paste ( ) : bool
Результат bool

PasteSpecial() публичный Метод

public PasteSpecial ( ) : bool
Результат bool

PreProcessMessage() публичный Метод

public PreProcessMessage ( Message &msg ) : bool
msg Message
Результат bool

Print() публичный Метод

public Print ( ) : bool
Результат bool

Print2() публичный Метод

public Print2 ( ) : bool
Результат bool

PrintDocument() публичный Метод

Alternative to Print method
public PrintDocument ( ) : void
Результат void

PrintPreview() публичный Метод

public PrintPreview ( ) : bool
Результат bool

PrintPreview2() публичный Метод

public PrintPreview2 ( ) : bool
Результат bool

PrintPreviewDoc() публичный Метод

Alternative to PrintPreview method
public PrintPreviewDoc ( ) : void
Результат void

PrivacySettings() публичный Метод

public PrivacySettings ( ) : void
Результат void

ProgramAccessAndDefaults() публичный Метод

public ProgramAccessAndDefaults ( ) : void
Результат void

Properties() публичный Метод

public Properties ( ) : bool
Результат bool

QueryCommandState() публичный Метод

public QueryCommandState ( bool bTopLevel, string CmdId ) : bool
bTopLevel bool
CmdId string
Результат bool

QueryCommandValue() публичный Метод

public QueryCommandValue ( string CmdID ) : object
CmdID string
Результат object

Redo() публичный Метод

public Redo ( ) : bool
Результат bool

Refresh() публичный Метод

public Refresh ( ) : void
Результат void

Refresh2() публичный Метод

public Refresh2 ( RefreshConstants Level ) : void
Level RefreshConstants
Результат void

RemoveAllTravelLogEntries() публичный Метод

Removes all travel log entries for this webbrowser instance
public RemoveAllTravelLogEntries ( ) : bool
Результат bool

RemoveTravelLogEntries() публичный Метод

Removes all entries matching given url The current entry cannot be deleted.
public RemoveTravelLogEntries ( string url ) : bool
url string
Результат bool

RemoveTravelLogEntry() публичный Метод

Removes one entry based on index Can not delete current entry
public RemoveTravelLogEntry ( int index ) : bool
index int 0 based index
Результат bool

RemoveTravelLogEntry() публичный Метод

Removes first entry matching given url and title
public RemoveTravelLogEntry ( string url, string title ) : bool
url string
title string
Результат bool

ResolveInternetShortCut() публичный Метод

Attempts to retrieve url of a given internet shortcut
public ResolveInternetShortCut ( string InternetShortCutPath ) : string
InternetShortCutPath string
Результат string

SaveAs() публичный Метод

Displays the Save page dialog.
public SaveAs ( ) : void
Результат void

SelectAll() публичный Метод

public SelectAll ( ) : bool
Результат bool

SendLinkByEmail() публичный Метод

public SendLinkByEmail ( ) : void
Результат void

SendPageByEmail() публичный Метод

public SendPageByEmail ( ) : void
Результат void

SendShortcutToDesktop() публичный Метод

public SendShortcutToDesktop ( ) : void
Результат void

SetAllowHTMLDialogs() публичный Метод

Call this only once, as other calls are ignored by library. Allow or disallow HTML dialogs launched using showModelessDialog() and showModalDialog() methods using CBT Window Hook.
public SetAllowHTMLDialogs ( bool bAllow ) : void
bAllow bool
Результат void

SetDesignMode() публичный Метод

Attempts to set the IHTMLDocument2.designMode to given sMode parameter
public SetDesignMode ( string sMode ) : bool
sMode string
Результат bool

SetFocus() публичный Метод

public SetFocus ( ) : void
Результат void

SetOpticalZoomValue() публичный Метод

Attempts to set the optical zoom value. Example: m_CurWB.SetOpticalZoomValue(300);
public SetOpticalZoomValue ( int zoomvalue ) : int
zoomvalue int Must be in the range 10 - 1000 percent
Результат int

ShowCertificateDialog() публичный Метод

If available, attempts to display security certifocate for the current site
public ShowCertificateDialog ( ) : void
Результат void

Spell() публичный Метод

public Spell ( ) : bool
Результат bool

StartCustomProtocol() публичный Метод

Setsup activation of a custom protocol handler This method needs to be called whether the protocol was activated previously or not as the IE server hwnd must be set so the COM library is able to notify the corresponding cEXWB instance to notify the client n turn.
public StartCustomProtocol ( string customprotocol ) : void
customprotocol string
Результат void

Stop() публичный Метод

public Stop ( ) : void
Результат void

StopCustomProtocol() публичный Метод

public StopCustomProtocol ( string customprotocol ) : void
customprotocol string
Результат void

StopFileDownload() публичный Метод

Stops a file download
public StopFileDownload ( int dlUID ) : void
dlUID int Unique id for this file download
Результат void

TravelLogTravelTo() публичный Метод

Navigates to an entry and changes the current position in the travel log to that entry
public TravelLogTravelTo ( int index ) : bool
index int Integer that specifies an offset relative to the current position /// Zero means current entry
Результат bool

Undo() публичный Метод

public Undo ( ) : bool
Результат bool

UnicodeToHTMLEncoding() публичный Метод

Attempts to convert UNICODE chars to their numeric values to be used with LoadHtmlIntoBrowser methods. sample "حقوق الطبع"
public UnicodeToHTMLEncoding ( string html ) : string
html string
Результат string

UserAgnet() публичный Метод

Attempts to retreive UserAgent from IHTMLWindow2.navigator object
public UserAgnet ( ) : string
Результат string

ViewSource() публичный Метод

public ViewSource ( ) : bool
Результат bool

WndProc() защищенный Метод

protected WndProc ( Message &m ) : void
m Message
Результат void

cEXWB() публичный Метод

public cEXWB ( ) : System
Результат System

dl_FileDownloadEx() публичный Метод

public dl_FileDownloadEx ( int dlUID, string sURL, string sFilename, string sExt, string sFileSize, string sExtraHeaders, string sRedirURL, bool &SendProgressEvents, bool &bStopDownload, string &sPathToSave ) : void
dlUID int
sURL string
sFilename string
sExt string
sFileSize string
sExtraHeaders string
sRedirURL string
SendProgressEvents bool
bStopDownload bool
sPathToSave string
Результат void

dl_OnFileDLDownloadError() публичный Метод

public dl_OnFileDLDownloadError ( int dlUID, string sURL, string sErrorMsg ) : void
dlUID int
sURL string
sErrorMsg string
Результат void

dl_OnFileDLEndDownload() публичный Метод

public dl_OnFileDLEndDownload ( int dlUID, string sURL, string sSavedFilePath ) : void
dlUID int
sURL string
sSavedFilePath string
Результат void

execScript() публичный Метод

Wrapper for IHTMLWindow2.execScript method m_CurWB.execScript(true, "javascript:__doPostBack('NY,412800013,09/15/2007,10010,18,C,165,0','false')", "JavaScript");
public execScript ( bool bTopLevel, string ScriptName, string ScriptLanguage ) : object
bTopLevel bool
ScriptName string
ScriptLanguage string
Результат object

m_DownloadManager_OnFileDLAuthenticate() публичный Метод

public m_DownloadManager_OnFileDLAuthenticate ( int dlUID, string &sUsername, string &sPassword, bool &Cancel ) : void
dlUID int
sUsername string
sPassword string
Cancel bool
Результат void

m_DownloadManager_OnFileDLProgress() публичный Метод

public m_DownloadManager_OnFileDLProgress ( int dlUID, string sURL, int lProgress, int lProgressMax, bool &CancelDl ) : void
dlUID int
sURL string
lProgress int
lProgressMax int
CancelDl bool
Результат void

m_csexwbCOMLib_ManagedAppBeginningTransaction() публичный Метод

public m_csexwbCOMLib_ManagedAppBeginningTransaction ( string sURL, string sRequestHeaders, string &sAdditionalHeaders, bool &Cancel ) : void
sURL string
sRequestHeaders string
sAdditionalHeaders string
Cancel bool
Результат void

m_csexwbCOMLib_ManagedAppDataFullyAvailable() публичный Метод

public m_csexwbCOMLib_ManagedAppDataFullyAvailable ( string sURL ) : void
sURL string
Результат void

m_csexwbCOMLib_ManagedAppDataFullyRead() публичный Метод

public m_csexwbCOMLib_ManagedAppDataFullyRead ( string sURL ) : void
sURL string
Результат void

m_csexwbCOMLib_ManagedAppOnResponse() публичный Метод

public m_csexwbCOMLib_ManagedAppOnResponse ( string sURL, string sResponseHeaders, string sRedirectedUrl, string sRedirectHeaders, bool &Cancel ) : void
sURL string
sResponseHeaders string
sRedirectedUrl string
sRedirectHeaders string
Cancel bool
Результат void

m_csexwbCOMLib_ManagedAppOperationFailed() публичный Метод

public m_csexwbCOMLib_ManagedAppOperationFailed ( string sURL ) : void
sURL string
Результат void

m_csexwbCOMLib_OnFileDLFileFullyWritten() публичный Метод

public m_csexwbCOMLib_OnFileDLFileFullyWritten ( int dlUID, string sURL, string sSavedFilePath ) : void
dlUID int
sURL string
sSavedFilePath string
Результат void

m_csexwbCOMLib_OnStartCustManagedApp() публичный Метод

public m_csexwbCOMLib_OnStartCustManagedApp ( string URL, object pDispCustManagedApp ) : void
URL string
pDispCustManagedApp object
Результат void

m_csexwbCOMLib_OnStartManagedAPP() публичный Метод

Fired by an instance of IManagedAppBridge to notify this control of start method being called. bClientHandled = true (default)
public m_csexwbCOMLib_OnStartManagedAPP ( string URL, string RequestHeaders, string PostData, string PostDataMime, object pDispManagedAppBrigde, bool bNeedFileName, string &sLocalFileName, bool &bClientHandled, bool bAsynchDownload, bool &bCancelDownload ) : void
URL string Url of the request
RequestHeaders string Request headers
PostData string Post data. If this is a post request
PostDataMime string Post data MIME. If this is a post request
pDispManagedAppBrigde object An IDispatch pointer to IManagedAppBridge instance
bNeedFileName bool
sLocalFileName string
bClientHandled bool
bAsynchDownload bool
bCancelDownload bool
Результат void