Matthias Kupfer wrote:
Your rewrite only uses REG_SZ for integer values which is mostly wrong [...]
This is what Windows uses as well, at least my WinXP for most of the HKCU\Control Panel subkeys. (also for that "SwapMouseButtons" setting for example)
Expect applications to be out there, which do not or even cannot use GetSystemMetrics and thus read REG_SZ values for these settings from the registry directly. Therefore we cannot just break compatibility here.
Best regards,
Colin