jpegview
jpegview copied to clipboard
Hope not to change the wallpaper style when setting the wallpaper
WallpaperStyle: https://github.com/microsoftarchive/msdn-code-gallery-microsoft/blob/master/OneCodeTeam/Set%20the%20desktop%20wallpaper%20(CSSetDesktopWallpaper)/README.md
Currently setting wallpaper will change the wallpaper style of the system This is not necessary I think can follow the system settings just like right click in Explorer to set as wallpaper
You can try commenting out these lines to test the effect
CRect largestMonitor = CMultiMonitorSupport::GetMonitorRect(-1);
bool needsFitToScreen = image.InitOrigWidth() > largestMonitor.Width() || image.InitOrigHeight() > largestMonitor.Height();
SetRegistryStringValue(_T("WallpaperStyle"), needsFitToScreen ? _T("6") : _T("0"));
SetRegistryStringValue(_T("TileWallpaper"), _T("0"));
ha it's a feature I've never tested actually, let me investigate.