• Welcome to PlanetSquires Forums.
 

3D Appearance issue in Windows 10

Started by Bumblebee, November 03, 2020, 05:21:41 PM

Previous topic - Next topic

Bumblebee

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.
Failed pollinator.

Paul Squires

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.
Paul Squires
PlanetSquires Software
WinFBE Editor and Visual Designer

Bumblebee

#2
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.
Failed pollinator.

Bumblebee

I deleted the dependency section within manifest.xml and it seems to work!
Failed pollinator.