C# Class csExWB.cEXWB

Inheritance: System.Windows.Forms.Control, IOleClientSite, IOleInPlaceSite, IDocHostShowUI, IDocHostUIHandler, DWebBrowserEvents2, IfacesEnumsStructsClasses.IDropTarget, IfacesEnumsStructsClasses.IServiceProvider, IHttpSecurity, IWindowForBindingUI, INewWindowManager, IAuthenticate, IOleCommandTarget, IInternetSecurityManager, IHTMLEventCallBack, IProtectFocus, IHTMLOMWindowServices
Afficher le fichier Open project: mcorrientes/Web-Security-Toolset Class Usage Examples

Private Properties

Свойство Type Description
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

Méthodes publiques

Méthode Description
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)

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void
OnGotFocus ( EventArgs e ) : void
OnHandleCreated ( EventArgs e ) : void
OnResize ( EventArgs e ) : void
WndProc ( Message &m ) : void

Private Methods

Méthode Description
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

Method Details

AddToFavorites() public méthode

public AddToFavorites ( ) : void
Résultat void

AddTravelLogEntry() public méthode

public AddTravelLogEntry ( string url, string title ) : ITravelLogEntry
url string
title string
Résultat ITravelLogEntry

AddUrlToTrustedZone() public méthode

Adds a given url to the Internet explorer trusted zone
public AddUrlToTrustedZone ( string url ) : int
url string format: http://msdn.microsoft.com
Résultat int

AutomationTask_NamedLinkScrollIntoView() public méthode

Attempts to scroll into view a link given it's name or id
public AutomationTask_NamedLinkScrollIntoView ( string nameorid ) : bool
nameorid string
Résultat bool

AutomationTask_PerformAuthentication() public méthode

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
Résultat bool

AutomationTask_PerformClickButton() public méthode

Performs a click on a Button element with given name
public AutomationTask_PerformClickButton ( string btnnameorid ) : bool
btnnameorid string
Résultat bool

AutomationTask_PerformClickLink() public méthode

public AutomationTask_PerformClickLink ( string linknameorid ) : bool
linknameorid string
Résultat bool

AutomationTask_PerformEnterData() public méthode

public AutomationTask_PerformEnterData ( string inputnameorid, string strValue ) : bool
inputnameorid string
strValue string
Résultat bool

AutomationTask_PerformEnterDataTextArea() public méthode

public AutomationTask_PerformEnterDataTextArea ( string inputnameorid, string strValue ) : bool
inputnameorid string
strValue string
Résultat bool

AutomationTask_PerformMultiSelectListItems() public méthode

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
Résultat void

AutomationTask_PerformSelectList() public méthode

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
Résultat bool

AutomationTask_PerformSelectRadio() public méthode

public AutomationTask_PerformSelectRadio ( string radionameorid ) : bool
radionameorid string
Résultat bool

AutomationTask_PerformSelectRadio2() public méthode

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
Résultat bool

AutomationTask_PerformSubmitForm() public méthode

public AutomationTask_PerformSubmitForm ( string formnameorid ) : bool
formnameorid string
Résultat bool

AutomationTask_SimulateKeyStroke() public méthode

Simulates a keystroke. The targetelement must have focus
public AutomationTask_SimulateKeyStroke ( Keys keycode ) : void
keycode Keys One of Keys enum
Résultat void

Clear() public méthode

public Clear ( ) : bool
Résultat bool

ClearHistory() public méthode

Attempts to clear browsing history
public ClearHistory ( ) : bool
Résultat bool

ClearSelection() public méthode

public ClearSelection ( ) : bool
Résultat bool

ClearSessionCookies() public méthode

Clears session cookies
public ClearSessionCookies ( ) : bool
Résultat bool

ClickActiveElement() public méthode

Calls click method of active element
public ClickActiveElement ( ) : void
Résultat void

Copy() public méthode

public Copy ( ) : bool
Résultat bool

CreateInternetShortCut() public méthode

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
Résultat bool

Cut() public méthode

public Cut ( ) : bool
Résultat bool

DWebBrowserEvents2() public méthode

public DWebBrowserEvents2 ( bool FullScreen ) : void
FullScreen bool
Résultat void

Delete() public méthode

public Delete ( ) : bool
Résultat bool

DisableScriptDebugger() public méthode

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
Résultat string

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

DownloadFile() public méthode

Attempts to download a file asynch. FileDownloadExxxx events are used for notifications.
public DownloadFile ( string Url ) : int
Url string
Résultat int

ElementFromPoint() public méthode

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
Résultat IHTMLElement

ElementFromPoint() public méthode

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
Résultat IHTMLElement

ElementToPoint() public méthode

Attempts to return absolute position of a given html element
public ElementToPoint ( IHTMLElement elem ) : Point
elem IHTMLElement Target element
Résultat Point

ExecCommand() public méthode

public ExecCommand ( bool bTopLevel, string CmdId, bool showUI, object CmdValue ) : bool
bTopLevel bool
CmdId string
showUI bool
CmdValue object
Résultat bool

Find() public méthode

public Find ( ) : bool
Résultat bool

FindAndHightAllInPage() public méthode

public FindAndHightAllInPage ( string sFind, bool MatchWholeWord, bool MatchCase, Color cbackColor, Color cForeColor ) : int
sFind string
MatchWholeWord bool
MatchCase bool
cbackColor Color
cForeColor Color
Résultat int

FindAndHightAllInPage() public méthode

public FindAndHightAllInPage ( string sFind, bool MatchWholeWord, bool MatchCase, int cbackColor, int cForeColor ) : int
sFind string
MatchWholeWord bool
MatchCase bool
cbackColor int
cForeColor int
Résultat int

FindAndHightAllInPage() public méthode

public FindAndHightAllInPage ( string sFind, bool MatchWholeWord, bool MatchCase, string cbackColor, string cForeColor ) : int
sFind string
MatchWholeWord bool
MatchCase bool
cbackColor string
cForeColor string
Résultat int

FindInPage() public méthode

public FindInPage ( string sFind, bool DownWard, bool MatchWholeWord, bool MatchCase, bool ScrollIntoView ) : bool
sFind string
DownWard bool
MatchWholeWord bool
MatchCase bool
ScrollIntoView bool
Résultat bool

FindInPageSimple() public méthode

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
Résultat bool

FramesCount() public méthode

Returns number of FRAMES in a FRAMESET document
public FramesCount ( ) : int
Résultat int

GetActiveDocument() public méthode

Attempts to return active IHTMLDocument2 interface instance
public GetActiveDocument ( ) : IHTMLDocument2
Résultat IHTMLDocument2

GetActiveDocument3() public méthode

Attempts to return active IHTMLDocument3 interface instance
public GetActiveDocument3 ( ) : IHTMLDocument3
Résultat IHTMLDocument3

GetActiveDocument4() public méthode

Attempts to return active IHTMLDocument4 interface instance
public GetActiveDocument4 ( ) : IHTMLDocument4
Résultat IHTMLDocument4

GetActiveElement() public méthode

Attempts to return active IHTMLElement interface instance Accounts for Frames and Iframes
public GetActiveElement ( ) : IHTMLElement
Résultat IHTMLElement

GetActiveWebBrowser2() public méthode

Attempts to return active IWebbrowser2 interface instance
public GetActiveWebBrowser2 ( ) : IWebBrowser2
Résultat IWebBrowser2

GetActiveWindow2() public méthode

Attempts to return active IHTMLWindow2 interface instance
public GetActiveWindow2 ( ) : IHTMLWindow2
Résultat IHTMLWindow2

GetAllLinks() public méthode

Attempts to collect and return a collection of A elements from the document. Accounts for frames.
public GetAllLinks ( ) : List
Résultat List

GetAllowHTMLDialogs() public méthode

