CWebDlg Class Reference

#include <WebDlg.h>

Inherits CDialog.

List of all members.

Public Member Functions

 CWebDlg (CWnd *pParent=NULL)
VARIANT ExecuteScript (CString csCode, CString csLanguage)
VARIANT ExecuteJavascript (CString csCode)
void OpenUrl (const std::string &url)
void OpenUrl (CString csUrl)

Protected Member Functions

virtual void DoDataExchange (CDataExchange *pDX)
afx_msg void OnBeforeNavigate2 (LPDISPATCH pDisp, VARIANT FAR *URL, VARIANT FAR *Flags, VARIANT FAR *TargetFrameName, VARIANT FAR *PostData, VARIANT FAR *Headers, BOOL FAR *Cancel)
afx_msg void OnDocumentComplete (LPDISPATCH pDisp, VARIANT FAR *URL)
virtual BOOL OnInitDialog ()
afx_msg void OnSize (UINT nType, int cx, int cy)
afx_msg HBRUSH OnCtlColor (CDC *pDC, CWnd *pWnd, UINT nCtlColor)
afx_msg void OnNavigateComplete2Explorer1 (LPDISPATCH pDisp, VARIANT FAR *URL)
afx_msg BOOL OnEraseBkgnd (CDC *pDC)

Private Types

enum  { IDD = IDD_WEB }

Private Attributes

CWebBrowser2 m_explore
CBrush m_brushBG
CString m_csUrl

Detailed Description

Definition at line 18 of file WebDlg.h.


Member Enumeration Documentation

anonymous enum [private]
Enumerator:
IDD 

Definition at line 37 of file WebDlg.h.


Constructor & Destructor Documentation

CWebDlg::CWebDlg ( CWnd pParent = NULL  ) 

Definition at line 23 of file WebDlg.cpp.


Member Function Documentation

void CWebDlg::DoDataExchange ( CDataExchange *  pDX  )  [protected, virtual]

Definition at line 32 of file WebDlg.cpp.

References IDC_EXPLORER1, and m_explore.

VARIANT CWebDlg::ExecuteJavascript ( CString  csCode  ) 

Definition at line 129 of file WebDlg.cpp.

References ExecuteScript().

VARIANT CWebDlg::ExecuteScript ( CString  csCode,
CString  csLanguage 
)

Definition at line 98 of file WebDlg.cpp.

References CWebBrowser2::GetDocument(), and m_explore.

Referenced by ExecuteJavascript().

void CWebDlg::OnBeforeNavigate2 ( LPDISPATCH  pDisp,
VARIANT FAR *  URL,
VARIANT FAR *  Flags,
VARIANT FAR *  TargetFrameName,
VARIANT FAR *  PostData,
VARIANT FAR *  Headers,
BOOL FAR *  Cancel 
) [protected]

Definition at line 60 of file WebDlg.cpp.

HBRUSH CWebDlg::OnCtlColor ( CDC *  pDC,
CWnd pWnd,
UINT  nCtlColor 
) [protected]

Definition at line 268 of file WebDlg.cpp.

References m_brushBG.

void CWebDlg::OnDocumentComplete ( LPDISPATCH  pDisp,
VARIANT FAR *  URL 
) [protected]

Definition at line 146 of file WebDlg.cpp.

References CWebBrowser2::GetDocument(), Login, and m_explore.

BOOL CWebDlg::OnEraseBkgnd ( CDC *  pDC  )  [protected]

Definition at line 285 of file WebDlg.cpp.

BOOL CWebDlg::OnInitDialog (  )  [protected, virtual]

Definition at line 242 of file WebDlg.cpp.

References IDC_EXPLORER1, and m_brushBG.

void CWebDlg::OnNavigateComplete2Explorer1 ( LPDISPATCH  pDisp,
VARIANT FAR *  URL 
) [protected]

Definition at line 281 of file WebDlg.cpp.

void CWebDlg::OnSize ( UINT  nType,
int  cx,
int  cy 
) [protected]

Definition at line 263 of file WebDlg.cpp.

void CWebDlg::OpenUrl ( CString  csUrl  ) 

Definition at line 134 of file WebDlg.cpp.

References m_csUrl, m_explore, and CWebBrowser2::Navigate().

void CWebDlg::OpenUrl ( const std::string &  url  ) 

Definition at line 140 of file WebDlg.cpp.

References m_csUrl, m_explore, and CWebBrowser2::Navigate().


Member Data Documentation

CBrush CWebDlg::m_brushBG [private]

Definition at line 30 of file WebDlg.h.

Referenced by OnCtlColor(), and OnInitDialog().

CString CWebDlg::m_csUrl [private]

Definition at line 31 of file WebDlg.h.

Referenced by OpenUrl().

Definition at line 29 of file WebDlg.h.

Referenced by DoDataExchange(), ExecuteScript(), OnDocumentComplete(), and OpenUrl().


The documentation for this class was generated from the following files:

Generated on Thu Jan 7 08:30:49 2010 for NeLNS by  doxygen 1.6.1