mirror of
https://github.com/reactos/reactos.git
synced 2025-04-20 20:36:35 +00:00
[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:
parent
c611e5c83f
commit
888d052418
1 changed files with 4 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue