mirror of
https://github.com/reactos/reactos.git
synced 2025-06-22 23:10:18 +00:00
[RSHELL]
* Some small fixes to the previous commit. (Clicking still do not work in win2003, though) svn path=/branches/shell-experiments/; revision=62680
This commit is contained in:
parent
97b02b410b
commit
c46d671641
4 changed files with 36 additions and 14 deletions
|
@ -254,11 +254,16 @@ LRESULT CMenuFocusManager::ProcessMouseMove(MSG* msg)
|
|||
POINT pt2 = { GET_X_LPARAM(msg->lParam), GET_Y_LPARAM(msg->lParam) };
|
||||
ClientToScreen(msg->hwnd, &pt2);
|
||||
|
||||
/* Don't do anything if the mouse has not been moved */
|
||||
// Don't do anything if the mouse has not been moved
|
||||
POINT pt = msg->pt;
|
||||
if (pt.x == m_ptPrev.x && pt.y == m_ptPrev.y)
|
||||
return TRUE;
|
||||
|
||||
// Don't do anything if another window is capturing the mouse.
|
||||
HWND cCapture = ::GetCapture();
|
||||
if (cCapture && cCapture != m_captureHwnd)
|
||||
return TRUE;
|
||||
|
||||
m_ptPrev = pt;
|
||||
|
||||
child = WindowFromPoint(pt);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue