VirtualBox

Changeset 35304 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Dec 22, 2010 3:43:32 PM (14 years ago)
Author:
vboxsync
Message:

Main/Display, VBoxTray: removed obsolete code.

Location:
trunk/src/VBox/Additions/WINNT/VBoxTray
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/VBoxTray/Makefile.kmk

    r34080 r35304  
    2525endif
    2626VBoxTray_DEFS     = VBOX_WITH_HGCM LOG_TO_BACKDOOR
    27 #temporary define
    28 VBoxTray_DEFS    += MMSEAMLESS
    2927VBoxTray_INCS     = ../include
    3028VBoxTray_SOURCES  = \
  • trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxSeamless.cpp

    r33966 r35304  
    4242    HDC     hdc;
    4343    HRGN    hrgn;
    44 #ifndef MMSEAMLESS
    45     RECT    rect;
    46 #endif
    4744} VBOX_ENUM_PARAM, *PVBOX_ENUM_PARAM;
    4845
     
    155152    Log(("VBoxTray: VBoxEnumFunc %x\n", hwnd));
    156153    /* Only visible windows that are present on the desktop are interesting here */
    157 #ifndef MMSEAMLESS
    158     if (    GetWindowRect(hwnd, &rectWindow)
    159         &&  IntersectRect(&rectVisible, &lpParam->rect, &rectWindow))
    160     {
    161 #else
    162154    if (GetWindowRect(hwnd, &rectWindow))
    163155    {
    164156        rectVisible = rectWindow;
    165 #endif
     157
    166158        char szWindowText[256];
    167159        szWindowText[0] = 0;
     
    223215    param.hrgn      = 0;
    224216
    225 #ifndef MMSEAMLESS
    226     GetWindowRect(GetDesktopWindow(), &param.rect);
    227     Log(("VBoxTray: VBoxRecheckVisibleWindows desktop=%x rect (%d,%d) (%d,%d)\n", GetDesktopWindow(), param.rect.left, param.rect.top, param.rect.right, param.rect.bottom));
    228 #endif
    229217    EnumWindows(VBoxEnumFunc, (LPARAM)&param);
    230218
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette