mirror of
https://github.com/reactos/reactos.git
synced 2026-06-25 13:57:13 +08:00
[BROWSEUI] Load settings on CInternetToolbar::OnContextMenu (#6182)
Based on KRosUser's go.patch. CORE-19145
This commit is contained in:
committed by
GitHub
parent
986809c719
commit
96d525959b
@@ -1684,6 +1684,8 @@ LRESULT CInternetToolbar::OnContextMenu(UINT uMsg, WPARAM wParam, LPARAM lParam,
|
||||
SendMessage(fMainReBar, RB_HITTEST, 0, (LPARAM)&hitTestInfo);
|
||||
if (hitTestInfo.iBand == -1)
|
||||
return 0;
|
||||
|
||||
pSettings->Load();
|
||||
rebarBandInfo.cbSize = sizeof(rebarBandInfo);
|
||||
rebarBandInfo.fMask = RBBIM_ID;
|
||||
SendMessage(fMainReBar, RB_GETBANDINFOW, hitTestInfo.iBand, (LPARAM)&rebarBandInfo);
|
||||
|
||||
Reference in New Issue
Block a user