PlanetSquires Forums

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: 3D Appearance issue in Windows 10  (Read 383 times)

Bumblebee

  • Junior Member
  • **
  • Posts: 58
3D Appearance issue in Windows 10
« 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.
Logged

Paul Squires

  • Administrator
  • Guru Member
  • *****
  • Posts: 9322
  • Windows 10
    • PlanetSquires Software
Re: 3D Appearance issue in Windows 10
« Reply #1 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.
Logged
Paul Squires
PlanetSquires Software
WinFBE Editor and Visual Designer

Bumblebee

  • Junior Member
  • **
  • Posts: 58
Re: 3D Appearance issue in Windows 10
« Reply #2 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.
« Last Edit: November 04, 2020, 09:12:48 PM by Bumblebee »
Logged

Bumblebee

  • Junior Member
  • **
  • Posts: 58
Re: 3D Appearance issue in Windows 10
« Reply #3 on: November 04, 2020, 11:27:45 PM »

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