mirror of
https://github.com/reactos/reactos.git
synced 2025-04-28 01:11:35 +00:00
[EXPLORER][INCLUDE] Fix wrong title on taskbar about ampersand (&) (#2266)
Co-authored-by: Mark Jansen <mark.jansen@reactos.org> Based on @learn-more's CORE-11619.patch. CORE-11619
This commit is contained in:
parent
257a701e9b
commit
5f692ed1f0
2 changed files with 8 additions and 1 deletions
|
@ -285,7 +285,9 @@ public:
|
||||||
TBSTYLE_TOOLTIPS | TBSTYLE_WRAPABLE | TBSTYLE_LIST | TBSTYLE_TRANSPARENT |
|
TBSTYLE_TOOLTIPS | TBSTYLE_WRAPABLE | TBSTYLE_LIST | TBSTYLE_TRANSPARENT |
|
||||||
CCS_TOP | CCS_NORESIZE | CCS_NODIVIDER;
|
CCS_TOP | CCS_NORESIZE | CCS_NODIVIDER;
|
||||||
|
|
||||||
return SubclassWindow(CToolbar::Create(hWndParent, styles));
|
HWND toolbar = CToolbar::Create(hWndParent, styles);
|
||||||
|
SetDrawTextFlags(DT_NOPREFIX, DT_NOPREFIX);
|
||||||
|
return SubclassWindow(toolbar);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -306,6 +306,11 @@ public: // Configuration methods
|
||||||
return SendMessageW(TB_SETHOTITEM, item);
|
return SendMessageW(TB_SETHOTITEM, item);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
DWORD SetDrawTextFlags(DWORD useBits, DWORD bitState)
|
||||||
|
{
|
||||||
|
return SendMessageW(TB_SETDRAWTEXTFLAGS, useBits, bitState);
|
||||||
|
}
|
||||||
|
|
||||||
public: // Button list management methods
|
public: // Button list management methods
|
||||||
int GetButtonCount()
|
int GetButtonCount()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue