Changeset 59032 in vbox
- Timestamp:
- Dec 7, 2015 4:29:19 PM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 104576
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/src/VBox/Frontends/VirtualBox/src/globals/VBoxGlobal.cpp ¶
r59031 r59032 3238 3238 #if defined (Q_WS_WIN) 3239 3239 3240 if (IsIconic (aWId)) 3241 result &= !!ShowWindow (aWId, SW_RESTORE); 3242 else if (!IsWindowVisible (aWId)) 3243 result &= !!ShowWindow (aWId, SW_SHOW); 3244 3245 result &= !!SetForegroundWindow (aWId); 3240 HWND handle = (HWND)aWId; 3241 3242 if (IsIconic (handle)) 3243 result &= !!ShowWindow (handle, SW_RESTORE); 3244 else if (!IsWindowVisible (handle)) 3245 result &= !!ShowWindow (handle, SW_SHOW); 3246 3247 result &= !!SetForegroundWindow (handle); 3246 3248 3247 3249 #elif defined (Q_WS_X11) -
TabularUnified trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIKeyboardHandler.cpp ¶
r58943 r59032 848 848 #ifdef Q_WS_WIN 849 849 if (!isAutoCaptureDisabled() && autoCaptureSetGlobally() && 850 GetAncestor( m_views[theListOfViewIds[i]]->winId(), GA_ROOT) == GetForegroundWindow())850 GetAncestor((HWND)m_views[theListOfViewIds[i]]->winId(), GA_ROOT) == GetForegroundWindow()) 851 851 #else /* Q_WS_WIN */ 852 852 if (!isAutoCaptureDisabled() && autoCaptureSetGlobally()) … … 1079 1079 #ifdef Q_WS_WIN 1080 1080 if (!isAutoCaptureDisabled() && autoCaptureSetGlobally() && 1081 GetAncestor( pWatchedView->winId(), GA_ROOT) == GetForegroundWindow())1081 GetAncestor((HWND)pWatchedView->winId(), GA_ROOT) == GetForegroundWindow()) 1082 1082 #else /* Q_WS_WIN */ 1083 1083 if (!isAutoCaptureDisabled() && autoCaptureSetGlobally()) … … 1200 1200 1201 1201 MSG message; 1202 message.hwnd = m_views[m_iKeyboardHookViewIndex]->winId();1202 message.hwnd = (HWND)m_views[m_iKeyboardHookViewIndex]->winId(); 1203 1203 message.message = msg; 1204 1204 message.wParam = event.vkCode; -
TabularUnified trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMouseHandler.cpp ¶
r58943 r59032 841 841 #ifdef Q_WS_WIN 842 842 /* Send pending WM_PAINT events: */ 843 ::UpdateWindow( m_viewports[uScreenId]->winId());843 ::UpdateWindow((HWND)m_viewports[uScreenId]->winId()); 844 844 #endif 845 845 mouse().PutMouseEvent(globalPos.x() - m_lastMousePos.x(),
Note:
See TracChangeset
for help on using the changeset viewer.