diff options
author | Sebastien Barre <sebastien.barre@kitware.com> | 2002-07-21 19:56:08 (GMT) |
---|---|---|
committer | Sebastien Barre <sebastien.barre@kitware.com> | 2002-07-21 19:56:08 (GMT) |
commit | 4a792ac1a4c751c17891197703df27f30a83bb2a (patch) | |
tree | 96ae357a6341894fb459068cb1d88e29b9f0127a /Source/MFCDialog/CMakeSetupDialog.h | |
parent | 4823f16ebb3644c4092fa74078e5b2c72d5a2c1a (diff) | |
download | CMake-4a792ac1a4c751c17891197703df27f30a83bb2a.zip CMake-4a792ac1a4c751c17891197703df27f30a83bb2a.tar.gz CMake-4a792ac1a4c751c17891197703df27f30a83bb2a.tar.bz2 |
ENH: add Drag & Drop (directory, file, or CMakeCache), support for Shortcut too
Diffstat (limited to 'Source/MFCDialog/CMakeSetupDialog.h')
-rw-r--r-- | Source/MFCDialog/CMakeSetupDialog.h | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/Source/MFCDialog/CMakeSetupDialog.h b/Source/MFCDialog/CMakeSetupDialog.h index 7a21452..d0c5ac1 100644 --- a/Source/MFCDialog/CMakeSetupDialog.h +++ b/Source/MFCDialog/CMakeSetupDialog.h @@ -87,6 +87,8 @@ protected: void FillCacheManagerFromCacheGUI(); // Create a shortcut on the desktop with the current Source/Build dir. int CreateShortcut(); + // Handle param or single dropped file. + void ChangeDirectoriesFromFile(const char *file); HICON m_hIcon; CString m_RegistryKey; @@ -107,12 +109,13 @@ protected: afx_msg void OnSelendokWhereSource(); afx_msg void OnSize(UINT nType, int cx, int cy); afx_msg void OnGetMinMaxInfo( MINMAXINFO FAR* lpMMI ); - afx_msg void OnOk(); - afx_msg void OnEditchangeGenerator(); - afx_msg void OnHelpButton(); - afx_msg void OnAdvancedValues(); - afx_msg void OnDoubleclickedAdvancedValues(); - //}}AFX_MSG + afx_msg void OnOk(); + afx_msg void OnEditchangeGenerator(); + afx_msg void OnHelpButton(); + afx_msg void OnAdvancedValues(); + afx_msg void OnDoubleclickedAdvancedValues(); + afx_msg void OnDropFiles(HDROP); + //}}AFX_MSG DECLARE_MESSAGE_MAP() int m_oldCX; |