SECIShellViewImpl Class

template <class T, class TPidlMgr>
class SECIShellViewImpl: public CWindowImpl, public IShellView

SECIShellViewImpl

Defined in: SECIShellViewImpl.h

Comments

This class is a wrapper of IShellView interface. It derived from both IShellView interface and CWindowImpl class. This class provides implementation for the method in IUnknown and also provides reference counting for this object. It also provided most common used implementation for the view class used in the namespace extension. For a complete documentation of IShellView, please refer to windows SDK or MSDN from Microsoft.

Class Template Arguments

T

The derived class

TPidlMgr

The SECPidlMgr derived class

Class Members

LPITEMIDLIST m_pPidl

Store PIDL of the current view item

TPidlMgr* m_pPidlMgr

Pointer to a Pidl mamanger

CComPtr<IShellFolder> m_spShellFolder

A pointer to the folder object

CComPtr<IShellBrowser> m_spShellBrowser

A pointer to shell browser object

HWND m_hParentWnd

Parent window handle

HMENU m_hMenu

Menu handle

FOLDERSETTINGS m_FolderSettings

Folder setting structure

UINT m_uState

State of current item

SECIShellViewImpl(IShellFolder* pShellFolder, LPCITEMIDLIST pidl)

Constructor

LRESULT OnSetFocus(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled)

WM_SETFOCUS message handler

LRESULT OnKillFocus(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled)

WM_KILLFOCUS message handler

LRESULT OnActivate(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled)

WM_ACTIVATE message handler