WindowsXP manifest component.... lazarus / 7-LCL ---------------------------------------------------------------------- derox · 2005-03-07 19:54 I'd like to see a manifest component like in Delphi which make your application adapt XP look... ---------------------------------------------------------------------- Lightning · 2005-03-15 09:08 This can be done verry easy by using a rc/res file, see IDE files The best approach would be to integrate Version, Icons and Manifest directly into the IDE ---------------------------------------------------------------------- Anonymous · 2005-06-24 07:57 If you have a myprogram.exe then create a file which called myprogram.exe.manifes and copy-paste it to the file: programom Voila! XP looks. ---------------------------------------------------------------------- Edwin · 2005-06-24 10:06 Or try the component that Vins made: Quote I made a freeware componet for WinXP users. Here is what it does: It makes your application have a WinXP Style look It adds a default icon to your application.(the icon can be changed very easy) So when you place this component on you projects form or when you add it in the "uses" of the source file your application will become with an XP Style and with an icon without playing with "RES" and "MANIFEST" files You can download it directly form: http://ecologybook.openfmi.net/tempfiles/WinXp.rar If it works, thank Vins! Edwin ---------------------------------------------------------------------- Vincent Snijders · 2005-06-24 10:23 Quote from: "Anonymous"If you have a myprogram.exe then create a file which called myprogram.exe.manifes and copy-paste it to the file: .... Voila! XP looks. Usefull information, I added this to the FAQ. Feel free to add stuff like this yourself too. ---------------------------------------------------------------------- Vincent Snijders · 2005-06-24 10:31 Quote from: "Vins" I made a freeware componet for WinXP users. Here is what it does: You can download it directly form: http://ecologybook.openfmi.net/tempfiles/WinXp.rar I haven't tried it, but it looks very useful. Do you want me to publish this component on the Lazarus Code and Component Repository? If yes, create a page describing this component like this one and I will upload the archive to the files area. ---------------------------------------------------------------------- Marc · 2005-06-24 13:11 I don't see a long life for this. The reason an XP app needs a manifest is to distinguis between an old, common controls 5 using, app and a new, common controls 6 using, app. This to prevent crashing apps using obsolete 5 techniques. Since lazarus is common controls 6 aware, I think Lazarus should generate/create a manifest for win32 apps. ---------------------------------------------------------------------- Anonymous · 2005-09-10 15:09 Any progress with this ? Creating additional resource for XP look seems not hard work for IDE , right ? ---------------------------------------------------------------------- spaceturner · 2005-12-14 17:17 Quote from: "Edwin"Or try the component that Vins made: Quote I made a freeware componet for WinXP users. Here is what it does: It makes your application have a WinXP Style look It adds a default icon to your application.(the icon can be changed very easy) So when you place this component on you projects form or when you add it in the "uses" of the source file your application will become with an XP Style and with an icon without playing with "RES" and "MANIFEST" files You can download it directly form: http://ecologybook.openfmi.net/tempfiles/WinXp.rar If it works, thank Vins! Edwin Make this component included in the installation package in lazarus! ---------------------------------------------------------------------- vins · 2006-03-06 15:27 I have an idea We(lazarus users) could make a Tool for the IDE that all windows users can integrate into Tools menu. The tool should automaticali create RES files with icons for the project together with the WinXP Style(Manifest files) option. If I have some free time I'll try to make such tool. ---------------------------------------------------------------------- lepidosteus · 2006-03-06 17:20 Could someone give me a link to a correct .rc files wich will include the manifest, or any tutorial/detailled explaination on ressource files (th rc format, beofre compilation by windres) ? I'm willing to make something for it but can't figure how to include the manifest in the exe and have it working from there. ---------------------------------------------------------------------- vins · 2006-03-06 20:07 Here is what I made:  (http://ecologybook.openfmi.net/tempfiles/demo.gif) When added to the Tools Menu it works very good with every project. It automaticaly creates .RC files with icon information and version information. It automaticaly makes the manifest file and the generates a single .RES file that is produced in you project dir. The only thing you must do is to include the .RES file in you application( {$R WINRES.RES} ). The tool also support adding custom Version Info items. You can chose not to include version info, icon or xp style. I tried to make it as simple as posible. The sourcecode of the tool is not perfect but the important thing is that it works. The only problem I found is that the Debuger sometimes crash when the exe has XP style enabled. But you can always disable this option and enable it when you build the final release. I have to got o sleep and then to school and then to private math lessons and then I'll have some time to pack the Tool, write a simple install instruction and upload it. If someone knows where Lazarus stores Tools menu configuration I could try to make the instalation automatic. Bye ---------------------------------------------------------------------- mikiwoz · 2006-03-06 23:04 Great stuff, Vins! the only thing I would lack (got this in Delphi ) is "Auto-increment Build number with every build". Cheers Mike ---------------------------------------------------------------------- Marc · 2006-03-07 15:10 AFAIR, we had recently a discussion about this on the ML ---------------------------------------------------------------------- tech-pro · 2006-03-08 08:59 I already made a tool to do this, see here: http://www.lazarus- resource.com/resource-manager.shtml. I'm sure I tried adding a link to it in this forum's Tools list as well, but it doesn't seem to be there. ---------------------------------------------------------------------- vins · 2006-03-08 14:16 Sorry. I didn't knew. However here is what I made that night: http://ecologybook.openfmi.net/tempfiles/optiontool.zip ---------------------------------------------------------------------- lepidosteus · 2006-03-08 16:02 Thanks, working great ! (i couldn't get tech-pro's one to work) ---------------------------------------------------------------------- LazaruX · 2007-04-17 12:52 Hi, I had also made a tool to change the icon to your programs and to ad the XP style to them. It can be downloaded at  http://freewebs.com/bpsoftware/Wi%28n%29Xtap/ Wi%28n%29XtaP%5F0%5F5%5F0/BPS-Wi%28n%29XtaP_0_5_0.rar The program is still beta, it is a closed source Freeware program. Yu can used and redistribuited freely. Contact me for any suggestion or bugs at BPsoftw [at] hotmail [dot] com ***Broken link: edited on 18/10/07 with new link ---------------------------------------------------------------------- vins · 2007-04-19 17:23 Updated version: http://www.violin-bg.com/temp/optionstool.rar Note: source is included, if someone wants to see how it's made or fix something. ---------------------------------------------------------------------- antonio · 2007-04-19 21:21 This link opens the file on the navigator and I can't download it. ---------------------------------------------------------------------- Vincent Snijders · 2007-04-19 21:31 Try save link as... And install a .rar extractor, for example 7zip. ---------------------------------------------------------------------- antonio · 2007-04-19 21:39 This worked. Thanks, Vincent. Now I can change the icon. Thanks vins. ---------------------------------------------------------------------- CCRDude · 2007-05-08 20:59 I haven't looked at any of these apps, but since I recently did a lot of Vista prepations, my recommendation would be to take the UAC part of the manifest into account for any such app (application name, requestedExecutionLevel, ...). ---------------------------------------------------------------------- LazaruX · 2007-05-16 09:48 A newer version can be downloaded at: http://freewebs.com/bpsoftware/Wi%28n%29Xtap/Wi%28n%29XtaP%5F0%5F5%5F0 /BPS-Wi%28n%29XtaP_0_5_0.rar Contact me at BPsoftw (at) hotmail.com for suggestions Preview of version 0.5.0 (http://www.freewebs.com/bpsoftware/Wi%28n%29Xtap/Wi%28n%29XtaP%5F0%5F 5%5F0/Wi%28n%29XtaP%5F0%5F5%5F0%2D1.png) ---------------------------------------------------------------------- JanRoza · 2007-05-16 14:25 Unfortunately the link for WinXtaP doesn't work, on the downloadpage after waiting for 24 seconds a link appears that generates a file not found message. Is there any other place where the file can be downloaded? ---------------------------------------------------------------------- LazaruX · 2007-05-25 14:08 I have tested the link and after 24 seconds it worked correctly, by the way try this link then, if this does not work contact me then, I will send it you personally. http://freewebs.com/bpsoftware/Wi%28n%29Xtap/Wi%28n%29XtaP%5F0%5F5%5F0 /BPS-Wi%28n%29XtaP_0_5_0.rar Bye ---------------------------------------------------------------------- tpglemur · 2008-09-30 07:51 Thanks vins it's a very helpful tool. Lazarus is a great IDE but it's plagued by the lack of a proper comprehensive repository for useful tools and tutorials. I even find this forum very slow and and at times in accessible. With these setbacks it's unlikely the community will grow very much, despite the really awesome IDE.