VirtualBox

Ignore:
Timestamp:
Dec 21, 2010 4:44:39 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
69128
Message:

ExtPack: Send the HWND down to the helper app so we can later make the UAC dialog go to the foreground. This is currently not possible because the main GUI thread is in an API call and does not respond to messages sent by ShellExecuteEx, thus creating a deadlock.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsExtension.cpp

    r35273 r35279  
    178178     */
    179179    QString displayInfo;
     180#ifdef RT_OS_WINDOWS
     181    if (pParent)
     182        displayInfo.sprintf("hwnd=%#llx", (uint64_t)(uintptr_t)pParent->winId());
     183#endif
    180184    CProgress progress = extPackFile.Install(fReplaceIt, displayInfo);
    181185    if (extPackFile.isOk())
     
    395399            /** @todo Refuse this if any VMs are running. */
    396400            QString displayInfo;
     401#ifdef RT_OS_WINDOWS
     402            displayInfo.sprintf("hwnd=%#llx", (uint64_t)(uintptr_t)this->winId());
     403#endif
    397404            CProgress progress = manager.Uninstall(strSelectedPackageName, false /* forced removal? */, displayInfo);
    398405            if (manager.isOk())
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