Author Topic: Visual Styles  (Read 1667 times)

0 Members and 1 Guest are viewing this topic.

Arnold

  • Guest
Visual Styles
« on: January 23, 2017, 06:22:03 AM »
Hi Charles,

it seems that until now I did not really understand the difference between classic and new styles which already can be seen with buttons. I also did not understand John's comments about XP themes. Yet I did not set much value on appearance.

As my slider project still does not work as I expect I looked for an example with XP manifest and I found one at Transmission Zero which I ported to OxygenBasic. The project will only work as an executable. There are two batch files, one creates an exe without manifest, the second will create an exe with manifest. I attached the project as a zip file.

I think this project is important as I was not sure if something is missing with my system. It also demonstrates that LinkRes2exe works very well together with Oxygenbasic.

The project also demonstrates that even small changes in the resources influence the behaviour of AV scanners. Checking with Virustotal I started with 12/55. Removing some Icons from the Icon group and modifiying some properties of the Win32App.rc file with ResEd I ended:

Win32App.exe without manifest: 3/55 (Invincea, Qihoo-360, Rising)
Win32App.exe with manifest:      2/55 (Qihoo-360, Rising)

It would be really funny if it would not be so funny.

Roland




.

JRS

  • Guest
Re: Visual Styles
« Reply #1 on: January 23, 2017, 03:35:12 PM »
Quote
Yet I did not set much value on appearance.

Your procrastination has paid off. Windows 10 has returned to the Windows 2000 look.  :-\

Charles Pegge

  • Guest
Re: Visual Styles
« Reply #2 on: January 26, 2017, 03:11:31 AM »
Thanks Roland,

I am not well aquainted with manifests and resources, and have always generated Menus and Windows controls dynamically,  which of course, is more compatible with JIT compiling.

PS:

I've just got myself a Laptop with touch-screen,  Intel graphics hardware, and Windows 10, and I will be incorporating a few adjustments (mostly opengl) to maintain compatibility.

It is highly probable that touch screens will become a standard feature of notebooks, and all-in-one desktops.






« Last Edit: January 26, 2017, 03:49:22 AM by Charles Pegge »