Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  nodelist  faq  login

This screen intentionally left blank.


programming / comp.lang.clipper.visual-objects / Re: Using/enabling Windows 10 styles in VO application

SubjectAuthor
* Using/enabling Windows 10 styles in VO applicationStefan Ungemach
+- Re: Using/enabling Windows 10 styles in VO applicationStavros Spanos
`* Re: Using/enabling Windows 10 styles in VO applicationWolfgang Riedmann
 +- Re: Using/enabling Windows 10 styles in VO applicationStefan Ungemach
 `* Re: Using/enabling Windows 10 styles in VO applicationStefan Ungemach
  `* Re: Using/enabling Windows 10 styles in VO applicationWolfgang Riedmann
   `- Re: Using/enabling Windows 10 styles in VO applicationStefan Ungemach

1
Subject: Using/enabling Windows 10 styles in VO application
From: Stefan Ungemach
Newsgroups: comp.lang.clipper.visual-objects
Date: Fri, 4 Mar 2022 11:02 UTC
X-Received: by 2002:a05:620a:3189:b0:662:e1be:fb6 with SMTP id bi9-20020a05620a318900b00662e1be0fb6mr2080479qkb.493.1646391748615;
Fri, 04 Mar 2022 03:02:28 -0800 (PST)
X-Received: by 2002:ac8:7f51:0:b0:2dd:3339:dfe5 with SMTP id
g17-20020ac87f51000000b002dd3339dfe5mr30721667qtk.269.1646391748422; Fri, 04
Mar 2022 03:02:28 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.clipper.visual-objects
Date: Fri, 4 Mar 2022 03:02:28 -0800 (PST)
Injection-Info: google-groups.googlegroups.com; posting-host=95.91.255.37; posting-account=i-F9aAoAAAA0pvxb5etomv0475oTwJyh
NNTP-Posting-Host: 95.91.255.37
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <0885e9e3-db18-40e8-b130-fe21c6e1e4b2n@googlegroups.com>
Subject: Using/enabling Windows 10 styles in VO application
From: stefan.u...@bingo-ev.de (Stefan Ungemach)
Injection-Date: Fri, 04 Mar 2022 11:02:28 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 7
View all headers
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


Subject: Re: Using/enabling Windows 10 styles in VO application
From: Stavros Spanos
Newsgroups: comp.lang.clipper.visual-objects
Date: Fri, 4 Mar 2022 15:17 UTC
References: 1
X-Received: by 2002:a05:620a:ec9:b0:608:292f:8479 with SMTP id x9-20020a05620a0ec900b00608292f8479mr2849896qkm.328.1646407035666;
Fri, 04 Mar 2022 07:17:15 -0800 (PST)
X-Received: by 2002:ac8:5a81:0:b0:2de:adbe:c749 with SMTP id
c1-20020ac85a81000000b002deadbec749mr30412396qtc.647.1646407035330; Fri, 04
Mar 2022 07:17:15 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!nntp.club.cc.cmu.edu!45.76.7.193.MISMATCH!3.us.feeder.erje.net!feeder.erje.net!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.clipper.visual-objects
Date: Fri, 4 Mar 2022 07:17:15 -0800 (PST)
In-Reply-To: <0885e9e3-db18-40e8-b130-fe21c6e1e4b2n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=85.73.22.46; posting-account=ZhR3xQoAAABPR0IknYsJDgjMlSKevWcp
NNTP-Posting-Host: 85.73.22.46
References: <0885e9e3-db18-40e8-b130-fe21c6e1e4b2n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <89e14c1c-f789-408e-9e93-eb7f75d8cb81n@googlegroups.com>
Subject: Re: Using/enabling Windows 10 styles in VO application
From: stavros....@gmail.com (Stavros Spanos)
Injection-Date: Fri, 04 Mar 2022 15:17:15 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 12
View all headers
Hello Stefan.

We use Code Jock OCX and we are ok with it. It uses Windows 10 styles.


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


Subject: Re: Using/enabling Windows 10 styles in VO application
From: Wolfgang Riedmann
Newsgroups: comp.lang.clipper.visual-objects
Date: Wed, 9 Mar 2022 07:07 UTC
References: 1
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: wriedm...@gmail.com (Wolfgang Riedmann)
Newsgroups: comp.lang.clipper.visual-objects
Subject: Re: Using/enabling Windows 10 styles in VO application
Date: Wed, 9 Mar 2022 08:07:15 +0100
Lines: 75
Message-ID: <j8r216Fh130U1@mid.individual.net>
References: <0885e9e3-db18-40e8-b130-fe21c6e1e4b2n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
X-Trace: individual.net 3bmfdtjcIY1RRJkQk9PxWg9zBnxQIjsZO+jA/cij64XvGgsTQ=
Cancel-Lock: sha1:bqsrFcwgt3TfYb65y3axbYu6avM=
User-Agent: XanaNews/1.18.1.6
View all headers
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



--



Subject: Re: Using/enabling Windows 10 styles in VO application
From: Stefan Ungemach
Newsgroups: comp.lang.clipper.visual-objects
Date: Wed, 9 Mar 2022 12:51 UTC
References: 1 2
X-Received: by 2002:a05:622a:1011:b0:2dd:5b59:66ed with SMTP id d17-20020a05622a101100b002dd5b5966edmr17221293qte.550.1646830307764;
Wed, 09 Mar 2022 04:51:47 -0800 (PST)
X-Received: by 2002:a05:620a:40d6:b0:67b:743:8d6a with SMTP id
g22-20020a05620a40d600b0067b07438d6amr12193886qko.21.1646830307503; Wed, 09
Mar 2022 04:51:47 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.clipper.visual-objects
Date: Wed, 9 Mar 2022 04:51:47 -0800 (PST)
In-Reply-To: <j8r216Fh130U1@mid.individual.net>
Injection-Info: google-groups.googlegroups.com; posting-host=93.234.117.61; posting-account=i-F9aAoAAAA0pvxb5etomv0475oTwJyh
NNTP-Posting-Host: 93.234.117.61
References: <0885e9e3-db18-40e8-b130-fe21c6e1e4b2n@googlegroups.com> <j8r216Fh130U1@mid.individual.net>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <a0427cf6-aed9-49d0-959c-2266ad0b90f4n@googlegroups.com>
Subject: Re: Using/enabling Windows 10 styles in VO application
From: stefan.u...@bingo-ev.de (Stefan Ungemach)
Injection-Date: Wed, 09 Mar 2022 12:51:47 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 73
View all headers
Wolfgang Riedmann schrieb am Mittwoch, 9. März 2022 um 08:07:21 UTC+1:
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
--
Hi Wolfgang,

that sounds great. Could you please point me in the right direction about how to use that manifest?


Subject: Re: Using/enabling Windows 10 styles in VO application
From: Stefan Ungemach
Newsgroups: comp.lang.clipper.visual-objects
Date: Wed, 9 Mar 2022 13:24 UTC
References: 1 2
X-Received: by 2002:a05:6214:627:b0:435:2dcd:d6c0 with SMTP id a7-20020a056214062700b004352dcdd6c0mr16330706qvx.100.1646832248616;
Wed, 09 Mar 2022 05:24:08 -0800 (PST)
X-Received: by 2002:ad4:5ec5:0:b0:435:a313:e4ee with SMTP id
jm5-20020ad45ec5000000b00435a313e4eemr8287143qvb.45.1646832248372; Wed, 09
Mar 2022 05:24:08 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.clipper.visual-objects
Date: Wed, 9 Mar 2022 05:24:08 -0800 (PST)
In-Reply-To: <j8r216Fh130U1@mid.individual.net>
Injection-Info: google-groups.googlegroups.com; posting-host=93.234.117.61; posting-account=i-F9aAoAAAA0pvxb5etomv0475oTwJyh
NNTP-Posting-Host: 93.234.117.61
References: <0885e9e3-db18-40e8-b130-fe21c6e1e4b2n@googlegroups.com> <j8r216Fh130U1@mid.individual.net>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <c8d1147f-74f5-4023-a260-65107864b5cen@googlegroups.com>
Subject: Re: Using/enabling Windows 10 styles in VO application
From: stefan.u...@bingo-ev.de (Stefan Ungemach)
Injection-Date: Wed, 09 Mar 2022 13:24:08 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 115
View all headers
Wolfgang Riedmann schrieb am Mittwoch, 9. März 2022 um 08:07:21 UTC+1:
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
--

Hi Wolfgang,

thank you - but we are doing that already. Here's our manifest file:


<?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="KOB.adKOMM.Kommunalsoftware"
type="win32"
/>
<description>adKOMM Kommunalsoftware</description>
<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>

Unfortunately, every datawindow still appears in XP style. What am I doing wrong (I want to make datawindows look like the new "borderless" windows in newer applications)?


Subject: Re: Using/enabling Windows 10 styles in VO application
From: Wolfgang Riedmann
Newsgroups: comp.lang.clipper.visual-objects
Date: Fri, 11 Mar 2022 07:20 UTC
References: 1 2 3
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: wriedm...@gmail.com (Wolfgang Riedmann)
Newsgroups: comp.lang.clipper.visual-objects
Subject: Re: Using/enabling Windows 10 styles in VO application
Date: Fri, 11 Mar 2022 08:20:35 +0100
Lines: 21
Message-ID: <j90bi3FhjsuU1@mid.individual.net>
References: <0885e9e3-db18-40e8-b130-fe21c6e1e4b2n@googlegroups.com> <j8r216Fh130U1@mid.individual.net> <c8d1147f-74f5-4023-a260-65107864b5cen@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
X-Trace: individual.net qt2Kdfyr+69InyL7GTlziQkpKTlsZ8hDO6HgO8Nkvroc5qFt8=
Cancel-Lock: sha1:aatjYLjewim5mPthNExh07gr6rw=
User-Agent: XanaNews/1.18.1.6
View all headers
Hi Stefan,

Unfortunately, every datawindow still appears in XP style. What am I
doing wrong (I want to make datawindows look like the new
"borderless" windows in newer applications)?

that is a bug in the Windows API - and Sven Ebert pointed me to a
message that Microsoft has acknowledged it already.
It has nothing to do with VO as it is occurring in every MDI
application, even in Windows Forms:

https://github.com/dotnet/winforms/issues/3691#issuecomment-732538552

I was very surprised that Microsoft had not fixed that for Windows
11....

Wolfgang


--



Subject: Re: Using/enabling Windows 10 styles in VO application
From: Stefan Ungemach
Newsgroups: comp.lang.clipper.visual-objects
Date: Wed, 11 May 2022 14:34 UTC
References: 1 2 3 4
X-Received: by 2002:a05:622a:1008:b0:2f3:cded:9075 with SMTP id d8-20020a05622a100800b002f3cded9075mr20189562qte.550.1652279658305;
Wed, 11 May 2022 07:34:18 -0700 (PDT)
X-Received: by 2002:a05:622a:5d1:b0:2f3:c5fc:68fc with SMTP id
d17-20020a05622a05d100b002f3c5fc68fcmr24149458qtb.284.1652279658104; Wed, 11
May 2022 07:34:18 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.clipper.visual-objects
Date: Wed, 11 May 2022 07:34:17 -0700 (PDT)
In-Reply-To: <j90bi3FhjsuU1@mid.individual.net>
Injection-Info: google-groups.googlegroups.com; posting-host=95.91.255.42; posting-account=i-F9aAoAAAA0pvxb5etomv0475oTwJyh
NNTP-Posting-Host: 95.91.255.42
References: <0885e9e3-db18-40e8-b130-fe21c6e1e4b2n@googlegroups.com>
<j8r216Fh130U1@mid.individual.net> <c8d1147f-74f5-4023-a260-65107864b5cen@googlegroups.com>
<j90bi3FhjsuU1@mid.individual.net>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <dfbd590b-4af6-4ca5-9354-07d536188b0en@googlegroups.com>
Subject: Re: Using/enabling Windows 10 styles in VO application
From: stefan.u...@bingo-ev.de (Stefan Ungemach)
Injection-Date: Wed, 11 May 2022 14:34:18 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2165
View all headers
Wolfgang Riedmann schrieb am Freitag, 11. März 2022 um 08:20:38 UTC+1:
Hi Stefan,
Unfortunately, every datawindow still appears in XP style. What am I
doing wrong (I want to make datawindows look like the new
"borderless" windows in newer applications)?
that is a bug in the Windows API - and Sven Ebert pointed me to a
message that Microsoft has acknowledged it already.
It has nothing to do with VO as it is occurring in every MDI
application, even in Windows Forms:

https://github.com/dotnet/winforms/issues/3691#issuecomment-732538552

I was very surprised that Microsoft had not fixed that for Windows
11....

Wolfgang


--

Thank you all. Now we have abandoned the MDI concept completely and the windows are nicer...


1
rocksolid light 0.7.2
clearneti2ptor