Added a workaround for the system that the window size is changed incorrectly when the window is dragged over the upper side of the virtual screen.

This commit is contained in:
spx 2011-06-22 06:39:07 +00:00
parent d633f4b586
commit b9cdc53430

View File

@ -3837,6 +3837,9 @@ LRESULT CMeterWindow::OnSysCommand(UINT uMsg, WPARAM wParam, LPARAM lParam)
// Handle buttons
HandleButtons(pos, BUTTONPROC_UP, NULL); // redraw only
// Workaround for the system that the window size is changed incorrectly when the window is dragged over the upper side of the virtual screen
UpdateTransparency(m_TransparencyValue, false);
}
else // not dragged
{