Changeset 61908 in vbox for trunk/src/VBox/Additions/WINNT/VBoxTray
- Timestamp:
- Jun 28, 2016 1:24:52 AM (8 years ago)
- Location:
- trunk/src/VBox/Additions/WINNT/VBoxTray
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxClipboard.cpp
r60784 r61908 659 659 } break; 660 660 661 case WM_DESTROY: 662 { 663 vboxClipboardRemoveFromCBChain(pCtx); 664 if (pCtx->timerRefresh) 665 KillTimer(pCtx->hwnd, 0); 666 /* 667 * don't need to call PostQuitMessage cause 668 * the VBoxTray already finished a message loop 669 */ 670 } break; 671 661 672 default: 662 673 { … … 732 743 if (pCtx->hwnd) 733 744 { 734 vboxClipboardRemoveFromCBChain(pCtx);735 if (pCtx->timerRefresh)736 KillTimer(pCtx->hwnd, 0);737 738 745 DestroyWindow(pCtx->hwnd); 739 746 pCtx->hwnd = NULL; -
trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxDnD.cpp
r59844 r61908 289 289 { 290 290 MSG uMsg; 291 while (GetMessage(&uMsg, 0, 0, 0)) 291 BOOL fRet; 292 while ((fRet = GetMessage(&uMsg, 0, 0, 0)) > 0) 292 293 { 293 294 TranslateMessage(&uMsg); 294 295 DispatchMessage(&uMsg); 295 296 } 297 Assert(fRet >= 0); 296 298 297 299 if (ASMAtomicReadBool(&pCtx->fShutdown))
Note:
See TracChangeset
for help on using the changeset viewer.