mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2025-01-13 15:43:53 +08:00
.
This commit is contained in:
parent
25f580680c
commit
88cdaf254b
@ -145,7 +145,6 @@ MWebBrowserEx *MWebBrowserEx::Create(HWND _hwndParent)
|
|||||||
pBrowser->Release();
|
pBrowser->Release();
|
||||||
pBrowser = NULL;
|
pBrowser = NULL;
|
||||||
}
|
}
|
||||||
auto hwnd = pBrowser->GetControlWindow();
|
|
||||||
SetProp(_hwndParent, L"GWLP_WNDPROC", (HANDLE)GetWindowLongPtr(_hwndParent, GWLP_WNDPROC));
|
SetProp(_hwndParent, L"GWLP_WNDPROC", (HANDLE)GetWindowLongPtr(_hwndParent, GWLP_WNDPROC));
|
||||||
SetProp(_hwndParent, L"THIS_PTR", (HANDLE)pBrowser);
|
SetProp(_hwndParent, L"THIS_PTR", (HANDLE)pBrowser);
|
||||||
SetWindowLongPtr(_hwndParent, GWLP_WNDPROC, (ULONG_PTR)Extra_Menu_Handle);
|
SetWindowLongPtr(_hwndParent, GWLP_WNDPROC, (ULONG_PTR)Extra_Menu_Handle);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user