public GetAllowHTMLDialogs ( ) : bool
Résultat bool

GetAnchors() public méthode

Attempts to return a collection of A elements
public GetAnchors ( bool bTopLevel ) : IHTMLElementCollection
bTopLevel bool
Résultat IHTMLElementCollection

GetDesignMode() public méthode

Returns the value of IHTMLDocument2.designMode
public GetDesignMode ( ) : string
Résultat string

GetDocumentScriptObjects() public méthode

Experimental, do not use!
public GetDocumentScriptObjects ( ) : string
Résultat string

GetElementByID() public méthode

Wrapper for IHTMLDocument3.getElementById method
public GetElementByID ( bool bTopLevel, string idval ) : IHTMLElement
bTopLevel bool
idval string
Résultat IHTMLElement

GetElementsByName() public méthode

Wrapper for IHTMLDocument3.getElementsByName method
public GetElementsByName ( bool bTopLevel, string elemname ) : IHTMLElementCollection
bTopLevel bool
elemname string
Résultat IHTMLElementCollection

GetElementsByNameOrId() public méthode

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
Résultat List

GetElementsByTagName() public méthode

Wrapper for IHTMLDocument3.getElementsByTagName method
public GetElementsByTagName ( bool bTopLevel, String tagname ) : IHTMLElementCollection
bTopLevel bool
tagname String
Résultat IHTMLElementCollection

GetFrames() public méthode

Returns a list of IWebBrowser2 instances. Each IWebBrowser2 instance represents a FRAME
public GetFrames ( ) : List
Résultat List

GetImages() public méthode

Attempts to return a collection of images
public GetImages ( bool bTopLevel ) : IHTMLElementCollection
bTopLevel bool
Résultat IHTMLElementCollection

GetOpticalZoomRange() public méthode

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[]
Résultat int[]

GetSelectedText() public méthode

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
Résultat string

GetSource() public méthode

public GetSource ( IWebBrowser2 thisBrowser ) : string
thisBrowser IWebBrowser2
Résultat string

GetSource() public méthode

public GetSource ( bool bTopLevel ) : string
bTopLevel bool
Résultat string

GetText() public méthode

public GetText ( IWebBrowser2 thisBrowser ) : string
thisBrowser IWebBrowser2
Résultat string

GetText() public méthode

public GetText ( bool bTopLevel ) : string
bTopLevel bool
Résultat string

GetTitle() public méthode

public GetTitle ( IWebBrowser2 thisBrowser ) : string
thisBrowser IWebBrowser2
Résultat string

GetTitle() public méthode

public GetTitle ( bool bTopLevel ) : string
bTopLevel bool
Résultat string

GetTraveLogEntries() public méthode

Returns a list of all visited urls
public GetTraveLogEntries ( ) : List
Résultat List

GetTravelLogCount() public méthode

public GetTravelLogCount ( ) : int
Résultat int

GetTravelLogEntries() public méthode

public GetTravelLogEntries ( TravelLogEntries flags ) : List
flags TravelLogEntries
Résultat List

GoBack() public méthode

public GoBack ( ) : bool
Résultat bool

GoForward() public méthode

public GoForward ( ) : bool
Résultat bool

GoHome() public méthode

public GoHome ( ) : void
Résultat void

GoSearch() public méthode

public GoSearch ( ) : void
Résultat void

HasFocus() public méthode

public HasFocus ( ) : bool
Résultat bool

ICustomProtocolSink() public méthode

public ICustomProtocolSink ( byte data, string Url, string mimeType, object sink ) : void
data byte
Url string
mimeType string
sink object
Résultat void

ICustomProtocolSink() public méthode

public ICustomProtocolSink ( int Inet_Error_Code, object sink ) : void
Inet_Error_Code int
sink object
Résultat void

IEOptions() public méthode

public IEOptions ( ) : bool
Résultat bool

IEVersion() public méthode

Attempts to find IE version by searching IOmNavigator.userAgnet
public IEVersion ( ) : string
Résultat string

