[MSPAINT] Add Static Edge to toolbars

- Add WS_EX_STATICEDGE to paletteWindow.
- Remove CCS_NODIVIDER from toolbar.
CORE-18867
This commit is contained in:
Katayama Hirofumi MZ 2023-03-17 19:18:07 +09:00
parent 868c7c4d53
commit d40de8f47c
2 changed files with 2 additions and 2 deletions

View file

@ -218,7 +218,7 @@ _tWinMain (HINSTANCE hThisInstance, HINSTANCE hPrevInstance, LPTSTR lpszArgument
/* creating the palette child window */
RECT paletteWindowPos = {56, 9, 56 + 255, 9 + 32};
paletteWindow.Create(hwnd, paletteWindowPos, NULL, WS_CHILD | WS_VISIBLE);
paletteWindow.Create(hwnd, paletteWindowPos, NULL, WS_CHILD | WS_VISIBLE, WS_EX_STATICEDGE);
// creating the canvas
RECT canvasWindowPos = {0, 0, 0 + 500, 0 + 500};