mirror of
https://github.com/reactos/reactos.git
synced 2026-06-08 17:02:56 +08:00
[MSPAINT] Allow ToolBox to be right-aligned (#5213)
The user will be able to move ToolBox in the main window by dragging. - Add Bar2ID registry setting. - Add CPaintToolBar class to encapsulate the toolbar code. - Capture and track the mouse dragging in CToolBox. - Move the ToolBox if dragging is beyond the center position. CORE-18867
This commit is contained in:
committed by
GitHub
parent
ce562727b8
commit
83e83bfd2c
@@ -414,6 +414,8 @@ LRESULT CToolSettingsWindow::OnLButtonDown(UINT nMsg, WPARAM wParam, LPARAM lPar
|
||||
case TOOL_PEN:
|
||||
break;
|
||||
}
|
||||
|
||||
::SetCapture(::GetParent(m_hWnd));
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user