[ATL][SHELL32][EXPLORER] Disable ATLASSERT (#3527)

We are not ready for enabling ATLASSERT. Enabling ATL assertions takes time to realize. CORE-17505
- Disable ATLASSERT by undefining _DEBUG.
- Revert currently non-fixable codes.
This commit is contained in:
Katayama Hirofumi MZ
2021-03-11 20:26:45 +09:00
committed by GitHub
parent 4583eae4f7
commit 9259ded8ae
6 changed files with 9 additions and 12 deletions

View File

@@ -1231,10 +1231,8 @@ void CNotifyToolbar::Initialize(HWND hWndParent, CBalloonQueue * queue)
TBSTYLE_FLAT | TBSTYLE_TOOLTIPS | TBSTYLE_WRAPABLE | TBSTYLE_TRANSPARENT |
CCS_TOP | CCS_NORESIZE | CCS_NOPARENTALIGN | CCS_NODIVIDER;
HWND toolbar = CToolbar::Create(hWndParent, styles);
//HACK: We have not created this toolbar properly, so we need to subclass it now!
m_hWnd = NULL;
SubclassWindow(toolbar);
// HACK & FIXME: CORE-17505
SubclassWindow(CToolbar::Create(hWndParent, styles));
// Force the toolbar tooltips window to always show tooltips even if not foreground
HWND tooltipsWnd = (HWND)SendMessageW(TB_GETTOOLTIPS);