Commit 796f941b authored by Frank Richter's avatar Frank Richter Committed by Alexandre Julliard

Enable/disable "flat menus" based on the setting from the active

theme.
parent 058e38af
...@@ -709,6 +709,10 @@ void MSSTYLES_ParseThemeIni(PTHEME_FILE tf) ...@@ -709,6 +709,10 @@ void MSSTYLES_ParseThemeIni(PTHEME_FILE tf)
FIXME("Invalid color value for %s\n", debugstr_w(szPropertyName)); FIXME("Invalid color value for %s\n", debugstr_w(szPropertyName));
} }
} }
else if (iPropertyId == TMT_FLATMENUS) {
BOOL flatMenus = (*lpValue == 'T') || (*lpValue == 't');
SystemParametersInfoW (SPI_SETFLATMENU, 0, (PVOID)flatMenus, 0);
}
/* Catch all metrics, including colors */ /* Catch all metrics, including colors */
MSSTYLES_AddMetric(tf, iPropertyPrimitive, iPropertyId, lpValue, dwValueLen); MSSTYLES_AddMetric(tf, iPropertyPrimitive, iPropertyId, lpValue, dwValueLen);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment