CWebBrowser2 Class Reference

#include <webbrowser2.h>

List of all members.

Public Member Functions

CLSID const & GetClsid ()
virtual BOOL Create (LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT &rect, CWnd *pParentWnd, UINT nID, CCreateContext *pContext=NULL)
BOOL Create (LPCTSTR lpszWindowName, DWORD dwStyle, const RECT &rect, CWnd *pParentWnd, UINT nID, CFile *pPersist=NULL, BOOL bStorage=FALSE, BSTR bstrLicKey=NULL)
void GoBack ()
void GoForward ()
void GoHome ()
void GoSearch ()
void Navigate (LPCTSTR URL, VARIANT *Flags, VARIANT *TargetFrameName, VARIANT *PostData, VARIANT *Headers)
void Refresh ()
void Refresh2 (VARIANT *Level)
void Stop ()
LPDISPATCH GetApplication ()
LPDISPATCH GetParent ()
LPDISPATCH GetContainer ()
LPDISPATCH GetDocument ()
BOOL GetTopLevelContainer ()
CString GetType ()
long GetLeft ()
void SetLeft (long nNewValue)
long GetTop ()
void SetTop (long nNewValue)
long GetWidth ()
void SetWidth (long nNewValue)
long GetHeight ()
void SetHeight (long nNewValue)
CString GetLocationName ()
CString GetLocationURL ()
BOOL GetBusy ()
void Quit ()
void ClientToWindow (long *pcx, long *pcy)
void PutProperty (LPCTSTR Property_, const VARIANT &vtValue)
VARIANT GetProperty_ (LPCTSTR Property_)
CString GetName ()
long GetHwnd ()
CString GetFullName ()
CString GetPath ()
BOOL GetVisible ()
void SetVisible (BOOL bNewValue)
BOOL GetStatusBar ()
void SetStatusBar (BOOL bNewValue)
CString GetStatusText ()
void SetStatusText (LPCTSTR lpszNewValue)
long GetToolBar ()
void SetToolBar (long nNewValue)
BOOL GetMenuBar ()
void SetMenuBar (BOOL bNewValue)
BOOL GetFullScreen ()
void SetFullScreen (BOOL bNewValue)
void Navigate2 (VARIANT *URL, VARIANT *Flags, VARIANT *TargetFrameName, VARIANT *PostData, VARIANT *Headers)
long QueryStatusWB (long cmdID)
void ExecWB (long cmdID, long cmdexecopt, VARIANT *pvaIn, VARIANT *pvaOut)
void ShowBrowserBar (VARIANT *pvaClsid, VARIANT *pvarShow, VARIANT *pvarSize)
long GetReadyState ()
BOOL GetOffline ()
void SetOffline (BOOL bNewValue)
BOOL GetSilent ()
void SetSilent (BOOL bNewValue)
BOOL GetRegisterAsBrowser ()
void SetRegisterAsBrowser (BOOL bNewValue)
BOOL GetRegisterAsDropTarget ()
void SetRegisterAsDropTarget (BOOL bNewValue)
BOOL GetTheaterMode ()
void SetTheaterMode (BOOL bNewValue)
BOOL GetAddressBar ()
void SetAddressBar (BOOL bNewValue)
BOOL GetResizable ()
void SetResizable (BOOL bNewValue)


Detailed Description

Definition at line 13 of file webbrowser2.h.


Member Function Documentation

CLSID const& CWebBrowser2::GetClsid (  )  [inline]

Definition at line 18 of file webbrowser2.h.

Referenced by Create().

virtual BOOL CWebBrowser2::Create ( LPCTSTR  lpszClassName,
LPCTSTR  lpszWindowName,
DWORD  dwStyle,
const RECT &  rect,
CWnd *  pParentWnd,
UINT  nID,
CCreateContext *  pContext = NULL 
) [inline, virtual]

Definition at line 24 of file webbrowser2.h.

References GetClsid().

Referenced by CDownloads_Opinions::OnCreate().

BOOL CWebBrowser2::Create ( LPCTSTR  lpszWindowName,
DWORD  dwStyle,
const RECT &  rect,
CWnd *  pParentWnd,
UINT  nID,
CFile *  pPersist = NULL,
BOOL  bStorage = FALSE,
BSTR  bstrLicKey = NULL 
) [inline]

Definition at line 31 of file webbrowser2.h.

References GetClsid().

void CWebBrowser2::GoBack (  ) 

Definition at line 11 of file webbrowser2.cpp.

References NULL, and VT_EMPTY.

void CWebBrowser2::GoForward (  ) 

Definition at line 16 of file webbrowser2.cpp.

References NULL, and VT_EMPTY.

void CWebBrowser2::GoHome (  ) 

Definition at line 21 of file webbrowser2.cpp.

References NULL, and VT_EMPTY.

void CWebBrowser2::GoSearch (  ) 

Definition at line 26 of file webbrowser2.cpp.

References NULL, and VT_EMPTY.

void CWebBrowser2::Navigate ( LPCTSTR  URL,
VARIANT Flags,
VARIANT TargetFrameName,
VARIANT PostData,
VARIANT Headers 
)

void CWebBrowser2::Refresh (  ) 

Definition at line 39 of file webbrowser2.cpp.

References NULL, and VT_EMPTY.

void CWebBrowser2::Refresh2 ( VARIANT Level  ) 

Definition at line 44 of file webbrowser2.cpp.

References NULL, and VT_EMPTY.

void CWebBrowser2::Stop ( void   ) 

Definition at line 52 of file webbrowser2.cpp.

References NULL, and VT_EMPTY.

LPDISPATCH CWebBrowser2::GetApplication (  ) 

Definition at line 57 of file webbrowser2.cpp.

References NULL, and VT_DISPATCH.

LPDISPATCH CWebBrowser2::GetParent (  ) 

Definition at line 64 of file webbrowser2.cpp.

References NULL, and VT_DISPATCH.

LPDISPATCH CWebBrowser2::GetContainer (  ) 

Definition at line 71 of file webbrowser2.cpp.

References NULL, and VT_DISPATCH.

LPDISPATCH CWebBrowser2::GetDocument (  ) 

Definition at line 78 of file webbrowser2.cpp.

References NULL, and VT_DISPATCH.

BOOL CWebBrowser2::GetTopLevelContainer (  ) 

Definition at line 85 of file webbrowser2.cpp.

References BOOL, NULL, and VT_BOOL.

CString CWebBrowser2::GetType (  ) 

Definition at line 92 of file webbrowser2.cpp.

References NULL, and VT_BSTR.

long CWebBrowser2::GetLeft (  ) 

Definition at line 99 of file webbrowser2.cpp.

References NULL, and VT_I4.

void CWebBrowser2::SetLeft ( long  nNewValue  ) 

Definition at line 106 of file webbrowser2.cpp.

References NULL, and VT_EMPTY.

long CWebBrowser2::GetTop (  ) 

Definition at line 114 of file webbrowser2.cpp.

References NULL, and VT_I4.

void CWebBrowser2::SetTop ( long  nNewValue  ) 

Definition at line 121 of file webbrowser2.cpp.

References NULL, and VT_EMPTY.

long CWebBrowser2::GetWidth (  ) 

Definition at line 129 of file webbrowser2.cpp.

References NULL, and VT_I4.

void CWebBrowser2::SetWidth ( long  nNewValue  ) 

Definition at line 136 of file webbrowser2.cpp.

References NULL, and VT_EMPTY.

long CWebBrowser2::GetHeight (  ) 

Definition at line 144 of file webbrowser2.cpp.

References NULL, and VT_I4.

void CWebBrowser2::SetHeight ( long  nNewValue  ) 

Definition at line 151 of file webbrowser2.cpp.

References NULL, and VT_EMPTY.

CString CWebBrowser2::GetLocationName (  ) 

Definition at line 159 of file webbrowser2.cpp.

References NULL, and VT_BSTR.

CString CWebBrowser2::GetLocationURL (  ) 

Definition at line 166 of file webbrowser2.cpp.

References NULL, and VT_BSTR.

BOOL CWebBrowser2::GetBusy (  ) 

Definition at line 173 of file webbrowser2.cpp.

References BOOL, NULL, and VT_BOOL.

void CWebBrowser2::Quit (  ) 

Definition at line 180 of file webbrowser2.cpp.

References NULL, and VT_EMPTY.

void CWebBrowser2::ClientToWindow ( long *  pcx,
long *  pcy 
)

Definition at line 185 of file webbrowser2.cpp.

References NULL, and VT_EMPTY.

void CWebBrowser2::PutProperty ( LPCTSTR  Property_,
const VARIANT vtValue 
)

Definition at line 193 of file webbrowser2.cpp.

References NULL, and VT_EMPTY.

VARIANT CWebBrowser2::GetProperty_ ( LPCTSTR  Property_  ) 

Definition at line 201 of file webbrowser2.cpp.

References VT_VARIANT.

CString CWebBrowser2::GetName (  ) 

Definition at line 211 of file webbrowser2.cpp.

References NULL, and VT_BSTR.

long CWebBrowser2::GetHwnd (  ) 

Definition at line 218 of file webbrowser2.cpp.

References NULL, and VT_I4.

CString CWebBrowser2::GetFullName (  ) 

Definition at line 225 of file webbrowser2.cpp.

References NULL, and VT_BSTR.

CString CWebBrowser2::GetPath (  ) 

Definition at line 232 of file webbrowser2.cpp.

References NULL, and VT_BSTR.

BOOL CWebBrowser2::GetVisible (  ) 

Definition at line 239 of file webbrowser2.cpp.

References BOOL, NULL, and VT_BOOL.

void CWebBrowser2::SetVisible ( BOOL  bNewValue  ) 

Definition at line 246 of file webbrowser2.cpp.

References NULL, and VT_EMPTY.

BOOL CWebBrowser2::GetStatusBar (  ) 

Definition at line 254 of file webbrowser2.cpp.

References BOOL, NULL, and VT_BOOL.

void CWebBrowser2::SetStatusBar ( BOOL  bNewValue  ) 

Definition at line 261 of file webbrowser2.cpp.

References NULL, and VT_EMPTY.

CString CWebBrowser2::GetStatusText (  ) 

Definition at line 269 of file webbrowser2.cpp.

References NULL, and VT_BSTR.

void CWebBrowser2::SetStatusText ( LPCTSTR  lpszNewValue  ) 

Definition at line 276 of file webbrowser2.cpp.

References NULL, and VT_EMPTY.

long CWebBrowser2::GetToolBar (  ) 

Definition at line 284 of file webbrowser2.cpp.

References NULL, and VT_I4.

void CWebBrowser2::SetToolBar ( long  nNewValue  ) 

Definition at line 291 of file webbrowser2.cpp.

References NULL, and VT_EMPTY.

BOOL CWebBrowser2::GetMenuBar (  ) 

Definition at line 299 of file webbrowser2.cpp.

References BOOL, NULL, and VT_BOOL.

void CWebBrowser2::SetMenuBar ( BOOL  bNewValue  ) 

Definition at line 306 of file webbrowser2.cpp.

References NULL, and VT_EMPTY.

BOOL CWebBrowser2::GetFullScreen (  ) 

Definition at line 314 of file webbrowser2.cpp.

References BOOL, NULL, and VT_BOOL.

void CWebBrowser2::SetFullScreen ( BOOL  bNewValue  ) 

Definition at line 321 of file webbrowser2.cpp.

References NULL, and VT_EMPTY.

void CWebBrowser2::Navigate2 ( VARIANT URL,
VARIANT Flags,
VARIANT TargetFrameName,
VARIANT PostData,
VARIANT Headers 
)

Definition at line 329 of file webbrowser2.cpp.

References NULL, and VT_EMPTY.

long CWebBrowser2::QueryStatusWB ( long  cmdID  ) 

Definition at line 337 of file webbrowser2.cpp.

References VT_I4.

void CWebBrowser2::ExecWB ( long  cmdID,
long  cmdexecopt,
VARIANT pvaIn,
VARIANT pvaOut 
)

Definition at line 347 of file webbrowser2.cpp.

References NULL, and VT_EMPTY.

void CWebBrowser2::ShowBrowserBar ( VARIANT pvaClsid,
VARIANT pvarShow,
VARIANT pvarSize 
)

Definition at line 355 of file webbrowser2.cpp.

References NULL, and VT_EMPTY.

long CWebBrowser2::GetReadyState (  ) 

Definition at line 363 of file webbrowser2.cpp.

References NULL, and VT_I4.

BOOL CWebBrowser2::GetOffline (  ) 

Definition at line 370 of file webbrowser2.cpp.

References BOOL, NULL, and VT_BOOL.

void CWebBrowser2::SetOffline ( BOOL  bNewValue  ) 

Definition at line 377 of file webbrowser2.cpp.

References NULL, and VT_EMPTY.

BOOL CWebBrowser2::GetSilent (  ) 

Definition at line 385 of file webbrowser2.cpp.

References BOOL, NULL, and VT_BOOL.

void CWebBrowser2::SetSilent ( BOOL  bNewValue  ) 

Definition at line 392 of file webbrowser2.cpp.

References NULL, and VT_EMPTY.

BOOL CWebBrowser2::GetRegisterAsBrowser (  ) 

Definition at line 400 of file webbrowser2.cpp.

References BOOL, NULL, and VT_BOOL.

void CWebBrowser2::SetRegisterAsBrowser ( BOOL  bNewValue  ) 

Definition at line 407 of file webbrowser2.cpp.

References NULL, and VT_EMPTY.

BOOL CWebBrowser2::GetRegisterAsDropTarget (  ) 

Definition at line 415 of file webbrowser2.cpp.

References BOOL, NULL, and VT_BOOL.

void CWebBrowser2::SetRegisterAsDropTarget ( BOOL  bNewValue  ) 

Definition at line 422 of file webbrowser2.cpp.

References NULL, and VT_EMPTY.

BOOL CWebBrowser2::GetTheaterMode (  ) 

Definition at line 430 of file webbrowser2.cpp.

References BOOL, NULL, and VT_BOOL.

void CWebBrowser2::SetTheaterMode ( BOOL  bNewValue  ) 

Definition at line 437 of file webbrowser2.cpp.

References NULL, and VT_EMPTY.

BOOL CWebBrowser2::GetAddressBar (  ) 

Definition at line 445 of file webbrowser2.cpp.

References BOOL, NULL, and VT_BOOL.

void CWebBrowser2::SetAddressBar ( BOOL  bNewValue  ) 

Definition at line 452 of file webbrowser2.cpp.

References NULL, and VT_EMPTY.

BOOL CWebBrowser2::GetResizable (  ) 

Definition at line 460 of file webbrowser2.cpp.

References BOOL, NULL, and VT_BOOL.

void CWebBrowser2::SetResizable ( BOOL  bNewValue  ) 

Definition at line 467 of file webbrowser2.cpp.

References NULL, and VT_EMPTY.


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

Generated on Sun May 25 00:20:57 2008 by  doxygen 1.5.6