mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 02:43:09 +00:00
[RSHELL]
* Implement WH_MSGFILTER hooking to handle the popup menus from the horizontal menubar. Switching between menu items wby moving the mouse now works, but at the moment, the non-menu popups (including the start menu) are somewhat glitchy. CORE-7586 svn path=/branches/shell-experiments/; revision=62534
This commit is contained in:
parent
64227df624
commit
ad40525f61
8 changed files with 273 additions and 117 deletions
|
@ -22,6 +22,10 @@
|
|||
class CMenuBand;
|
||||
class CMenuFocusManager;
|
||||
|
||||
#define WM_USER_ISTRACKEDITEM (WM_USER+41)
|
||||
#define WM_USER_CHANGETRACKEDITEM (WM_USER+42)
|
||||
|
||||
|
||||
class CMenuToolbarBase
|
||||
{
|
||||
private:
|
||||
|
@ -44,6 +48,7 @@ protected:
|
|||
INT m_popupItem;
|
||||
|
||||
DWORD m_toolbarFlags;
|
||||
BOOL m_isTracking;
|
||||
|
||||
private:
|
||||
static LRESULT CALLBACK s_SubclassProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
|
||||
|
@ -70,6 +75,9 @@ public:
|
|||
HRESULT ChangeHotItem(DWORD changeType);
|
||||
HRESULT OnHotItemChange(const NMTBHOTITEM * hot, LRESULT * theResult);
|
||||
|
||||
HRESULT IsTrackedItem(INT index);
|
||||
HRESULT ChangeTrackedItem(INT index);
|
||||
|
||||
HRESULT GetIdealSize(SIZE& size);
|
||||
HRESULT SetPosSize(int x, int y, int cx, int cy);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue