mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 23:45:42 +00:00
[MSPAINT] Add Static Edge to toolbars
- Add WS_EX_STATICEDGE to paletteWindow. - Remove CCS_NODIVIDER from toolbar. CORE-18867
This commit is contained in:
parent
868c7c4d53
commit
d40de8f47c
2 changed files with 2 additions and 2 deletions
|
@ -23,7 +23,7 @@ LRESULT CToolBox::OnCreate(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandl
|
|||
/* NOTE: The horizontal line above the toolbar is hidden by CCS_NODIVIDER style. */
|
||||
RECT toolbarPos = {0, 0, CX_TOOLBAR, CY_TOOLBAR};
|
||||
DWORD style = WS_CHILD | WS_VISIBLE | CCS_NOPARENTALIGN | CCS_VERT | CCS_NORESIZE |
|
||||
TBSTYLE_TOOLTIPS | TBSTYLE_FLAT | CCS_NODIVIDER;
|
||||
TBSTYLE_TOOLTIPS | TBSTYLE_FLAT;
|
||||
toolbar.Create(TOOLBARCLASSNAME, m_hWnd, toolbarPos, NULL, style);
|
||||
hImageList = ImageList_Create(16, 16, ILC_COLOR24 | ILC_MASK, 16, 0);
|
||||
toolbar.SendMessage(TB_SETIMAGELIST, 0, (LPARAM) hImageList);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue