diff options
| author | George Hazan <ghazan@miranda.im> | 2020-05-29 14:26:21 +0300 |
|---|---|---|
| committer | George Hazan <ghazan@miranda.im> | 2020-05-29 14:26:21 +0300 |
| commit | 8e4d5ed217f3131238a7a02cfc89e1355bde1683 (patch) | |
| tree | 85838a28478cc8294dd48b3be1c5570ff75fc919 /include | |
| parent | 523a463a64a427476139212a6c0193f8ca965255 (diff) | |
towards #2408: CSrmmBaseDialog::ProcessFileDrop - a helper with window handle to process file dropping operations
Diffstat (limited to 'include')
| -rw-r--r-- | include/m_srmm_int.h | 1 | ||||
| -rw-r--r-- | include/m_utils.h | 9 |
2 files changed, 1 insertions, 9 deletions
diff --git a/include/m_srmm_int.h b/include/m_srmm_int.h index 8c95a761fa..5c0e75e27f 100644 --- a/include/m_srmm_int.h +++ b/include/m_srmm_int.h @@ -196,6 +196,7 @@ protected: INT_PTR DlgProc(UINT msg, WPARAM wParam, LPARAM lParam) override; int NotifyEvent(int code); + bool ProcessFileDrop(HDROP hDrop, MCONTACT hContact); bool ProcessHotkeys(int key, bool bShift, bool bCtrl, bool bAlt); void RefreshButtonStatus(void); void RunUserMenu(HWND hwndOwner, struct USERINFO *ui, const POINT &pt); diff --git a/include/m_utils.h b/include/m_utils.h index e6aecec3f8..d4cfd13593 100644 --- a/include/m_utils.h +++ b/include/m_utils.h @@ -51,15 +51,6 @@ EXTERN_C MIR_CORE_DLL(void) Utils_OpenUrl(const char *pszUrl, bool bOpenInNewWin EXTERN_C MIR_CORE_DLL(void) Utils_OpenUrlW(const wchar_t *pszUrl, bool bOpenInNewWindow = true);
/////////////////////////////////////////////////////////////////////////////////////////
-// Converts a dropped file into a file transfer
-//
-// #include <shellapi.h> to use this function
-
-#ifdef _INC_SHELLAPI
-MIR_APP_DLL(bool) ProcessFileDrop(HDROP hDrop, MCONTACT hContact);
-#endif
-
-/////////////////////////////////////////////////////////////////////////////////////////
// Resizes a dialog by calling a custom routine to move the individual
// Returns 0 on success, or nonzero on failure
// Does not support dialogtemplateex dialog boxes, and will return failure if you try to resize one
|
