View unanswered posts | View active topics It is currently Wed May 22, 2013 1:22 pm



Post new topic Reply to topic  [ 1 post ] 
 problem compiling BBSystemBar 1.13b15 
Author Message
BBWise

Joined: Sat Nov 11, 2006 5:38 pm
Posts: 42
Reply with quote
Post problem compiling BBSystemBar 1.13b15
Code:
D:\sysbar6\BBSystemBar.cpp(1039): error: expression must have (pointer-to-) function type
      if (GET_WHEEL_DELTA_WPARAM(&wParam) < 0)


in:
Code:
      case WM_MOUSEWHEEL:
      {
         if (!linkToToolbar && (GetAsyncKeyState(VK_CONTROL) & 0x8000))
         {
            bool sizechanged = false;
            KillTimer(hBBSystemBarWnd, 1);

            if (GET_WHEEL_DELTA_WPARAM(wParam) < 0)
            {
               if (BBSystemBarWidthPercent > 5)
               {
                  sizechanged = true;
                  BBSystemBarWidthPercent--;
               }
            }
            else
            {
               if (BBSystemBarWidthPercent < 100)
               {
                  sizechanged = true;
                  BBSystemBarWidthPercent++;
               }
            }

            if (sizechanged)
               SetTimer(hBBSystemBarWnd, 1, 1000, NULL);

            UpdateBBSBPosition();
            bTaskBackgroundsExist = false;
            bBackgroundExists = false; // Forces re-rendering of the background bitmap
            InvalidateRect(hBBSystemBarWnd, NULL, false);
            MoveWindow(hBBSystemBarWnd, BBSystemBarX, BBSystemBarY, BBSystemBarWidth, BBSystemBarHeight, true);
            /* if (pSettings->toolbarOnTop) SetWindowPos(pSystembar->hSystembarWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOACTIVATE | SWP_NOSIZE | SWP_NOMOVE);
            else SetWindowPos(pSystembar->hSystembarWnd, HWND_NOTOPMOST, 0, 0, 0, 0, SWP_NOACTIVATE | SWP_NOSIZE | SWP_NOMOVE);*/
         }
      }
      break;


important note: GET_WHEEL_DELTA_WPARAM does not appear anywhere in the source other than there

there were other errors such as : TOOLBAR_TOP_LEFT (and some others) did not exist, but I replaced it with PLACEMENT_TOP_LEFT (and the others) which I hope was the corrent solution.

_________________
Microsuck Winblows XP Deleted Edition


Sun Jul 15, 2007 3:54 am
Report this post
Profile WWW
Sponsored Links
Google Adsense


Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.