mirror of
https://github.com/reactos/reactos.git
synced 2025-07-30 18:22:28 +00:00
[RSHELL]
* Fix keyboard navigation and hottracking behaviour. One glitch remains where quickly moving the mouse to a parent's toolbar item, and returning to the submenu before it closes, won't restore the parent's hot item to the one with the submenu. svn path=/branches/shell-experiments/; revision=62509
This commit is contained in:
parent
492eebcc0e
commit
bacc079c22
7 changed files with 240 additions and 25 deletions
|
@ -29,6 +29,7 @@ private:
|
|||
HFONT m_marlett;
|
||||
BOOL m_useFlatMenus;
|
||||
WNDPROC m_SubclassOld;
|
||||
BOOL m_disableMouseTrack;
|
||||
|
||||
protected:
|
||||
CMenuBand * m_menuBand;
|
||||
|
@ -67,13 +68,15 @@ public:
|
|||
HRESULT DoContextMenu(IContextMenu* contextMenu);
|
||||
|
||||
HRESULT ChangeHotItem(DWORD changeType);
|
||||
HRESULT OnHotItemChange(const NMTBHOTITEM * hot);
|
||||
HRESULT OnHotItemChange(const NMTBHOTITEM * hot, LRESULT * theResult);
|
||||
|
||||
HRESULT GetIdealSize(SIZE& size);
|
||||
HRESULT SetPosSize(int x, int y, int cx, int cy);
|
||||
|
||||
void InvalidateDraw();
|
||||
|
||||
HRESULT DisableMouseTrack(BOOL bDisable);
|
||||
|
||||
virtual HRESULT FillToolbar(BOOL clearFirst=FALSE) = 0;
|
||||
virtual HRESULT OnContextMenu(NMMOUSE * rclick) = 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue