fix: Set windows drop handler effect to copy

This commit is contained in:
WerWolv 2024-01-26 00:08:15 +01:00
parent a08afcf11a
commit b2121b25c1
1 changed files with 3 additions and 3 deletions

View File

@ -332,7 +332,7 @@ namespace hex {
{
EventFileDragged::post(true);
*pdwEffect = DROPEFFECT_NONE;
*pdwEffect = DROPEFFECT_COPY;
return S_OK;
}
@ -341,7 +341,7 @@ namespace hex {
POINTL,
DWORD *pdwEffect) override
{
*pdwEffect = DROPEFFECT_NONE;
*pdwEffect = DROPEFFECT_COPY;
return S_OK;
}
@ -377,7 +377,7 @@ namespace hex {
EventFileDragged::post(false);
*pdwEffect &= DROPEFFECT_NONE;
*pdwEffect &= DROPEFFECT_COPY;
return S_OK;
}
};