VirtualBox

Ignore:
Timestamp:
Apr 15, 2010 2:44:38 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
60126
Message:

VBoxTray: seamless should report all guest windows. (xTracker 4655)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxSeamless.cpp

    r27955 r28366  
    4545    HDC     hdc;
    4646    HRGN    hrgn;
     47#ifndef MMSEAMLESS
    4748    RECT    rect;
     49#endif
    4850} VBOX_ENUM_PARAM, *PVBOX_ENUM_PARAM;
    4951
     
    165167    Log(("VBoxEnumFunc %x\n", hwnd));
    166168    /* Only visible windows that are present on the desktop are interesting here */
     169#ifndef MMSEAMLESS
    167170    if (    GetWindowRect(hwnd, &rectWindow)
    168171        &&  IntersectRect(&rectVisible, &lpParam->rect, &rectWindow))
    169172    {
     173#else
     174    if (GetWindowRect(hwnd, &rectWindow))
     175    {
     176        rectVisible = rectWindow;
     177#endif
    170178        char szWindowText[256];
    171179        szWindowText[0] = 0;
     
    227235    param.hrgn      = 0;
    228236
     237#ifndef MMSEAMLESS
    229238    GetWindowRect(GetDesktopWindow(), &param.rect);
    230239    Log(("VBoxRecheckVisibleWindows desktop=%x rect (%d,%d) (%d,%d)\n", GetDesktopWindow(), param.rect.left, param.rect.top, param.rect.right, param.rect.bottom));
     240#endif
    231241    EnumWindows(VBoxEnumFunc, (LPARAM)&param);
    232242
Note: See TracChangeset for help on using the changeset viewer.

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