PDA

View Full Version : Win10 Manifest and C10 running on Win10



NewsArchive
06-23-2015, 02:50 AM
Compiled a test program Jeff wrote to see if my Win10 was touch
enabled which it was but shouldn't have been.

That aside, I used SB to add a Win10 manifest and the C10 program in
Win10 looks crappy. Recompiled and used SB to add a Win8.1 manifest
and it looks correct - or at least a lot closer.

Screen captures attached.

--
Lee White

RPM Report Viewer.: http://www.cwaddons.com/products/rpm/
RPM Review........: http://www.clarionmag.com/cmag/v11/v11n06rpm.html
Report Faxing.....: http://www.cwaddons.com/products/afe/
---Enroll Today---: http://CWaddons.com

Creative Reporting: http://www.CreativeReporting.com

Product Release & Update Notices
http://twitter.com/DeveloperPLUS

Windows 8 brings us "The Oval, Bumper Car, Roller Coaster of Wait!"
And, now, Windows 10 brings us "The Inch Worm, Bumper Car of Wait!"


The life of a Clarion Developer: https://youtu.be/ozitqabi6UM

NewsArchive
06-23-2015, 02:51 AM
Hi Lee,

> Compiled a test program Jeff wrote to see if my Win10 was touch
> enabled which it was but shouldn't have been.
>
> That aside, I used SB to add a Win10 manifest and the C10 program in
> Win10 looks crappy. Recompiled and used SB to add a Win8.1 manifest
> and it looks correct - or at least a lot closer.

See "Why such ugly controls in Windows 10?" in Clarion10 ng by Simon
Kemp. Same thing.

Best regards,

--
Arnor Baldvinsson
Icetips Alta LLC

NewsArchive
06-23-2015, 02:51 AM
SetupBuilder compiled apps look fine <g>.

Friedrich

NewsArchive
06-23-2015, 02:52 AM
IMO, the first screenshot with the Win10 manifest is not themed at all.

This might happen if an app does not initialize the common controls via
InitCommonControlsEx. I have noticed some cosmetic problems in Win10
pre-releases.

Friedrich

NewsArchive
06-23-2015, 08:19 AM
Friedrich,

> IMO, the first screenshot with the Win10 manifest is not themed at all.
>
> This might happen if an app does not initialize the common controls via
> InitCommonControlsEx.

Would this be a problem with the Clarion RTL?

--
Lee White

RPM Report Viewer.: http://www.cwaddons.com/products/rpm/
RPM Review........: http://www.clarionmag.com/cmag/v11/v11n06rpm.html
Report Faxing.....: http://www.cwaddons.com/products/afe/
---Enroll Today---: http://CWaddons.com

Creative Reporting: http://www.CreativeReporting.com

Product Release & Update Notices
http://twitter.com/DeveloperPLUS

Windows 8 brings us "The Oval, Bumper Car, Roller Coaster of Wait!"
And, now, Windows 10 brings us "The Inch Worm, Bumper Car of Wait!"


The life of a Clarion Developer: https://youtu.be/ozitqabi6UM

NewsArchive
06-23-2015, 11:33 AM
Lee,

>> This might happen if an app does not initialize the common controls via
>> InitCommonControlsEx.
>
> Would this be a problem with the Clarion RTL?

I'm not sure if the InitCommonControls(Ex) initializing failure is really
the cause of the problem here. But if it is, then yes <g>.

Friedrich

NewsArchive
06-23-2015, 11:33 AM
Hi Friedrich/Lee,

>>> This might happen if an app does not initialize the common controls via
>>> InitCommonControlsEx.
>>
>> Would this be a problem with the Clarion RTL?
>
> I'm not sure if the InitCommonControls(Ex) initializing failure is really
> the cause of the problem here. But if it is, then yes <g>.

If it was, wouldn't it affect ALL manifests on ALL versions of Windows?
Something is definitely not right based on the screenshots. Is this
only in C10 apps? Weird things are upon us today like most other days!<g>

Best regards,

--
Arnor Baldvinsson - Icetips Alta LLC

NewsArchive
06-23-2015, 11:35 AM
Hi Friedrich/Lee,

> If it was, wouldn't it affect ALL manifests on ALL versions of Windows?
> Something is definitely not right based on the screenshots. Is this
> only in C10 apps? Weird things are upon us today like most other days!<g>

Apparently this slipped under the radar just before C10 went Gold:

/--- Clarion 10.11822 beta 10 --- May 20, 2015 -----
Fixes/Changes/Features--/
NEW: Added support to the internal generated manifest for Windows 10

Anyone taking bets this is the cause of it?

Best regards,

--
Arnor Baldvinsson - Icetips Alta LLC

NewsArchive
06-23-2015, 11:35 AM
Arnor,

> Anyone taking bets this is the cause of it?

That shouldn't affect the use of an SB manifest, should it?

I just recompiled the test program in 9.1 and let SB manifest the EXE
and I get the same behavior found when compiled with C10 so something
else appears to be sideways.

--
Lee White

RPM Report Viewer.: http://www.cwaddons.com/products/rpm/
RPM Review........: http://www.clarionmag.com/cmag/v11/v11n06rpm.html
Report Faxing.....: http://www.cwaddons.com/products/afe/
---Enroll Today---: http://CWaddons.com

Creative Reporting: http://www.CreativeReporting.com

Product Release & Update Notices
http://twitter.com/DeveloperPLUS

Windows 8 brings us "The Oval, Bumper Car, Roller Coaster of Wait!"
And, now, Windows 10 brings us "The Inch Worm, Bumper Car of Wait!"


The life of a Clarion Developer: https://youtu.be/ozitqabi6UM

NewsArchive
06-23-2015, 11:37 AM
Hi Arnor,

> If it was, wouldn't it affect ALL manifests on ALL versions of Windows?

Not if there is OS specific code in the runtime. For example, call
InitCommonControls(Ex) when the OS is detected as Vista - Win81.

Adding a Win10 manifest detects the OS as Win10 on Win10, but a Win81
manifest detects it as Win81 on Win10.

But again, I am not sure if this is the case here. I had a similar runtime
issue in SB some years ago so some bells are ringing <g>.

Friedrich

NewsArchive
06-24-2015, 02:20 AM
Hi Lee,

> That shouldn't affect the use of an SB manifest, should it?
>
> I just recompiled the test program in 9.1 and let SB manifest the EXE
> and I get the same behavior found when compiled with C10 so something
> else appears to be sideways.

Oh, here you go again ruining everything<g> Well... If 9.1 is showing
same behaviour as C10 (ugly controls under W10) then, yes, something
else is going on. Unless there is something broken in 9.1 too<g>

Best regards,

--
Arnor Baldvinsson
Icetips Alta LLC

NewsArchive
06-24-2015, 02:21 AM
Arnor,

> Oh, here you go again ruining everything<g> Well... If 9.1 is showing
> same behaviour as C10 (ugly controls under W10) then, yes, something
> else is going on. Unless there is something broken in 9.1 too<g>

I don't think it is. If you take either one and manifest it for 8.1
then they both work in Win10. I think something else is fishy here.

--
Lee White

RPM Report Viewer.: http://www.cwaddons.com/products/rpm/
RPM Review........: http://www.clarionmag.com/cmag/v11/v11n06rpm.html
Report Faxing.....: http://www.cwaddons.com/products/afe/
---Enroll Today---: http://CWaddons.com

Creative Reporting: http://www.CreativeReporting.com

Product Release & Update Notices
http://twitter.com/DeveloperPLUS

Windows 8 brings us "The Oval, Bumper Car, Roller Coaster of Wait!"
And, now, Windows 10 brings us "The Inch Worm, Bumper Car of Wait!"


The life of a Clarion Developer: https://youtu.be/ozitqabi6UM

NewsArchive
06-24-2015, 02:21 AM
Hi Arnor,

Good news if you use C6.3: a C6.3 exe, Win10 manifested, running under
Win10, does show everything nice. The same when you would use a Win8.1
manifest. So with C6.3: nice buttons, radios, checkboxes, etcetera... ;-)

Best regards,
Jeffrey