mirror of
https://github.com/reactos/reactos.git
synced 2024-09-28 05:26:58 +00:00
[MSPAINT] When clicking selection, invalidate _and_ repaint Scroll Client _and_ Image Area
Previously, the canvas disappeared when a selection was clicked until the mouse was moved. CORE-13288
This commit is contained in:
parent
97025c3e06
commit
cca1a3f47f
|
@ -148,6 +148,8 @@ LRESULT CSelectionWindow::OnLButtonDown(UINT nMsg, WPARAM wParam, LPARAM lParam,
|
||||||
SetCursor(LoadCursor(NULL, m_lpszCursorLUT[m_iAction]));
|
SetCursor(LoadCursor(NULL, m_lpszCursorLUT[m_iAction]));
|
||||||
m_bMoving = TRUE;
|
m_bMoving = TRUE;
|
||||||
scrlClientWindow.InvalidateRect(NULL, TRUE);
|
scrlClientWindow.InvalidateRect(NULL, TRUE);
|
||||||
|
scrlClientWindow.SendMessage(WM_PAINT, 0, 0);
|
||||||
|
imageArea.InvalidateRect(NULL, FALSE);
|
||||||
imageArea.SendMessage(WM_PAINT, 0, 0);
|
imageArea.SendMessage(WM_PAINT, 0, 0);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue