mirror of
https://github.com/reactos/reactos.git
synced 2025-06-18 07:05:19 +00:00
[RSHELL]
* CMenuDeskBar: Use the proper value for style in AdjustWindowRect. * CMenuBand: Implement submenu hot-tracking timer. Not functional yet (submenu creation not implemented). CORE-7881 svn path=/branches/shell-experiments/; revision=62227
This commit is contained in:
parent
b71085bcc2
commit
d28d1bb1df
2 changed files with 139 additions and 47 deletions
|
@ -754,7 +754,7 @@ HRESULT STDMETHODCALLTYPE CMenuDeskBar::Popup(POINTL *ppt, RECTL *prcExclude, MP
|
|||
if (FAILED(hr))
|
||||
return hr;
|
||||
|
||||
::AdjustWindowRect(&rc, WS_DLGFRAME, FALSE);
|
||||
::AdjustWindowRect(&rc, ::GetWindowLong(m_hWnd, GWL_STYLE), FALSE);
|
||||
rc.right -= rc.left;
|
||||
rc.bottom -= rc.top;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue