ole32: Use the correct resource ids for the drag&drop cursors.

This commit is contained in:
Alexandre Julliard 2010-10-12 20:22:14 +02:00
parent 954558806e
commit 1e04e923be
2 changed files with 8 additions and 8 deletions

View File

@ -2224,19 +2224,19 @@ static void OLEDD_TrackMouseMove(TrackerWindowInfo* trackerInfo)
if (*trackerInfo->pdwEffect & DROPEFFECT_MOVE)
{
hCur = LoadCursorW(hProxyDll, MAKEINTRESOURCEW(1));
hCur = LoadCursorW(hProxyDll, MAKEINTRESOURCEW(2));
}
else if (*trackerInfo->pdwEffect & DROPEFFECT_COPY)
{
hCur = LoadCursorW(hProxyDll, MAKEINTRESOURCEW(2));
hCur = LoadCursorW(hProxyDll, MAKEINTRESOURCEW(3));
}
else if (*trackerInfo->pdwEffect & DROPEFFECT_LINK)
{
hCur = LoadCursorW(hProxyDll, MAKEINTRESOURCEW(3));
hCur = LoadCursorW(hProxyDll, MAKEINTRESOURCEW(4));
}
else
{
hCur = LoadCursorW(hProxyDll, MAKEINTRESOURCEW(0));
hCur = LoadCursorW(hProxyDll, MAKEINTRESOURCEW(1));
}
SetCursor(hCur);

View File

@ -37,13 +37,13 @@
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
/* @makedep: nodrop.cur */
0 CURSOR nodrop.cur
1 CURSOR nodrop.cur
/* @makedep: drag_move.cur */
1 CURSOR drag_move.cur
2 CURSOR drag_move.cur
/* @makedep: drag_copy.cur */
2 CURSOR drag_copy.cur
3 CURSOR drag_copy.cur
/* @makedep: drag_link.cur */
3 CURSOR drag_link.cur
4 CURSOR drag_link.cur