// RECT newBounds;
HRESULT hResult;
LRESULT result;
-
+
hResult = S_OK;
if (uMsg == WM_NOTIFY)
{
hResult = fDeskBarSite->QueryInterface(IID_PPV_ARG(IDeskBar, &deskBar));
GetClientRect(&newBounds);
hResult = deskBar->OnPosRectChangeDB(&newBounds);
-
+
#endif
break;
case NM_CUSTOMDRAW:
{
CComPtr<IOleWindow> oleWindow;
HWND ownerWindow;
- HRESULT hResult;
+ HRESULT hResult;
DWORD dwBandID;
-
+
if (punkSite == NULL)
{
/* Create close toolbar and imagelist */
toolbarWnd = CreateWindowW(TOOLBARCLASSNAMEW, NULL,
WS_VISIBLE | WS_CHILD | WS_CLIPSIBLINGS | WS_CLIPCHILDREN |
- TBSTYLE_FLAT | TBSTYLE_TRANSPARENT | TBSTYLE_TOOLTIPS |
+ TBSTYLE_FLAT | TBSTYLE_TRANSPARENT | TBSTYLE_TOOLTIPS |
CCS_NOMOVEY | CCS_NORESIZE | CCS_NOPARENTALIGN | CCS_NODIVIDER
, 0, 0, 0, 0, m_hWnd, NULL, _AtlBaseModule.GetModuleInstance(), NULL);
DeleteObject(hBmp);
SendMessage(toolbarWnd, TB_SETIMAGELIST, 0, (LPARAM)toolImageList);
-
+
/* Add button to toolbar */
closeBtn.iBitmap = MAKELONG(1, 0);
closeBtn.idCommand = IDM_BASEBAR_CLOSE;