Index: /trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMessageCenter.cpp
===================================================================
--- /trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMessageCenter.cpp	(revision 45332)
+++ /trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMessageCenter.cpp	(revision 45333)
@@ -1556,5 +1556,5 @@
 }
 
-bool UIMessageCenter::warnAboutVirtNotEnabled64BitsGuest(bool fHWVirtExSupported)
+bool UIMessageCenter::warnAboutVirtNotEnabled64BitsGuest(bool fHWVirtExSupported) const
 {
     if (fHWVirtExSupported)
@@ -1576,5 +1576,5 @@
 }
 
-bool UIMessageCenter::warnAboutVirtNotEnabledGuestRequired(bool fHWVirtExSupported)
+bool UIMessageCenter::warnAboutVirtNotEnabledGuestRequired(bool fHWVirtExSupported) const
 {
     if (fHWVirtExSupported)
@@ -1593,5 +1593,5 @@
 }
 
-bool UIMessageCenter::cannotStartWithoutNetworkIf(const QString &strMachineName, const QString &strIfNames)
+bool UIMessageCenter::cannotStartWithoutNetworkIf(const QString &strMachineName, const QString &strIfNames) const
 {
     return messageOkCancel(mainMachineWindowShown(), MessageType_Error,
@@ -1605,5 +1605,5 @@
 }
 
-void UIMessageCenter::cannotStartMachine(const CConsole &console, const QString &strName)
+void UIMessageCenter::cannotStartMachine(const CConsole &console, const QString &strName) const
 {
     message(mainMachineWindowShown(), MessageType_Error,
@@ -1613,5 +1613,5 @@
 }
 
-void UIMessageCenter::cannotStartMachine(const CProgress &progress, const QString &strName)
+void UIMessageCenter::cannotStartMachine(const CProgress &progress, const QString &strName) const
 {
     message(mainMachineWindowShown(), MessageType_Error,
@@ -1621,75 +1621,66 @@
 }
 
-void UIMessageCenter::cannotSendACPIToMachine()
-{
-    message(mainWindowShown(),  MessageType_Warning,
-        tr("You are trying to shut down the guest with the ACPI power "
-            "button. This is currently not possible because the guest "
-            "does not support software shutdown."));
-}
-
-bool UIMessageCenter::confirmInputCapture(bool *pfAutoConfirmed /* = NULL */)
+void UIMessageCenter::cannotSendACPIToMachine() const
+{
+    message(mainMachineWindowShown(),  MessageType_Warning,
+            tr("You are trying to shut down the guest with the ACPI power button. "
+               "This is currently not possible because the guest does not support software shutdown."));
+}
+
+bool UIMessageCenter::confirmInputCapture(bool &fAutoConfirmed) const
 {
     int rc = message(mainMachineWindowShown(), MessageType_Info,
-        tr("<p>You have <b>clicked the mouse</b> inside the Virtual Machine display "
-           "or pressed the <b>host key</b>. This will cause the Virtual Machine to "
-           "<b>capture</b> the host mouse pointer (only if the mouse pointer "
-           "integration is not currently supported by the guest OS) and the "
-           "keyboard, which will make them unavailable to other applications "
-           "running on your host machine."
-           "</p>"
-           "<p>You can press the <b>host key</b> at any time to <b>uncapture</b> the "
-           "keyboard and mouse (if it is captured) and return them to normal "
-           "operation. The currently assigned host key is shown on the status bar "
-           "at the bottom of the Virtual Machine window, next to the&nbsp;"
-           "<img src=:/hostkey_16px.png/>&nbsp;icon. This icon, together "
-           "with the mouse icon placed nearby, indicate the current keyboard "
-           "and mouse capture state."
-           "</p>") +
-        tr("<p>The host key is currently defined as <b>%1</b>.</p>",
-           "additional message box paragraph")
-            .arg(UIHostCombo::toReadableString(vboxGlobal().settings().hostCombo())),
-        "confirmInputCapture",
-        AlertButton_Ok | AlertButtonOption_Default,
-        AlertButton_Cancel | AlertButtonOption_Escape,
-        0,
-        tr("Capture", "do input capture"));
-
-    if (pfAutoConfirmed)
-        *pfAutoConfirmed = (rc & AutoConfirmed);
-
+                     tr("<p>You have <b>clicked the mouse</b> inside the Virtual Machine display or pressed the <b>host key</b>. "
+                        "This will cause the Virtual Machine to <b>capture</b> the host mouse pointer (only if the mouse pointer "
+                        "integration is not currently supported by the guest OS) and the keyboard, which will make them "
+                        "unavailable to other applications running on your host machine.</p>"
+                        "<p>You can press the <b>host key</b> at any time to <b>uncapture</b> the keyboard and mouse "
+                        "(if it is captured) and return them to normal operation. "
+                        "The currently assigned host key is shown on the status bar at the bottom of the Virtual Machine window, "
+                        "next to the&nbsp;<img src=:/hostkey_16px.png/>&nbsp;icon. "
+                        "This icon, together with the mouse icon placed nearby, indicate the current keyboard and mouse capture state.</p>") +
+                     tr("<p>The host key is currently defined as <b>%1</b>.</p>", "additional message box paragraph")
+                        .arg(UIHostCombo::toReadableString(vboxGlobal().settings().hostCombo())),
+                     "confirmInputCapture",
+                     AlertButton_Ok | AlertButtonOption_Default,
+                     AlertButton_Cancel | AlertButtonOption_Escape,
+                     0,
+                     tr("Capture", "do input capture"));
+    /* Was the message auto-confirmed? */
+    fAutoConfirmed = (rc & AutoConfirmed);
+    /* True if "Ok" was pressed: */
     return (rc & AlertButtonMask) == AlertButton_Ok;
 }
 
-void UIMessageCenter::remindAboutAutoCapture()
+void UIMessageCenter::remindAboutAutoCapture() const
 {
     message(mainMachineWindowShown(), MessageType_Info,
-        tr("<p>You have the <b>Auto capture keyboard</b> option turned on. "
-           "This will cause the Virtual Machine to automatically <b>capture</b> "
-           "the keyboard every time the VM window is activated and make it "
-           "unavailable to other applications running on your host machine: "
-           "when the keyboard is captured, all keystrokes (including system ones "
-           "like Alt-Tab) will be directed to the VM."
-           "</p>"
-           "<p>You can press the <b>host key</b> at any time to <b>uncapture</b> the "
-           "keyboard and mouse (if it is captured) and return them to normal "
-           "operation. The currently assigned host key is shown on the status bar "
-           "at the bottom of the Virtual Machine window, next to the&nbsp;"
-           "<img src=:/hostkey_16px.png/>&nbsp;icon. This icon, together "
-           "with the mouse icon placed nearby, indicate the current keyboard "
-           "and mouse capture state."
-           "</p>") +
-        tr("<p>The host key is currently defined as <b>%1</b>.</p>",
-           "additional message box paragraph")
-            .arg(UIHostCombo::toReadableString(vboxGlobal().settings().hostCombo())),
-        "remindAboutAutoCapture");
-}
-
-void UIMessageCenter::remindAboutMouseIntegration(bool fSupportsAbsolute)
-{
+            tr("<p>You have the <b>Auto capture keyboard</b> option turned on. "
+               "This will cause the Virtual Machine to automatically <b>capture</b> "
+               "the keyboard every time the VM window is activated and make it "
+               "unavailable to other applications running on your host machine: "
+               "when the keyboard is captured, all keystrokes (including system ones "
+               "like Alt-Tab) will be directed to the VM.</p>"
+               "<p>You can press the <b>host key</b> at any time to <b>uncapture</b> the "
+               "keyboard and mouse (if it is captured) and return them to normal "
+               "operation. The currently assigned host key is shown on the status bar "
+               "at the bottom of the Virtual Machine window, next to the&nbsp;"
+               "<img src=:/hostkey_16px.png/>&nbsp;icon. This icon, together "
+               "with the mouse icon placed nearby, indicate the current keyboard "
+               "and mouse capture state.</p>") +
+            tr("<p>The host key is currently defined as <b>%1</b>.</p>",
+               "additional message box paragraph")
+                .arg(UIHostCombo::toReadableString(vboxGlobal().settings().hostCombo())),
+            "remindAboutAutoCapture");
+}
+
+void UIMessageCenter::remindAboutMouseIntegration(bool fSupportsAbsolute) const
+{
+    /* Do not show this async warning more than one at time: */
     if (warningShown("remindAboutMouseIntegration"))
         return;
     setWarningShown("remindAboutMouseIntegration", true);
 
+    /* Show one of warnings, do not close outdated, not possible in current archi: */
     static const char *kNames [2] =
     {
@@ -1697,99 +1688,117 @@
         "remindAboutMouseIntegrationOn"
     };
-
-    /* Close the previous (outdated) window if any. We use kName as
-     * pcszAutoConfirmId which is also used as the widget name by default. */
-    {
-        QWidget *outdated =
-            VBoxGlobal::findWidget(NULL, kNames [int (!fSupportsAbsolute)],
-                                    "QIMessageBox");
-        if (outdated)
-            outdated->close();
-    }
-
     if (fSupportsAbsolute)
     {
         message(mainMachineWindowShown(), MessageType_Info,
-            tr("<p>The Virtual Machine reports that the guest OS supports "
-               "<b>mouse pointer integration</b>. This means that you do not "
-               "need to <i>capture</i> the mouse pointer to be able to use it "
-               "in your guest OS -- all "
-               "mouse actions you perform when the mouse pointer is over the "
-               "Virtual Machine's display are directly sent to the guest OS. "
-               "If the mouse is currently captured, it will be automatically "
-               "uncaptured."
-               "</p>"
-               "<p>The mouse icon on the status bar will look like&nbsp;"
-               "<img src=:/mouse_seamless_16px.png/>&nbsp;to inform you that mouse "
-               "pointer integration is supported by the guest OS and is "
-               "currently turned on."
-               "</p>"
-               "<p><b>Note</b>: Some applications may behave incorrectly in "
-               "mouse pointer integration mode. You can always disable it for "
-               "the current session (and enable it again) by selecting the "
-               "corresponding action from the menu bar."
-               "</p>"),
-            kNames [1] /* auto-confirm id */);
+                tr("<p>The Virtual Machine reports that the guest OS supports <b>mouse pointer integration</b>. "
+                   "This means that you do not need to <i>capture</i> the mouse pointer to be able to use it in your guest OS -- "
+                   "all mouse actions you perform when the mouse pointer is over the Virtual Machine's display "
+                   "are directly sent to the guest OS. If the mouse is currently captured, it will be automatically uncaptured.</p>"
+                   "<p>The mouse icon on the status bar will look like&nbsp;<img src=:/mouse_seamless_16px.png/>&nbsp;to inform you "
+                   "that mouse pointer integration is supported by the guest OS and is currently turned on.</p>"
+                   "<p><b>Note</b>: Some applications may behave incorrectly in mouse pointer integration mode. "
+                   "You can always disable it for the current session (and enable it again) "
+                   "by selecting the corresponding action from the menu bar.</p>"),
+                kNames [1] /* auto-confirm id */);
     }
     else
     {
         message(mainMachineWindowShown(), MessageType_Info,
-            tr("<p>The Virtual Machine reports that the guest OS does not "
-               "support <b>mouse pointer integration</b> in the current video "
-               "mode. You need to capture the mouse (by clicking over the VM "
-               "display or pressing the host key) in order to use the "
-               "mouse inside the guest OS.</p>"),
-            kNames [0] /* auto-confirm id */);
-    }
-
+                tr("<p>The Virtual Machine reports that the guest OS does not support <b>mouse pointer integration</b> "
+                   "in the current video mode. You need to capture the mouse (by clicking over the VM display "
+                   "or pressing the host key) in order to use the mouse inside the guest OS.</p>"),
+                kNames [0] /* auto-confirm id */);
+    }
+
+    /* Allow to show this async warning: */
     setWarningShown("remindAboutMouseIntegration", false);
 }
 
-bool UIMessageCenter::remindAboutPausedVMInput()
-{
-    int rc = message(
-        mainMachineWindowShown(),
-        MessageType_Info,
-        tr("<p>The Virtual Machine is currently in the <b>Paused</b> state and "
-           "not able to see any keyboard or mouse input. If you want to "
-           "continue to work inside the VM, you need to resume it by selecting the "
-           "corresponding action from the menu bar.</p>"),
-        "remindAboutPausedVMInput"
-    );
+bool UIMessageCenter::remindAboutPausedVMInput() const
+{
+    int rc = message(mainMachineWindowShown(), MessageType_Info,
+                     tr("<p>The Virtual Machine is currently in the <b>Paused</b> state and "
+                        "not able to see any keyboard or mouse input. If you want to "
+                        "continue to work inside the VM, you need to resume it by selecting the "
+                        "corresponding action from the menu bar.</p>"),
+                        "remindAboutPausedVMInput");
     return !(rc & AutoConfirmed);
 }
 
-void UIMessageCenter::cannotEnterSeamlessMode(ULONG /* uWidth */,
-                                              ULONG /* uHeight */,
-                                              ULONG /* uBpp */,
-                                              ULONG64 uMinVRAM)
+bool UIMessageCenter::confirmGoingFullscreen(const QString &strHotKey) const
+{
+    return messageOkCancel(mainMachineWindowShown(), MessageType_Info,
+                           tr("<p>The virtual machine window will be now switched to <b>fullscreen</b> mode. "
+                              "You can go back to windowed mode at any time by pressing <b>%1</b>.</p>"
+                              "<p>Note that the <i>Host</i> key is currently defined as <b>%2</b>.</p>"
+                              "<p>Note that the main menu bar is hidden in fullscreen mode. "
+                              "You can access it by pressing <b>Host+Home</b>.</p>")
+                              .arg(strHotKey)
+                              .arg(UIHostCombo::toReadableString(vboxGlobal().settings().hostCombo())),
+                           "confirmGoingFullscreen",
+                           tr("Switch"));
+}
+
+bool UIMessageCenter::confirmGoingSeamless(const QString &strHotKey) const
+{
+    return messageOkCancel(mainMachineWindowShown(), MessageType_Info,
+                           tr("<p>The virtual machine window will be now switched to <b>Seamless</b> mode. "
+                              "You can go back to windowed mode at any time by pressing <b>%1</b>.</p>"
+                              "<p>Note that the <i>Host</i> key is currently defined as <b>%2</b>.</p>"
+                              "<p>Note that the main menu bar is hidden in seamless mode. "
+                              "You can access it by pressing <b>Host+Home</b>.</p>")
+                              .arg(strHotKey)
+                              .arg(UIHostCombo::toReadableString(vboxGlobal().settings().hostCombo())),
+                           "confirmGoingSeamless",
+                           tr("Switch"));
+}
+
+bool UIMessageCenter::confirmGoingScale(const QString &strHotKey) const
+{
+    return messageOkCancel(mainMachineWindowShown(), MessageType_Info,
+                           tr("<p>The virtual machine window will be now switched to <b>Scale</b> mode. "
+                              "You can go back to windowed mode at any time by pressing <b>%1</b>.</p>"
+                              "<p>Note that the <i>Host</i> key is currently defined as <b>%2</b>.</p>"
+                              "<p>Note that the main menu bar is hidden in scale mode. "
+                              "You can access it by pressing <b>Host+Home</b>.</p>")
+                              .arg(strHotKey)
+                              .arg(UIHostCombo::toReadableString(vboxGlobal().settings().hostCombo())),
+                           "confirmGoingScale",
+                           tr("Switch"));
+}
+
+bool UIMessageCenter::cannotEnterFullscreenMode(ULONG /* uWidth */, ULONG /* uHeight */, ULONG /* uBpp */, ULONG64 uMinVRAM) const
+{
+    return messageOkCancel(mainMachineWindowShown(), MessageType_Warning,
+                           tr("<p>Could not switch the guest display to fullscreen mode due to insufficient guest video memory.</p>"
+                              "<p>You should configure the virtual machine to have at least <b>%1</b> of video memory.</p>"
+                              "<p>Press <b>Ignore</b> to switch to fullscreen mode anyway or press <b>Cancel</b> to cancel the operation.</p>")
+                              .arg(VBoxGlobal::formatSize(uMinVRAM)),
+                           0 /* auto-confirm id */,
+                           QIMessageBox::tr("Ignore"));
+}
+
+void UIMessageCenter::cannotEnterSeamlessMode(ULONG /* uWidth */, ULONG /* uHeight */, ULONG /* uBpp */, ULONG64 uMinVRAM) const
 {
     message(mainMachineWindowShown(), MessageType_Error,
-             tr("<p>Could not enter seamless mode due to insufficient guest "
-                  "video memory.</p>"
-                  "<p>You should configure the virtual machine to have at "
-                  "least <b>%1</b> of video memory.</p>")
-             .arg(VBoxGlobal::formatSize(uMinVRAM)));
-}
-
-int UIMessageCenter::cannotEnterFullscreenMode(ULONG /* uWidth */,
-                                               ULONG /* uHeight */,
-                                               ULONG /* uBpp */,
-                                               ULONG64 uMinVRAM)
-{
-    return message(mainMachineWindowShown(), MessageType_Warning,
-             tr("<p>Could not switch the guest display to fullscreen mode due "
-                 "to insufficient guest video memory.</p>"
-                 "<p>You should configure the virtual machine to have at "
-                 "least <b>%1</b> of video memory.</p>"
-                 "<p>Press <b>Ignore</b> to switch to fullscreen mode anyway "
-                 "or press <b>Cancel</b> to cancel the operation.</p>")
-             .arg(VBoxGlobal::formatSize(uMinVRAM)),
-             0 /* auto-confirm id */,
-             AlertButton_Ignore | AlertButtonOption_Default,
-             AlertButton_Cancel | AlertButtonOption_Escape);
-}
-
-void UIMessageCenter::cannotSwitchScreenInSeamless(quint64 uMinVRAM)
+            tr("<p>Could not enter seamless mode due to insufficient guest "
+               "video memory.</p>"
+               "<p>You should configure the virtual machine to have at "
+               "least <b>%1</b> of video memory.</p>")
+               .arg(VBoxGlobal::formatSize(uMinVRAM)));
+}
+
+bool UIMessageCenter::cannotSwitchScreenInFullscreen(quint64 uMinVRAM) const
+{
+    return messageOkCancel(mainMachineWindowShown(), MessageType_Warning,
+                           tr("<p>Could not change the guest screen to this host screen due to insufficient guest video memory.</p>"
+                              "<p>You should configure the virtual machine to have at least <b>%1</b> of video memory.</p>"
+                              "<p>Press <b>Ignore</b> to switch the screen anyway or press <b>Cancel</b> to cancel the operation.</p>")
+                              .arg(VBoxGlobal::formatSize(uMinVRAM)),
+                           0 /* auto-confirm id */,
+                           QIMessageBox::tr("Ignore"));
+}
+
+void UIMessageCenter::cannotSwitchScreenInSeamless(quint64 uMinVRAM) const
 {
     message(mainMachineWindowShown(), MessageType_Error,
@@ -1798,62 +1807,5 @@
                "<p>You should configure the virtual machine to have at "
                "least <b>%1</b> of video memory.</p>")
-            .arg(VBoxGlobal::formatSize(uMinVRAM)));
-}
-
-int UIMessageCenter::cannotSwitchScreenInFullscreen(quint64 uMinVRAM)
-{
-    return message(mainMachineWindowShown(), MessageType_Warning,
-                   tr("<p>Could not change the guest screen to this host screen "
-                      "due to insufficient guest video memory.</p>"
-                      "<p>You should configure the virtual machine to have at "
-                      "least <b>%1</b> of video memory.</p>"
-                      "<p>Press <b>Ignore</b> to switch the screen anyway "
-                      "or press <b>Cancel</b> to cancel the operation.</p>")
-                   .arg(VBoxGlobal::formatSize(uMinVRAM)),
-                   0 /* auto-confirm id */,
-                   AlertButton_Ignore | AlertButtonOption_Default,
-                   AlertButton_Cancel | AlertButtonOption_Escape);
-}
-
-bool UIMessageCenter::confirmGoingFullscreen(const QString &strHotKey)
-{
-    return messageOkCancel(mainMachineWindowShown(), MessageType_Info,
-        tr("<p>The virtual machine window will be now switched to <b>fullscreen</b> mode. "
-           "You can go back to windowed mode at any time by pressing <b>%1</b>.</p>"
-           "<p>Note that the <i>Host</i> key is currently defined as <b>%2</b>.</p>"
-           "<p>Note that the main menu bar is hidden in fullscreen mode. "
-           "You can access it by pressing <b>Host+Home</b>.</p>")
-            .arg(strHotKey)
-            .arg(UIHostCombo::toReadableString(vboxGlobal().settings().hostCombo())),
-        "confirmGoingFullscreen",
-        tr("Switch", "fullscreen"));
-}
-
-bool UIMessageCenter::confirmGoingSeamless(const QString &strHotKey)
-{
-    return messageOkCancel(mainMachineWindowShown(), MessageType_Info,
-        tr("<p>The virtual machine window will be now switched to <b>Seamless</b> mode. "
-           "You can go back to windowed mode at any time by pressing <b>%1</b>.</p>"
-           "<p>Note that the <i>Host</i> key is currently defined as <b>%2</b>.</p>"
-           "<p>Note that the main menu bar is hidden in seamless mode. "
-           "You can access it by pressing <b>Host+Home</b>.</p>")
-            .arg(strHotKey)
-            .arg(UIHostCombo::toReadableString(vboxGlobal().settings().hostCombo())),
-        "confirmGoingSeamless",
-        tr("Switch", "seamless"));
-}
-
-bool UIMessageCenter::confirmGoingScale(const QString &strHotKey)
-{
-    return messageOkCancel(mainMachineWindowShown(), MessageType_Info,
-        tr("<p>The virtual machine window will be now switched to <b>Scale</b> mode. "
-           "You can go back to windowed mode at any time by pressing <b>%1</b>.</p>"
-           "<p>Note that the <i>Host</i> key is currently defined as <b>%2</b>.</p>"
-           "<p>Note that the main menu bar is hidden in scale mode. "
-           "You can access it by pressing <b>Host+Home</b>.</p>")
-            .arg(strHotKey)
-            .arg(UIHostCombo::toReadableString(vboxGlobal().settings().hostCombo())),
-        "confirmGoingScale",
-        tr("Switch", "scale"));
+               .arg(VBoxGlobal::formatSize(uMinVRAM)));
 }
 
Index: /trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMessageCenter.h
===================================================================
--- /trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMessageCenter.h	(revision 45332)
+++ /trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMessageCenter.h	(revision 45333)
@@ -300,23 +300,21 @@
     /* API: Runtime UI warnings: */
     void showRuntimeError(const CConsole &console, bool fFatal, const QString &strErrorId, const QString &strErrorMsg) const;
-    bool warnAboutVirtNotEnabled64BitsGuest(bool fHWVirtExSupported);
-    bool warnAboutVirtNotEnabledGuestRequired(bool fHWVirtExSupported);
-    bool cannotStartWithoutNetworkIf(const QString &strMachineName, const QString &strIfNames);
-    void cannotStartMachine(const CConsole &console, const QString &strName);
-    void cannotStartMachine(const CProgress &progress, const QString &strName);
-    void cannotSendACPIToMachine();
-    bool confirmInputCapture(bool *pfAutoConfirmed = NULL);
-    void remindAboutAutoCapture();
-    void remindAboutMouseIntegration(bool fSupportsAbsolute);
-    bool remindAboutPausedVMInput();
-    void cannotEnterSeamlessMode(ULONG uWidth, ULONG uHeight,
-                                 ULONG uBpp, ULONG64 uMinVRAM);
-    int cannotEnterFullscreenMode(ULONG uWidth, ULONG uHeight,
-                                  ULONG uBpp, ULONG64 uMinVRAM);
-    void cannotSwitchScreenInSeamless(quint64 uMinVRAM);
-    int cannotSwitchScreenInFullscreen(quint64 uMinVRAM);
-    bool confirmGoingFullscreen(const QString &strHotKey);
-    bool confirmGoingSeamless(const QString &strHotKey);
-    bool confirmGoingScale(const QString &strHotKey);
+    bool warnAboutVirtNotEnabled64BitsGuest(bool fHWVirtExSupported) const;
+    bool warnAboutVirtNotEnabledGuestRequired(bool fHWVirtExSupported) const;
+    bool cannotStartWithoutNetworkIf(const QString &strMachineName, const QString &strIfNames) const;
+    void cannotStartMachine(const CConsole &console, const QString &strName) const;
+    void cannotStartMachine(const CProgress &progress, const QString &strName) const;
+    void cannotSendACPIToMachine() const;
+    bool confirmInputCapture(bool &fAutoConfirmed) const;
+    void remindAboutAutoCapture() const;
+    void remindAboutMouseIntegration(bool fSupportsAbsolute) const;
+    bool remindAboutPausedVMInput() const;
+    bool confirmGoingFullscreen(const QString &strHotKey) const;
+    bool confirmGoingSeamless(const QString &strHotKey) const;
+    bool confirmGoingScale(const QString &strHotKey) const;
+    bool cannotEnterFullscreenMode(ULONG uWidth, ULONG uHeight, ULONG uBpp, ULONG64 uMinVRAM) const;
+    void cannotEnterSeamlessMode(ULONG uWidth, ULONG uHeight, ULONG uBpp, ULONG64 uMinVRAM) const;
+    bool cannotSwitchScreenInFullscreen(quint64 uMinVRAM) const;
+    void cannotSwitchScreenInSeamless(quint64 uMinVRAM) const;
     void cannotAttachUSBDevice(const CConsole &console, const QString &device);
     void cannotAttachUSBDevice(const CConsole &console, const QString &device,
Index: /trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIKeyboardHandler.cpp
===================================================================
--- /trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIKeyboardHandler.cpp	(revision 45332)
+++ /trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIKeyboardHandler.cpp	(revision 45333)
@@ -1285,5 +1285,5 @@
                     setAutoCaptureDisabled(true);
                     bool fIsAutoConfirmed = false;
-                    ok = msgCenter().confirmInputCapture(&fIsAutoConfirmed);
+                    ok = msgCenter().confirmInputCapture(fIsAutoConfirmed);
                     if (fIsAutoConfirmed)
                         setAutoCaptureDisabled(false);
Index: /trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMouseHandler.cpp
===================================================================
--- /trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMouseHandler.cpp	(revision 45332)
+++ /trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMouseHandler.cpp	(revision 45333)
@@ -877,7 +877,7 @@
                      * the capture state is to be defined by the dialog result itself: */
                     uisession()->setAutoCaptureDisabled(true);
-                    bool autoConfirmed = false;
-                    bool ok = msgCenter().confirmInputCapture(&autoConfirmed);
-                    if (autoConfirmed)
+                    bool fIsAutoConfirmed = false;
+                    bool ok = msgCenter().confirmInputCapture(fIsAutoConfirmed);
+                    if (fIsAutoConfirmed)
                         uisession()->setAutoCaptureDisabled(false);
                     /* Otherwise, the disable flag will be reset in the next console view's focus in event (since
@@ -889,5 +889,5 @@
                          * otherwise the mouse is immediately ungrabbed again: */
                         qApp->processEvents();
-#endif
+#endif /* Q_WS_X11 */
                         machineLogic()->keyboardHandler()->captureKeyboard(uScreenId);
                         captureMouse(uScreenId);
Index: /trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMultiScreenLayout.cpp
===================================================================
--- /trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMultiScreenLayout.cpp	(revision 45332)
+++ /trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMultiScreenLayout.cpp	(revision 45333)
@@ -226,5 +226,5 @@
                 msgCenter().cannotSwitchScreenInSeamless((((usedBits + 7) / 8 + _1M - 1) / _1M) * _1M);
             else
-                fSuccess = msgCenter().cannotSwitchScreenInFullscreen((((usedBits + 7) / 8 + _1M - 1) / _1M) * _1M) != AlertButton_Cancel;
+                fSuccess = msgCenter().cannotSwitchScreenInFullscreen((((usedBits + 7) / 8 + _1M - 1) / _1M) * _1M);
         }
     }
Index: /trunk/src/VBox/Frontends/VirtualBox/src/runtime/fullscreen/UIMachineLogicFullscreen.cpp
===================================================================
--- /trunk/src/VBox/Frontends/VirtualBox/src/runtime/fullscreen/UIMachineLogicFullscreen.cpp	(revision 45332)
+++ /trunk/src/VBox/Frontends/VirtualBox/src/runtime/fullscreen/UIMachineLogicFullscreen.cpp	(revision 45333)
@@ -60,7 +60,5 @@
         if (availBits < usedBits)
         {
-            int result = msgCenter().cannotEnterFullscreenMode(0, 0, 0,
-                                                               (((usedBits + 7) / 8 + _1M - 1) / _1M) * _1M);
-            if (result == AlertButton_Cancel)
+            if (!msgCenter().cannotEnterFullscreenMode(0, 0, 0, (((usedBits + 7) / 8 + _1M - 1) / _1M) * _1M))
                 return false;
         }
