Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

60 lines
2.4 KiB

#ifndef _explore2_H
#define _explore2_H
#include "shbrows2.h"
class CExplorerBrowser : public CSHELLBROWSER
{
public:
// IOleInPlaceUIWindow (also IOleWindow)
// *** IShellBrowser methods *** (same as IOleInPlaceFrame)
virtual STDMETHODIMP InsertMenusSB(HMENU hmenuShared,
LPOLEMENUGROUPWIDTHS lpMenuWidths);
virtual STDMETHODIMP BrowseObject(LPCITEMIDLIST pidl, UINT wFlags);
// IBrowserService
virtual STDMETHODIMP OnCreate(LPCREATESTRUCT pcs);
virtual STDMETHODIMP _Initialize(HWND hwnd, IUnknown *pauto);
protected:
CExplorerBrowser();
virtual ~CExplorerBrowser();
friend HRESULT CExplorerBrowser_CreateInstance(HWND hwnd, void **ppsb);
// topmost CExplorerBrowser in a frameset (IE3/AOL/CIS/VB)
// CSHELLBROWSER virtuals
virtual void _UpdateFolderSettings(LPCITEMIDLIST pidl);
virtual DWORD v_ShowControl(UINT iControl, int iCmd);
virtual void v_GetAppTitleTemplate(LPTSTR pszBuffer, size_t cchBuffer, LPTSTR pszAppTitle);
virtual LRESULT v_OnInitMenuPopup(HMENU hmenuPopup, int nIndex, BOOL fSystemMenu);
virtual void v_GetDefaultSettings(IETHREADPARAM *piei);
virtual STDMETHODIMP_(IStream *) v_GetViewStream(LPCITEMIDLIST pidl, DWORD grfMode, LPCWSTR pwszName);
virtual DWORD v_RestartFlags();
virtual void v_ParentFolder();
virtual IStream * _GetITBarStream(BOOL fWebBrowser, DWORD grfMode);
virtual void v_InitMembers();
friend LRESULT CALLBACK IEFrameWndProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
friend void CALLBACK BrowserThreadProc(IETHREADPARAM* piei);
friend LRESULT CALLBACK DrivesWndProc(HWND hWnd, UINT uMessage, WPARAM wParam, LPARAM lParam);
BOOL _ExplorerTreeHasFocus();
void _EnableMenuItemsByAttribs(HMENU hmenu);
friend int CALLBACK _export HTIList_FolderIDCompare(HTREEITEM hItem1, HTREEITEM hItem2, LPARAM lParam);
HTREEITEM _htiCut;
HWND _hwndNextViewer;
UINT _nSelChangeTimer;
BITBOOL _fPostCloseLater :1;
BITBOOL _fInteractive :1;
BITBOOL _fNoInteractive :1; // huh? why do we have both?
BITBOOL _fShowTitles :1;
};
#endif // _explore2_H