MC manifest file

Posted by Poromenos on Sun 17 Oct 2004 11:23 AM — 13 posts, 44,223 views.

Greece #0
Copy the following and paste them into notepad. Save them in the MUSHclient directory as "mushclient.exe.manifest" for some great changes in the graphical interface. Nick, you can add this in the MC resources to make it permanent.
You can include it in the .rc file with the line:
1 24 "mushclient.exe.manifest"


<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly
   xmlns="urn:schemas-microsoft-com:asm.v1"
   manifestVersion="1.0">
<assemblyIdentity
    processorArchitecture="x86"
    version="5.1.0.0"
    type="win32"
    name="foo.exe"/>
    <description>MUSHclient</description>
    <dependency>
    <dependentAssembly>
    <assemblyIdentity
         type="win32"
         name="Microsoft.Windows.Common-Controls"
         version="6.0.0.0"
         publicKeyToken="6595b64144ccf1df"
         language="*"
         processorArchitecture="x86"/>
    </dependentAssembly>
    </dependency>
</assembly>
Amended on Sun 17 Oct 2004 11:28 AM by Poromenos
Poland #1
Ok, I did that.. but now my command line looks a bit strange: it's top row is all white, the next row is all black, and the third (and last) row is all white.. however, when I get with typing to the second line (for example, I press Ctrl+enter), that line becomes all white like the other ones.. That's kind of annoying, what is going on?
Greece #2
I have no idea, mine looks perfect. I can't reproduce any of that.
Poland #3
Probably a screenshot would be useful, but I don't know how to include one:(
Greece #4
Press print screen, go to paintbrush, paste, save as a .gif or something, and upload to a server.
Poland #5
Cool, but I don't have a server to upload it to...
USA #6
Photo Bucket, Ummm, Theres a whole lot of free picture hosting sites.

Google "free image host" then find one that doesnt require too much work.
Australia Forum Administrator #7
What does the foo.exe refer to in the manifest?
Greece #8
I haven't checked the syntax, but yes, that has to be changed to mushclient.exe :P
Greece #9
Hm, if you try to open a plugin in a MC notepad window while using it you get gibberish... Odd.
Poland #10
http://www.upload4free.com/files/13864.JPG
The command line is a bit nasty to look at..
Greece #11
Hm, that is odd... I don't know, maybe Nick can answer this.
Australia #12
I tried this manifest file and MUSHclient mostly looks fine, but I experience the aforementioned problems.

Was a solution ever found?

I am using a custom visual style, but the same problems persist using the default XP theme.

It looks like the manifest is forcing things to be drawn themed, as every panel in the config is drawn as though it was a tab. This is much less noticeable using the default XP theme, due to its colour scheme. The windows opened from there, like edit trigger, edit alias each appear as would be expected.

Not sure what to think of the command input area. The background colour is only honoured when the caret or some text is on the line, or the remaining vertical space is too small to make the row fully visible. With the background set to black, can not tell the difference, but I much prefer it to contrast with the output section (also of black background).
http://img98.imageshack.us/img98/6494/commandinputarea3pi.jpg

This thread, http://forums.miranda-im.org/showthread.php?t=8557 may be relevent. It is about making unthemed tab panels themed, which may be useful in making MUSHclient use visual styles natively.

Since visual styles haven't been natively enabled so far, and a manifest introdues odd little inconsistancies - are these difficulties and issues to do with MFC?