PlanetSquires Forums

Support Forums => WinFBE - Code Editor and Visual Designer => Topic started by: Bumblebee on November 03, 2020, 05:21:41 PM

Title: 3D Appearance issue in Windows 10
Post by: Bumblebee on November 03, 2020, 05:21:41 PM
I'm having an issue with the display of controls in Windows 10.
In the screenshot, the top form appears to be normal, showing 3d controls.
The lower form appears when an image is added to the Image Manager.
It doesn't matter if the image is used by the executable or not. When it is compiled, the controls lose their 3d appearance.

I'm a using a high contrast theme to get an 'old school' Windows look.
But the issue also appears when using Windows 10 'modern' themes.

Can you reproduce this issue?
Compile the code as is, to see if the controls appear in 3d.
Then add an image to the Image Manager and compile it again.
Controls should then appear different.
Title: Re: 3D Appearance issue in Windows 10
Post by: Paul Squires on November 03, 2020, 06:28:29 PM
Hi, when images exist in a project, during the compile process a temporary resource file is created in order to reference the image (that temp resource is deleted after the compile completes). That resource file also has a reference to the manifest.xml file which is what is responsible for the flat theming that you are witnessing. WinFBE is not designed to cater to the old style non-themed Windows look. Actually, resource and manifest are created by default for all new WinFBE projects (you did not use the project based approach). Sorry, but to ensure that your application is non-theme based then you may not be able to accomplish that within the WinFBE framework.
Title: Re: 3D Appearance issue in Windows 10
Post by: Bumblebee on November 04, 2020, 08:57:08 PM
Can manifest.xml be modified to correct the issue?

In the original program, I was using icons in the status bar.
If icons could be loaded from files, that would be a way to avoid flat themeing.

Edit:
The forms under Windows Light theme.
The one without the manifest looks better, imo.
Title: Re: 3D Appearance issue in Windows 10
Post by: Bumblebee on November 04, 2020, 11:27:45 PM
I deleted the dependency section within manifest.xml and it seems to work!