Source code of Windows XP (NT5)
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.3 KiB

  1. #ifndef _explore2_H
  2. #define _explore2_H
  3. #include "shbrows2.h"
  4. class CExplorerBrowser : public CSHELLBROWSER
  5. {
  6. public:
  7. // IOleInPlaceUIWindow (also IOleWindow)
  8. // *** IShellBrowser methods *** (same as IOleInPlaceFrame)
  9. virtual STDMETHODIMP InsertMenusSB(HMENU hmenuShared,
  10. LPOLEMENUGROUPWIDTHS lpMenuWidths);
  11. virtual STDMETHODIMP BrowseObject(LPCITEMIDLIST pidl, UINT wFlags);
  12. // IBrowserService
  13. virtual STDMETHODIMP OnCreate(LPCREATESTRUCT pcs);
  14. virtual STDMETHODIMP _Initialize(HWND hwnd, IUnknown *pauto);
  15. protected:
  16. CExplorerBrowser();
  17. virtual ~CExplorerBrowser();
  18. friend HRESULT CExplorerBrowser_CreateInstance(HWND hwnd, void **ppsb);
  19. // topmost CExplorerBrowser in a frameset (IE3/AOL/CIS/VB)
  20. // CSHELLBROWSER virtuals
  21. virtual void _UpdateFolderSettings(LPCITEMIDLIST pidl);
  22. virtual DWORD v_ShowControl(UINT iControl, int iCmd);
  23. virtual void v_GetAppTitleTemplate(LPTSTR pszBuffer, LPTSTR pszAppTitle);
  24. virtual LRESULT v_OnInitMenuPopup(HMENU hmenuPopup, int nIndex, BOOL fSystemMenu);
  25. virtual void v_GetDefaultSettings(IETHREADPARAM *piei);
  26. virtual STDMETHODIMP_(IStream *) v_GetViewStream(LPCITEMIDLIST pidl, DWORD grfMode, LPCWSTR pwszName);
  27. virtual DWORD v_RestartFlags();
  28. virtual void v_ParentFolder();
  29. virtual IStream * _GetITBarStream(BOOL fWebBrowser, DWORD grfMode);
  30. virtual void v_InitMembers();
  31. friend LRESULT CALLBACK IEFrameWndProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
  32. friend void CALLBACK BrowserThreadProc(IETHREADPARAM* piei);
  33. friend LRESULT CALLBACK DrivesWndProc(HWND hWnd, UINT uMessage, WPARAM wParam, LPARAM lParam);
  34. BOOL _ExplorerTreeHasFocus();
  35. void _EnableMenuItemsByAttribs(HMENU hmenu);
  36. friend int CALLBACK _export HTIList_FolderIDCompare(HTREEITEM hItem1, HTREEITEM hItem2, LPARAM lParam);
  37. HTREEITEM _htiCut;
  38. HWND _hwndNextViewer;
  39. UINT _nSelChangeTimer;
  40. BITBOOL _fPostCloseLater :1;
  41. BITBOOL _fInteractive :1;
  42. BITBOOL _fNoInteractive :1; // huh? why do we have both?
  43. BITBOOL _fShowTitles :1;
  44. };
  45. #endif // _explore2_H