WEL Control Style Changes in Finalized Project

16 views
Skip to first unread message

hcater

unread,
Dec 3, 2018, 9:31:39 PM12/3/18
to Eiffel Users
This is a bit of an odd one where I have two different styles appear in my project when it comes to WEL controls, i.e. buttons, list boxes etc., where in debug mode (frozen project) the controls appear in what I would describe a Windows 10 style, but once I finalize a project they come out looking something a bit more akin to a Windows 7 project.

I'm using the latest EiffelStudio 18.07 on a Windows 10 64 bit machine with the Microsoft C compiler.

This has been happening for a while and since I've switched to the newer EiffelStudio going back to 17.05 for me (previously on 6.5 before that) and I just haven't brought it up till now.

So I guess the question is if there is any way to have the WEL controls display in a consistent style between frozen and finalized and preferably in the new Windows 10 style?

Thanks,
Hubert

Larry Rix

unread,
Dec 4, 2018, 8:40:46 AM12/4/18
to Eiffel Users
You need a "manifest" file. See here.

We had the same issue with an application we were building a few years back.

Here is the manifest file we used:

<?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="*" name="Jinny.Jloft" type="win32" /> 
<description>Jloft</description>

<dependency> 
<dependentAssembly> 
<assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorArchitecture="*" publicKeyToken="6595b64144ccf1df" language="*" /> </dependentAssembly>
</dependency>
</assembly>

Try substituting your app name with ours and see what you get.

Hubert Cater

unread,
Dec 5, 2018, 10:35:04 AM12/5/18
to Eiffel Users
Hi Larry,

Thanks for this and I'm a little stuck on where to put this manifest file as it looks like one is generated by Eiffel already for the W_CODE and F_CODE folders.  If I try and replace the one in the F_CODE folder it is replaced by EiffelStudio when I finalize the project.

Any further help would be appreciated, thanks.
Hubert


Virus-free. www.avast.com

--
You received this message because you are subscribed to the Google Groups "Eiffel Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to eiffel-users...@googlegroups.com.
Visit this group at https://groups.google.com/group/eiffel-users.
For more options, visit https://groups.google.com/d/optout.

Larry Rix

unread,
Dec 5, 2018, 12:33:33 PM12/5/18
to eiffel...@googlegroups.com
Place the manifest file in the same directory as the EXE. Windows knows to find it.

Hubert Cater

unread,
Dec 5, 2018, 12:46:34 PM12/5/18
to Eiffel Users
Ah yes of course, thank you, works like a charm now :)

On Wed, Dec 5, 2018 at 12:33 PM Larry Rix <lar...@moonshotsoftware.com> wrote:
Place the manifest file in the same directory as the EXE. Windows knows to find it.

--
Reply all
Reply to author
Forward
0 new messages