Modified KeyStateToDropEffect macro to match native shellview's
behaviour.
This commit is contained in:
parent
22edb3e99e
commit
c820a3c17f
|
@ -121,9 +121,9 @@ HRESULT WINAPI Shell_MergeMenus (HMENU hmDst, HMENU hmSrc, UINT uInsert, UINT uI
|
|||
};
|
||||
|
||||
#define KeyStateToDropEffect(kst)\
|
||||
(((kst) & MK_CONTROL) ?\
|
||||
(((kst) & MK_SHIFT) ? DROPEFFECT_LINK : DROPEFFECT_COPY):\
|
||||
DROPEFFECT_MOVE)
|
||||
((((kst)&(MK_CONTROL|MK_SHIFT))==(MK_CONTROL|MK_SHIFT)) ? DROPEFFECT_LINK :\
|
||||
(((kst)&(MK_CONTROL|MK_SHIFT)) ? DROPEFFECT_COPY :\
|
||||
DROPEFFECT_MOVE))
|
||||
|
||||
/* Systray */
|
||||
BOOL SYSTRAY_Init(void);
|
||||
|
|
Loading…
Reference in New Issue