Changeset 35304 in vbox for trunk/src/VBox/Additions
- Timestamp:
- Dec 22, 2010 3:43:32 PM (14 years ago)
- Location:
- trunk/src/VBox/Additions/WINNT/VBoxTray
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/VBoxTray/Makefile.kmk
r34080 r35304 25 25 endif 26 26 VBoxTray_DEFS = VBOX_WITH_HGCM LOG_TO_BACKDOOR 27 #temporary define28 VBoxTray_DEFS += MMSEAMLESS29 27 VBoxTray_INCS = ../include 30 28 VBoxTray_SOURCES = \ -
trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxSeamless.cpp
r33966 r35304 42 42 HDC hdc; 43 43 HRGN hrgn; 44 #ifndef MMSEAMLESS45 RECT rect;46 #endif47 44 } VBOX_ENUM_PARAM, *PVBOX_ENUM_PARAM; 48 45 … … 155 152 Log(("VBoxTray: VBoxEnumFunc %x\n", hwnd)); 156 153 /* Only visible windows that are present on the desktop are interesting here */ 157 #ifndef MMSEAMLESS158 if ( GetWindowRect(hwnd, &rectWindow)159 && IntersectRect(&rectVisible, &lpParam->rect, &rectWindow))160 {161 #else162 154 if (GetWindowRect(hwnd, &rectWindow)) 163 155 { 164 156 rectVisible = rectWindow; 165 #endif 157 166 158 char szWindowText[256]; 167 159 szWindowText[0] = 0; … … 223 215 param.hrgn = 0; 224 216 225 #ifndef MMSEAMLESS226 GetWindowRect(GetDesktopWindow(), ¶m.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 #endif229 217 EnumWindows(VBoxEnumFunc, (LPARAM)¶m); 230 218
Note:
See TracChangeset
for help on using the changeset viewer.