mirror of
https://github.com/reactos/reactos.git
synced 2026-06-01 08:50:24 +08:00
[EXPLORER] -Rewrite taskbar settings routines and dialog
- Rewrite the taskbar settings and start menu settings property sheets. - All settings in the taskbar settings property sheet can be loaded and saved properly except for the quick launch one which will be implemented later. - Implement toggling lock, autohide and always on top. The rest will be implemented later.
This commit is contained in:
committed by
Giannis Adamopoulos
parent
cc578af6df
commit
2ed535da8a
@@ -1735,6 +1735,18 @@ public:
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
LRESULT OnTaskbarSettingsChanged(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled)
|
||||
{
|
||||
TaskbarSettings* newSettings = (TaskbarSettings*)lParam;
|
||||
if (newSettings->bGroupButtons != g_TaskbarSettings.bGroupButtons)
|
||||
{
|
||||
/* TODO: Toggle grouping */
|
||||
g_TaskbarSettings.bGroupButtons = newSettings->bGroupButtons;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
LRESULT OnContextMenu(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled)
|
||||
{
|
||||
LRESULT Ret = 0;
|
||||
@@ -1828,6 +1840,7 @@ public:
|
||||
MESSAGE_HANDLER(WM_NOTIFY, OnNotify)
|
||||
MESSAGE_HANDLER(TSWM_ENABLEGROUPING, OnEnableGrouping)
|
||||
MESSAGE_HANDLER(TSWM_UPDATETASKBARPOS, OnUpdateTaskbarPos)
|
||||
MESSAGE_HANDLER(TWM_SETTINGSCHANGED, OnTaskbarSettingsChanged)
|
||||
MESSAGE_HANDLER(WM_CONTEXTMENU, OnContextMenu)
|
||||
MESSAGE_HANDLER(WM_TIMER, OnTimer)
|
||||
MESSAGE_HANDLER(WM_SETFONT, OnSetFont)
|
||||
|
||||
Reference in New Issue
Block a user