Minor tweaks of "hand pointer".

This commit is contained in:
spx
2009-09-26 07:16:55 +00:00
parent 5560d6e72a
commit f6f293cc57
2 changed files with 8 additions and 6 deletions

View File

@ -2445,14 +2445,18 @@ LRESULT CMeterWindow::OnMouseMove(WPARAM wParam, LPARAM lParam)
if((*j)->HitTest(pos.x, pos.y) && (*j)->HasMouseActionCursor())
{
drawCursor = ((*j)->HasMouseAction() || button);
drawCursor |= ((*j)->HasMouseAction() || button);
}
}
if(drawCursor)
{
SetCursor(LoadCursor(NULL, IDC_HAND));
}
else
{
SetCursor(LoadCursor(NULL, IDC_ARROW));
}
if (redraw)
{