IHTMLOMWindowServices() public méthode

public IHTMLOMWindowServices ( int x, int y ) : void
x int
y int
Résultat void

IManagedProtocolSink() public méthode

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
Résultat void

IManagedProtocolSink() public méthode

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
Résultat void

IManagedProtocolSink() public méthode

public IManagedProtocolSink ( string Url, string mimeType, object sink, string CacheFileName ) : void
Url string
mimeType string
sink object
CacheFileName string
Résultat void

IProtectFocus() public méthode

public IProtectFocus ( bool &pfAllow ) : void
pfAllow bool
Résultat void

ImportExport() public méthode

public ImportExport ( ) : void
Résultat void

InvokeScript() public méthode

public InvokeScript ( IWebBrowser2 wb, string ScriptName, object Data ) : object
wb IWebBrowser2
ScriptName string
Data object
Résultat object

InvokeScript() public méthode

Invokes a script within the HTML page
public InvokeScript ( string ScriptName, object Data ) : object
ScriptName string
Data object
Résultat object

IsCommandEnabled() public méthode

Attempts to determine if commands such as "Cut", "Copy", "Paste", etc are enabled
public IsCommandEnabled ( string sCmdId ) : bool
sCmdId string
Résultat bool

IsFrameset() public méthode

Determines if the current document is a FRAMESET
public IsFrameset ( ) : bool
Résultat bool

LanguageDialog() public méthode

public LanguageDialog ( ) : void
Résultat void

LoadHtmlIntoBrowser() public méthode

public LoadHtmlIntoBrowser ( string html ) : bool
html string
Résultat bool

LoadHtmlIntoBrowser() public méthode

public LoadHtmlIntoBrowser ( string html, IWebBrowser2 wb ) : bool
html string
wb IWebBrowser2
Résultat bool

LoadHtmlIntoBrowser() public méthode

public LoadHtmlIntoBrowser ( string html, string sBaseUrl ) : bool
html string
sBaseUrl string
Résultat bool

LoadUrlIntoBrowser() public méthode

public LoadUrlIntoBrowser ( String url ) : bool
url String
Résultat bool

NavToBlank() public méthode

public NavToBlank ( ) : void
Résultat void

Navigate() public méthode

public Navigate ( string URL ) : void
URL string
Résultat void

Navigate() public méthode

public Navigate ( string URL, BrowserNavConstants Flags ) : void
URL string
Flags BrowserNavConstants
Résultat void

Navigate() public méthode

public Navigate ( string URL, BrowserNavConstants Flags, string PostData ) : void
URL string
Flags BrowserNavConstants
PostData string
Résultat void

Navigate() public méthode

public Navigate ( string URL, BrowserNavConstants Flags, string TargetFrameName, string PostData ) : void
URL string
Flags BrowserNavConstants
TargetFrameName string
PostData string
Résultat void

Navigate() public méthode

public Navigate ( string URL, byte PostData ) : void
URL string
PostData byte
Résultat void

Navigate() public méthode

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
Résultat void

Navigate() public méthode

public Navigate ( string URL, string PostData ) : void
URL string
PostData string
Résultat void

Navigate2() public méthode

public Navigate2 ( string URL ) : void
URL string
Résultat void

NewWindow() public méthode

public NewWindow ( ) : bool
Résultat bool

OleCommandExec() public méthode

public OleCommandExec ( bool bTopLevel, MSHTML_COMMAND_IDS CmdID ) : bool
bTopLevel bool
CmdID MSHTML_COMMAND_IDS
Résultat bool

OleCommandExec() public méthode

public OleCommandExec ( bool bTopLevel, MSHTML_COMMAND_IDS CmdID, object pvaIn ) : bool
bTopLevel bool
CmdID MSHTML_COMMAND_IDS
pvaIn object
Résultat bool

OnGotFocus() protected méthode

protected OnGotFocus ( EventArgs e ) : void
e EventArgs
Résultat void

OnHandleCreated() protected méthode

protected OnHandleCreated ( EventArgs e ) : void
e EventArgs
Résultat void

OnResize() protected méthode

protected OnResize ( EventArgs e ) : void
e EventArgs
Résultat void

OrganizeFavorites() public méthode

public OrganizeFavorites ( ) : void
Résultat void

PageSetup() public méthode

public PageSetup ( ) : bool
Résultat bool

Paste() public méthode

public Paste ( ) : bool
Résultat bool

PasteSpecial() public méthode

public PasteSpecial ( ) : bool
Résultat bool

PreProcessMessage() public méthode

public PreProcessMessage ( Message &msg ) : bool
msg Message
Résultat bool

Print() public méthode

public Print ( ) : bool
Résultat bool

Print2() public méthode

public Print2 ( ) : bool
Résultat bool

PrintDocument() public méthode

Alternative to Print method
public PrintDocument ( ) : void
Résultat void

PrintPreview() public méthode

public PrintPreview ( ) : bool
Résultat bool

PrintPreview2() public méthode

public PrintPreview2 ( ) : bool
Résultat bool

PrintPreviewDoc() public méthode

Alternative to PrintPreview method
public PrintPreviewDoc ( ) : void
Résultat void

PrivacySettings() public méthode

public PrivacySettings ( ) : void
Résultat void

ProgramAccessAndDefaults() public méthode

public ProgramAccessAndDefaults ( ) : void
Résultat void

Properties() public méthode

public Properties ( ) : bool
Résultat bool

QueryCommandState() public méthode

public QueryCommandState ( bool bTopLevel, string CmdId ) : bool
bTopLevel bool
CmdId string
Résultat bool

QueryCommandValue() public méthode

public QueryCommandValue ( string CmdID ) : object
CmdID string
Résultat object

Redo() public méthode

public Redo ( ) : bool
Résultat bool

Refresh() public méthode

public Refresh ( ) : void
Résultat void

Refresh2() public méthode

public Refresh2 ( RefreshConstants Level ) : void
Level RefreshConstants
Résultat void

RemoveAllTravelLogEntries() public méthode

Removes all travel log entries for this webbrowser instance
public RemoveAllTravelLogEntries ( ) : bool
Résultat bool

RemoveTravelLogEntries() public méthode

Removes all entries matching given url The current entry cannot be deleted.
public RemoveTravelLogEntries ( string url ) : bool
url string
Résultat bool

RemoveTravelLogEntry() public méthode

Removes one entry based on index Can not delete current entry
public RemoveTravelLogEntry ( int index ) : bool
index int 0 based index
Résultat bool

RemoveTravelLogEntry() public méthode

Removes first entry matching given url and title
public RemoveTravelLogEntry ( string url, string title ) : bool
url string
title string
Résultat bool

ResolveInternetShortCut() public méthode

Attempts to retrieve url of a given internet shortcut
public ResolveInternetShortCut ( string InternetShortCutPath ) : string
InternetShortCutPath string
Résultat string

SaveAs() public méthode

Displays the Save page dialog.
public SaveAs ( ) : void
Résultat void

SelectAll() public méthode

public SelectAll ( ) : bool
Résultat bool

SendLinkByEmail() public méthode

public SendLinkByEmail ( ) : void
Résultat void

SendPageByEmail() public méthode

public SendPageByEmail ( ) : void
Résultat void

SendShortcutToDesktop() public méthode

public SendShortcutToDesktop ( ) : void
Résultat void

SetAllowHTMLDialogs() public méthode

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
Résultat void

SetDesignMode() public méthode

Attempts to set the IHTMLDocument2.designMode to given sMode parameter
public SetDesignMode ( string sMode ) : bool
sMode string
Résultat bool

SetFocus() public méthode

public SetFocus ( ) : void
Résultat void

SetOpticalZoomValue() public méthode

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
Résultat int

ShowCertificateDialog() public méthode

If available, attempts to display security certifocate for the current site
public ShowCertificateDialog ( ) : void
Résultat void

Spell() public méthode

public Spell ( ) : bool
Résultat bool

StartCustomProtocol() public méthode

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
Résultat void

Stop() public méthode

public Stop ( ) : void
Résultat void

StopCustomProtocol() public méthode

public StopCustomProtocol ( string customprotocol ) : void
customprotocol string
Résultat void

StopFileDownload() public méthode

Stops a file download
public StopFileDownload ( int dlUID ) : void
dlUID int Unique id for this file download
Résultat void

TravelLogTravelTo() public méthode

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
Résultat bool

Undo() public méthode

public Undo ( ) : bool
Résultat bool

UnicodeToHTMLEncoding() public méthode

Attempts to convert UNICODE chars to their numeric values to be used with LoadHtmlIntoBrowser methods. sample "حقوق الطبع"
public UnicodeToHTMLEncoding ( string html ) : string
html string
Résultat string

UserAgnet() public méthode

Attempts to retreive UserAgent from IHTMLWindow2.navigator object
public UserAgnet ( ) : string
Résultat string

ViewSource() public méthode

public ViewSource ( ) : bool
Résultat bool

WndProc() protected méthode

protected WndProc ( Message &m ) : void
m Message
Résultat void

cEXWB() public méthode

public cEXWB ( ) : System
Résultat System

dl_FileDownloadEx() public méthode

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
Résultat void

dl_OnFileDLDownloadError() public méthode

public dl_OnFileDLDownloadError ( int dlUID, string sURL, string sErrorMsg ) : void
dlUID int
sURL string
sErrorMsg string
Résultat void

dl_OnFileDLEndDownload() public méthode

public dl_OnFileDLEndDownload ( int dlUID, string sURL, string sSavedFilePath ) : void
dlUID int
sURL string
sSavedFilePath string
Résultat void

execScript() public méthode

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
Résultat object

m_DownloadManager_OnFileDLAuthenticate() public méthode

public m_DownloadManager_OnFileDLAuthenticate ( int dlUID, string &sUsername, string &sPassword, bool &Cancel ) : void
dlUID int
sUsername string
sPassword string
Cancel bool
Résultat void

m_DownloadManager_OnFileDLProgress() public méthode

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
Résultat void

m_csexwbCOMLib_ManagedAppBeginningTransaction() public méthode

public m_csexwbCOMLib_ManagedAppBeginningTransaction ( string sURL, string sRequestHeaders, string &sAdditionalHeaders, bool &Cancel ) : void
sURL string
sRequestHeaders string
sAdditionalHeaders string
Cancel bool
Résultat void

m_csexwbCOMLib_ManagedAppDataFullyAvailable() public méthode

public m_csexwbCOMLib_ManagedAppDataFullyAvailable ( string sURL ) : void
sURL string
Résultat void

m_csexwbCOMLib_ManagedAppDataFullyRead() public méthode

public m_csexwbCOMLib_ManagedAppDataFullyRead ( string sURL ) : void
sURL string
Résultat void

m_csexwbCOMLib_ManagedAppOnResponse() public méthode

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
Résultat void

m_csexwbCOMLib_ManagedAppOperationFailed() public méthode

public m_csexwbCOMLib_ManagedAppOperationFailed ( string sURL ) : void
sURL string
Résultat void

m_csexwbCOMLib_OnFileDLFileFullyWritten() public méthode

public m_csexwbCOMLib_OnFileDLFileFullyWritten ( int dlUID, string sURL, string sSavedFilePath ) : void
dlUID int
sURL string
sSavedFilePath string
Résultat void

m_csexwbCOMLib_OnStartCustManagedApp() public méthode

public m_csexwbCOMLib_OnStartCustManagedApp ( string URL, object pDispCustManagedApp ) : void
URL string
pDispCustManagedApp object
Résultat void

m_csexwbCOMLib_OnStartManagedAPP() public méthode

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
Résultat void