Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

CPluginWnd Class Reference

#include <WndPlugin.h>

Inheritance diagram for CPluginWnd:

CPanelWnd CChildWnd List of all members.

Public Member Functions

 CPluginWnd (LPCTSTR pszName=NULL, IPluginWindowOwner *pOwner=NULL)
virtual ~CPluginWnd ()
virtual void OnSkinChange ()
virtual HRESULT GetGenericView (IGenericView **ppView)
virtual LRESULT WindowProc (UINT message, WPARAM wParam, LPARAM lParam)
virtual BOOL PreTranslateMessage (MSG *pMsg)

Public Attributes

IPluginWindowOwnerm_pOwner
CString m_sName
UINT * m_pHandled
DWORD m_nHandled
CCoolBarCtrlm_pToolbar
int m_nToolbar
BOOL m_bAccel

Protected Member Functions

afx_msg int OnCreate (LPCREATESTRUCT lpCreateStruct)
afx_msg void OnSize (UINT nType, int cx, int cy)

Protected Attributes

STDMETHOD( ListenForSingleMessage )(UINT nMessage)
STDMETHOD( ListenForMultipleMessages )(SAFEARRAY FAR *pMessages)
STDMETHOD( Create1 )(BSTR bsCaption, HICON hIcon, VARIANT_BOOL bPanel, VARIANT_BOOL bTabbed)
STDMETHOD( Create2 )(UINT nCommandID, VARIANT_BOOL bPanel, VARIANT_BOOL bTabbed)
STDMETHOD( GetHwnd )(HWND FAR *phWnd)
STDMETHOD( HandleMessage )(LRESULT *plResult)
STDMETHOD( LoadState )(VARIANT_BOOL bMaximise)
STDMETHOD( SaveState )()
STDMETHOD( ThrowMenu )(BSTR sName, LONG nDefaultID, POINT FAR *pPoint)
STDMETHOD( AddToolbar )(BSTR sName, LONG nPosition, HWND FAR *phWnd, ISToolbar FAR *FAR *ppToolbar)
STDMETHOD( AdjustWindowRect )(RECT FAR *pRect, VARIANT_BOOL bClientToWindow)

Constructor & Destructor Documentation

CPluginWnd::CPluginWnd LPCTSTR  pszName = NULL,
IPluginWindowOwner pOwner = NULL
 

Definition at line 55 of file WndPlugin.cpp.

References NULL.

CPluginWnd::~CPluginWnd  )  [virtual]
 

Definition at line 68 of file WndPlugin.cpp.

References m_pHandled, m_pOwner, and m_pToolbar.


Member Function Documentation

HRESULT CPluginWnd::GetGenericView IGenericView **  ppView  )  [virtual]
 

Reimplemented from CChildWnd.

Definition at line 179 of file WndPlugin.cpp.

References m_pOwner, and NULL.

int CPluginWnd::OnCreate LPCREATESTRUCT  lpCreateStruct  )  [protected]
 

Reimplemented from CPanelWnd.

Definition at line 109 of file WndPlugin.cpp.

References CChildWnd::GetManager(), CChildWnd::m_bAlert, and OnSkinChange().

void CPluginWnd::OnSize UINT  nType,
int  cx,
int  cy
[protected]
 

Reimplemented from CPanelWnd.

Definition at line 122 of file WndPlugin.cpp.

References m_nToolbar, m_pToolbar, NULL, and CPanelWnd::OnSize().

void CPluginWnd::OnSkinChange  )  [virtual]
 

Reimplemented from CChildWnd.

Definition at line 142 of file WndPlugin.cpp.

References CoolInterface, CreateMirroredIcon(), CCoolInterface::ExtractIcon(), CSkin::GetWindowSkin(), CSkin::LoadString(), CChildWnd::m_bAlert, CShareazaApp::m_bRTL, CChildWnd::m_nResID, m_pOwner, CChildWnd::m_pSkin, m_sName, NULL, CSkinWindow::OnSize(), Skin, theApp, and WM_SKINCHANGED.

Referenced by OnCreate().

BOOL CPluginWnd::PreTranslateMessage MSG *  pMsg  )  [virtual]
 

Definition at line 78 of file WndPlugin.cpp.

References m_bAccel, and m_pOwner.

LRESULT CPluginWnd::WindowProc UINT  message,
WPARAM  wParam,
LPARAM  lParam
[virtual]
 

Definition at line 90 of file WndPlugin.cpp.

References m_nHandled, m_pHandled, and m_pOwner.


Member Data Documentation

STDMETHOD( CPluginWnd::AddToolbar)(BSTR sName, LONG nPosition, HWND FAR *phWnd, ISToolbar FAR *FAR *ppToolbar) [protected]
 

STDMETHOD( CPluginWnd::AdjustWindowRect)(RECT FAR *pRect, VARIANT_BOOL bClientToWindow) [protected]
 

STDMETHOD( CPluginWnd::Create1)(BSTR bsCaption, HICON hIcon, VARIANT_BOOL bPanel, VARIANT_BOOL bTabbed) [protected]
 

STDMETHOD( CPluginWnd::Create2)(UINT nCommandID, VARIANT_BOOL bPanel, VARIANT_BOOL bTabbed) [protected]
 

STDMETHOD( CPluginWnd::GetHwnd)(HWND FAR *phWnd) [protected]
 

STDMETHOD( CPluginWnd::HandleMessage)(LRESULT *plResult) [protected]
 

STDMETHOD( CPluginWnd::ListenForMultipleMessages)(SAFEARRAY FAR *pMessages) [protected]
 

STDMETHOD( CPluginWnd::ListenForSingleMessage)(UINT nMessage) [protected]
 

STDMETHOD( CPluginWnd::LoadState)(VARIANT_BOOL bMaximise) [protected]
 

BOOL CPluginWnd::m_bAccel
 

Definition at line 47 of file WndPlugin.h.

Referenced by PreTranslateMessage().

DWORD CPluginWnd::m_nHandled
 

Definition at line 44 of file WndPlugin.h.

Referenced by WindowProc().

int CPluginWnd::m_nToolbar
 

Definition at line 46 of file WndPlugin.h.

Referenced by OnSize().

UINT* CPluginWnd::m_pHandled
 

Definition at line 43 of file WndPlugin.h.

Referenced by WindowProc(), and ~CPluginWnd().

IPluginWindowOwner* CPluginWnd::m_pOwner
 

Definition at line 41 of file WndPlugin.h.

Referenced by GetGenericView(), CPlugins::OnCommand(), OnSkinChange(), CPlugins::OnUpdate(), PreTranslateMessage(), WindowProc(), and ~CPluginWnd().

CCoolBarCtrl* CPluginWnd::m_pToolbar
 

Definition at line 45 of file WndPlugin.h.

Referenced by OnSize(), and ~CPluginWnd().

CString CPluginWnd::m_sName
 

Definition at line 42 of file WndPlugin.h.

Referenced by OnSkinChange().

STDMETHOD( CPluginWnd::SaveState)() [protected]
 

STDMETHOD( CPluginWnd::ThrowMenu)(BSTR sName, LONG nDefaultID, POINT FAR *pPoint) [protected]
 


The documentation for this class was generated from the following files:
Generated on Thu Dec 15 10:40:10 2005 for Shareaza 2.2.1.0 by  doxygen 1.4.2