mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 01:39:30 +00:00
avoid displaying context menu for application button _and_ desktop bar at the same time
svn path=/trunk/; revision=8411
This commit is contained in:
parent
2e8d0a55b2
commit
907d42478e
2 changed files with 8 additions and 2 deletions
|
@ -31,7 +31,6 @@
|
|||
Yes, ROS epxlorer doesn't read many settings from the registry currently,
|
||||
as it doesn't have a way to configure them. (missing configuration dialogs)
|
||||
|
||||
- Unterdrücken des Taskbar-Kontext-Menüs über Taskbar Buttons
|
||||
- Vollbildfenster suchen -> Taskleiste ausblenden
|
||||
- Fenster-Aktivierung nach Desktop-Umschaltung
|
||||
- Desktop-Manager: Speicherung der Verteilung von Applikations-Fenstern auf die verschiedenen Desktops; Desktop-Namen
|
||||
|
|
|
@ -113,6 +113,13 @@ LRESULT TaskBar::WndProc(UINT nmsg, WPARAM wparam, LPARAM lparam)
|
|||
case WM_TIMER:
|
||||
Refresh();
|
||||
return 0;
|
||||
|
||||
case WM_CONTEXTMENU: {
|
||||
Point pt(lparam);
|
||||
ScreenToClient(_htoolbar, &pt);
|
||||
if ((HWND)wparam==_htoolbar && SendMessage(_htoolbar, TB_HITTEST, 0, (LPARAM)&pt)>0)
|
||||
break; // avoid displaying context menu for application button _and_ desktop bar at the same time
|
||||
goto def;}
|
||||
/*
|
||||
//#define PM_SHELLHOOK_NOTIFY (WM_APP+0x10)
|
||||
|
||||
|
@ -130,7 +137,7 @@ LRESULT TaskBar::WndProc(UINT nmsg, WPARAM wparam, LPARAM lparam)
|
|||
Refresh();
|
||||
break;}
|
||||
*/
|
||||
default:
|
||||
default: def:
|
||||
return super::WndProc(nmsg, wparam, lparam);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue