[BROWSEUI]

- Use OleFlushClipboard while the browser window is being destroyed in order to make make any IDataObject that is in clipboard to render so as make is data available after the browser thread exits.
CORE-11565

svn path=/trunk/; revision=72325
This commit is contained in:
Giannis Adamopoulos 2016-08-18 13:16:05 +00:00
parent c611e5c83f
commit 888d052418

View file

@ -3350,6 +3350,10 @@ LRESULT CShellBrowser::OnCreate(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &b
LRESULT CShellBrowser::OnDestroy(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
{
HRESULT hr;
/* The current thread is about to go down so render any IDataObject that may be left in the clipboard */
OleFlushClipboard();
// TODO: rip down everything
{
fCurrentShellView->DestroyViewWindow();