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);