fsShellBrowsersEvents Class Reference

#include <fsShellBrowsersEvents.h>

List of all members.

Public Member Functions

 fsShellBrowsersEvents ()
virtual ~fsShellBrowsersEvents ()
IWebBrowser2 * get_WB ()
BOOL is_Attached ()
HRESULT Attach (SHDocVw::IShellWindowsPtr &spSHWnds)
void Detach ()
void SetEventFunc (fntSHBrowserEvent pfn, LPVOID lpParam)

Protected Member Functions

void OnNavigateComplete2 (LPDISPATCH pDisp, VARIANT *URL)
void OnDocumentComplete (LPDISPATCH pDisp, VARIANT *URL)
void OnDownloadComplete ()
void OnDownloadBegin ()
void OnBeforeNavigate (LPDISPATCH, VARIANT *, VARIANT *, VARIANT *, VARIANT *, VARIANT *, BOOL *)
BOOL Event (fsSHBrowserEvent ev, DWORD dwInfo=0)
HRESULT Attach (SHDocVw::IWebBrowser2Ptr &spBrowser)

Protected Attributes

bool m_bDetaching
LPDISPATCH m_pWBRoot
fntSHBrowserEvent m_pfnEvents
LPVOID m_lpEventsParam
IWebBrowser2Ptr m_spWB
IConnectionPointPtr m_spConnPt
DWORD m_dwCookie
fs::list< fsShellBrowsersEvents * > m_vBrowsers


Detailed Description

Definition at line 22 of file fsShellBrowsersEvents.h.


Constructor & Destructor Documentation

fsShellBrowsersEvents::fsShellBrowsersEvents (  ) 

Definition at line 18 of file fsShellBrowsersEvents.cpp.

References NULL.

fsShellBrowsersEvents::~fsShellBrowsersEvents (  )  [virtual]

Definition at line 26 of file fsShellBrowsersEvents.cpp.

References Detach().


Member Function Documentation

IWebBrowser2 * fsShellBrowsersEvents::get_WB (  ) 

Definition at line 187 of file fsShellBrowsersEvents.cpp.

References m_spWB.

BOOL fsShellBrowsersEvents::is_Attached (  ) 

Definition at line 182 of file fsShellBrowsersEvents.cpp.

References m_spConnPt, m_vBrowsers, and NULL.

Referenced by Attach(), and Event().

HRESULT fsShellBrowsersEvents::Attach ( SHDocVw::IShellWindowsPtr &  spSHWnds  ) 

void fsShellBrowsersEvents::Detach (  ) 

void fsShellBrowsersEvents::SetEventFunc ( fntSHBrowserEvent  pfn,
LPVOID  lpParam 
)

Definition at line 162 of file fsShellBrowsersEvents.cpp.

References m_lpEventsParam, m_pfnEvents, and m_vBrowsers.

Referenced by Attach(), and Detach().

void fsShellBrowsersEvents::OnNavigateComplete2 ( LPDISPATCH  pDisp,
VARIANT URL 
) [protected]

Definition at line 201 of file fsShellBrowsersEvents.cpp.

References m_pWBRoot, and NULL.

void fsShellBrowsersEvents::OnDocumentComplete ( LPDISPATCH  pDisp,
VARIANT URL 
) [protected]

Definition at line 192 of file fsShellBrowsersEvents.cpp.

References Event(), m_pWBRoot, NULL, and SBE_DOCUMENTCOMPLETE.

void fsShellBrowsersEvents::OnDownloadComplete (  )  [protected]

Definition at line 157 of file fsShellBrowsersEvents.cpp.

References Event(), and SBE_DLCOMPLETE.

void fsShellBrowsersEvents::OnDownloadBegin (  )  [protected]

Definition at line 152 of file fsShellBrowsersEvents.cpp.

References Event(), and SBE_DLBEGIN.

void fsShellBrowsersEvents::OnBeforeNavigate ( LPDISPATCH  ,
VARIANT vtUrl,
VARIANT ,
VARIANT ,
VARIANT ,
VARIANT ,
BOOL *  pbCancel 
) [protected]

Definition at line 146 of file fsShellBrowsersEvents.cpp.

References tagPROPVARIANT::bstrVal, Event(), FALSE, and SBE_BEFORENAVIGATE.

BOOL fsShellBrowsersEvents::Event ( fsSHBrowserEvent  ev,
DWORD  dwInfo = 0 
) [protected]

HRESULT fsShellBrowsersEvents::Attach ( SHDocVw::IWebBrowser2Ptr &  spBrowser  )  [protected]

Definition at line 89 of file fsShellBrowsersEvents.cpp.

References FAILED, FALSE, hr, HRESULT, LPVOID, m_bDetaching, m_dwCookie, m_spConnPt, m_spWB, and S_FALSE.


Member Data Documentation

Definition at line 45 of file fsShellBrowsersEvents.h.

Referenced by Attach(), Detach(), and Event().

LPDISPATCH fsShellBrowsersEvents::m_pWBRoot [protected]

Definition at line 46 of file fsShellBrowsersEvents.h.

Referenced by OnDocumentComplete(), and OnNavigateComplete2().

Definition at line 54 of file fsShellBrowsersEvents.h.

Referenced by Attach(), Event(), and SetEventFunc().

Definition at line 55 of file fsShellBrowsersEvents.h.

Referenced by Attach(), Event(), and SetEventFunc().

IWebBrowser2Ptr fsShellBrowsersEvents::m_spWB [protected]

Definition at line 61 of file fsShellBrowsersEvents.h.

Referenced by Attach(), and get_WB().

IConnectionPointPtr fsShellBrowsersEvents::m_spConnPt [protected]

Definition at line 62 of file fsShellBrowsersEvents.h.

Referenced by Attach(), Detach(), and is_Attached().

Definition at line 63 of file fsShellBrowsersEvents.h.

Referenced by Attach(), and Detach().

Definition at line 65 of file fsShellBrowsersEvents.h.

Referenced by Attach(), Detach(), is_Attached(), and SetEventFunc().


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

Generated on Sun May 25 00:21:09 2008 by  doxygen 1.5.6