1 //*******************************************************************************
4 // You may use this source code, compile or redistribute it as part of your application
5 // for free. You cannot redistribute it as a part of a software development
6 // library without the agreement of the author. If the sources are
7 // distributed along with the application, you should leave the original
8 // copyright notes in the source code without any changes.
9 // This code can be used WITHOUT ANY WARRANTIES at your own risk.
11 // For the latest updates to this code, check this site:
12 // http://www.masmex.com
15 // Copyright(C) 2000 Philip Oldaker <email: philip@masmex.com>
16 //*******************************************************************************
21 #include "UIFolderRefresh.h"
23 // SHELL ITEM DATA STRUCTURES
26 typedef struct tagLVID
28 LPSHELLFOLDER lpsfParent;
33 } LVITEMDATA, *LPLVITEMDATA;
36 typedef struct tagTVID
38 LPSHELLFOLDER lpsfParent;
42 } TVITEMDATA, *LPTVITEMDATA;
46 typedef vector<LPTVITEMDATA> vecItemData;
48 class CRefreshIEFolder : public CRefresh
51 CRefreshIEFolder(const CRefreshIEFolder &rRefresh);
52 CRefreshIEFolder &operator=(const CRefreshIEFolder &rRefresh);
54 CRefreshIEFolder(HTREEITEM hItem,LPARAM lParam) : CRefresh(hItem,lParam) {}
55 LPTVITEMDATA GetItemData() const { return (LPTVITEMDATA)GetExtData(); }
58 class CRefreshShellFolder : public CRefresh
61 CRefreshShellFolder(const CRefreshShellFolder &rRefresh);
62 CRefreshShellFolder &operator=(const CRefreshShellFolder &rRefresh);
64 CRefreshShellFolder(HTREEITEM hItem,LPARAM lParam) : CRefresh(hItem,lParam) {}
65 LPTVITEMDATA GetItemData() const { return (LPTVITEMDATA)GetExtData(); }
68 #endif //__REFRESH_H__