do not show preview window on every SPACE key; code refactoring

This commit is contained in:
Paddy Xu
2017-04-26 23:15:06 +03:00
parent fa764b2e69
commit fc5b2742d1
13 changed files with 217 additions and 96 deletions

View File

@@ -5,24 +5,23 @@
class Shell32
{
public:
enum FocusedWindowType
{
INVALID = 0,
DESKTOP = 1,
EXPLORER = 2,
};
static FocusedWindowType GetFocusedWindowType();
static void SaveCurrentSelection();
static UINT GetCurrentSelectionCount();
static void GetCurrentSelectionBuffer(PWCHAR buffer);
private:
enum FocusedWindowType
{
INVALID,
DESKTOP,
EXPLORER,
};
static std::vector<std::wstring> vector_items;
static void SaveSelectedFromDesktop();
static void SaveSelectedFromExplorer();
static FocusedWindowType GetFocusedWindowType();
static CComQIPtr<IWebBrowser2> AttachDesktopShellWindow();
static void vectorFromDataObject(CComPtr<IDataObject> dao);
};