Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #13575

Re: Using/enabling Windows 10 styles in VO application

From "Wolfgang Riedmann" <wriedmann@gmail.com>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: Using/enabling Windows 10 styles in VO application
Date 2022-03-09 08:07 +0100
Message-ID <j8r216Fh130U1@mid.individual.net> (permalink)
References <0885e9e3-db18-40e8-b130-fe21c6e1e4b2n@googlegroups.com>

Show all headers | View raw


Hi Stefan,

you have to enable the new common controls using a manifest like that:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1"
manifestVersion="1.0">
<assemblyIdentity
    version="1.0.0.0"
    processorArchitecture="X86"
    name="VO.Application"
    type="win32"
/>
<description>Visual Objects Application.</description>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
    <security>
        <requestedPrivileges>
            <requestedExecutionLevel
                level="asInvoker"
                uiAccess="false"
            />	
        </requestedPrivileges>
    </security>
</trustInfo>
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1"> 
    <application> 
        <!-- Windows 10 --> 
        <supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/>
        <!-- Windows 8.1 -->
        <supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/>
        <!-- Windows Vista -->
        <supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"/> 
        <!-- Windows 7 -->
        <supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>
        <!-- Windows 8 -->
        <supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/>
    </application> 
</compatibility>
<dependency>
    <dependentAssembly>
        <assemblyIdentity
            type="win32"
            name="Microsoft.Windows.Common-Controls"
            version="6.0.0.0"
            processorArchitecture="X86"
            publicKeyToken="6595b64144ccf1df"
            language="*"
        />
    </dependentAssembly>
</dependency>
</assembly>

HTH

Wolfgang


Stefan Ungemach wrote:

> Hi there,
> 
> is there any way to move past the classic windows styles to make VO
> applications look more modern?
> 
> Please spare me comments about using VO in 2022 - we are on a
> migration path, there are needs to maintain some existing VO
> applications and I'm not in for philosophical lectures from Geoff :)
> 
> TIA
> Stefan



-- 

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Using/enabling Windows 10 styles in VO application Stefan Ungemach <stefan.ungemach@bingo-ev.de> - 2022-03-04 03:02 -0800
  Re: Using/enabling Windows 10 styles in VO application Stavros Spanos <stavros.spanos2@gmail.com> - 2022-03-04 07:17 -0800
  Re: Using/enabling Windows 10 styles in VO application "Wolfgang Riedmann" <wriedmann@gmail.com> - 2022-03-09 08:07 +0100
    Re: Using/enabling Windows 10 styles in VO application Stefan Ungemach <stefan.ungemach@bingo-ev.de> - 2022-03-09 04:51 -0800
    Re: Using/enabling Windows 10 styles in VO application Stefan Ungemach <stefan.ungemach@bingo-ev.de> - 2022-03-09 05:24 -0800
      Re: Using/enabling Windows 10 styles in VO application "Wolfgang Riedmann" <wriedmann@gmail.com> - 2022-03-11 08:20 +0100
        Re: Using/enabling Windows 10 styles in VO application Stefan Ungemach <stefan.ungemach@bingo-ev.de> - 2022-05-11 07:34 -0700

csiph-web