mirror of
https://github.com/reactos/reactos.git
synced 2025-08-10 00:03:03 +00: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:
parent
ce562727b8
commit
83e83bfd2c
6 changed files with 130 additions and 48 deletions
|
@ -43,6 +43,12 @@ public:
|
|||
DWORD ShowStatusBar;
|
||||
DWORD ShowPalette;
|
||||
DWORD ShowToolBox;
|
||||
DWORD Bar2ID;
|
||||
|
||||
// Values for Bar2ID.
|
||||
// I think these values are Win2k3 mspaint compatible but sometimes not working...
|
||||
#define BAR2ID_LEFT 0x0000e81c
|
||||
#define BAR2ID_RIGHT 0x0000e81d
|
||||
|
||||
enum WallpaperStyle {
|
||||
TILED,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue