Fixed an issue that meter window flickers when "Hide on Mouse Over" and "Click Through" are set.

This commit is contained in:
spx 2010-11-04 01:45:58 +00:00
parent 25abbc2444
commit 32d81e9343

View File

@ -2874,7 +2874,7 @@ HWND CMeterWindow::GetWindowFromPoint(POINT pos)
{ {
HWND hwndPos = WindowFromPoint(pos); HWND hwndPos = WindowFromPoint(pos);
if (hwndPos == m_Window || !m_ClickThrough) if (hwndPos == m_Window || (!m_ClickThrough && m_WindowHide != HIDEMODE_HIDE))
{ {
return hwndPos; return hwndPos;
} }