Modified KeyStateToDropEffect macro to match native shellview's

behaviour.
This commit is contained in:
Michael Jung 2005-11-28 11:17:19 +01:00 committed by Alexandre Julliard
parent 22edb3e99e
commit c820a3c17f
1 changed files with 3 additions and 3 deletions

View File

@ -121,9 +121,9 @@ HRESULT WINAPI Shell_MergeMenus (HMENU hmDst, HMENU hmSrc, UINT uInsert, UINT uI
}; };
#define KeyStateToDropEffect(kst)\ #define KeyStateToDropEffect(kst)\
(((kst) & MK_CONTROL) ?\ ((((kst)&(MK_CONTROL|MK_SHIFT))==(MK_CONTROL|MK_SHIFT)) ? DROPEFFECT_LINK :\
(((kst) & MK_SHIFT) ? DROPEFFECT_LINK : DROPEFFECT_COPY):\ (((kst)&(MK_CONTROL|MK_SHIFT)) ? DROPEFFECT_COPY :\
DROPEFFECT_MOVE) DROPEFFECT_MOVE))
/* Systray */ /* Systray */
BOOL SYSTRAY_Init(void); BOOL SYSTRAY_Init(void);