Quoting and correcting myself. Under Windows 8 and up this should be possible, even if it may require platform specific code.
https://docs.microsoft.com/en-us/window ... attributes
So not all hope is lost
Quoting and correcting myself. Under Windows 8 and up this should be possible, even if it may require platform specific code.
BTW, out of curiousity, I checked imGUI docs and it seems it may not have great PM DPI-awareness support:
You'll probably have to deal with it, but it's really not that bad.But I´m just afraid of getting stuck in a nightmare of bitmap shenanigans, just like with win32, I´m not really a friend of the whole PaintDC and MemoryDC etc. and GDI stuff, so i hoped that wxWidgets would kinda wrap all of this functionality up in some class or function, without me having to worry about what happens behind the scenes.
wxCustomBackgroundWindow is indeed quite limited, but coding what you want is pretty easy - for someone with wxWidgets experience.Is there really no way to have an image being assigned to a window, automatically scaling with it when DPI changes (and ideally also automatically being scaled to fit the window upon initialization)? Apart from not even fitting the bitmap to the window, SetBackgroundBitmap also does not scale in any way when DPI changes either.
Hey, I have an application already released that sounds like what you're looking for. It's a Launcher for a game called 'Beyond The Forbidden Lands'. It's like, almost exactly what you described. If you wanna check it out, you can join this Discord server (https://discord.gg/9tNBGjMd2y), follow the rules and go to #releases to download the installer (I can't upload the installer here).GamerX wrote: ↑Thu Oct 21, 2021 7:23 pm 2) The GUI layout being: a custom "status" bar at the top, followed by a panel with controls below it, the panel has cycling background wallpapers, the controls have transparency and show the wallpaper behind them, the controls have a way to disable the annoying focus rectangle which just looks outdated on native win32, the controls don't flicker (not even when the wallpaper is changed mid runtime).