Index: /trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxSeamless.cpp
===================================================================
--- /trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxSeamless.cpp	(revision 45362)
+++ /trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxSeamless.cpp	(revision 45363)
@@ -144,4 +144,8 @@
     DWORD               dwStyle, dwExStyle;
     RECT                rectWindow, rectVisible;
+    OSVERSIONINFO       OSinfo;
+
+    OSinfo.dwOSVersionInfoSize = sizeof (OSinfo);
+    GetVersionEx (&OSinfo);
 
     dwStyle   = GetWindowLong(hwnd, GWL_STYLE);
@@ -199,5 +203,25 @@
             {
                 Log(("VBoxTray: GetWindowRgn failed with rc=%d\n", GetLastError()));
-                SetRectRgn(hrgn, rectVisible.left, rectVisible.top, rectVisible.right, rectVisible.bottom);
+
+                /* for vista and above. To solve the issue of small bar above the Start button */
+                if (OSinfo.dwMajorVersion >= 6)
+                {
+                    char szWindowTextStart[256];
+                    HWND hStart = NULL;
+                    hStart = ::FindWindowEx(GetDesktopWindow(), NULL, "Button", NULL);
+                    GetWindowText(hwnd, szWindowText, sizeof(szWindowText));
+                    GetWindowText(hStart,szWindowTextStart, sizeof(szWindowTextStart));
+                    if (   hwnd == hStart && szWindowText != NULL
+                        && !(strcmp(szWindowText, szWindowTextStart))
+                       )
+                    {
+                        LogRel(("VboxTray/Seamless: Start found.\n"));
+                        SetRectRgn(hrgn, rectVisible.left, rectVisible.top +7, rectVisible.right, rectVisible.bottom);
+                    }
+                    else
+                        SetRectRgn(hrgn, rectVisible.left, rectVisible.top , rectVisible.right , rectVisible.bottom);
+                }
+                else
+                    SetRectRgn(hrgn, rectVisible.left, rectVisible.top , rectVisible.right , rectVisible.bottom);
             }
             else
