gud day all,
how can i implement xp visual style in assembly.
thanks.
-PUP, assembler newbie :D
how can i implement xp visual style in assembly.
thanks.
-PUP, assembler newbie :D
gud day all,
how can i implement xp visual style in assembly.
thanks.
-PUP, assembler newbie :D
In what manner.
Do you wish to make a static "XP Visual Style" to be used on any version of Windows? If so, check out programs like Trillian to see how this type of deviation works.
Do you wish to make a Windows Program that has that visual style applied to it? If so, you generally use the OS default, so the end-user would have to be running Windows XP.
I am almost positive there are more ways to do it than just the two above, though such methods are behind my knowledge base, and is best left to be explained by people who are more experienced with "Window Skinning".
spook,
where should i see program like trillian?
someone told me to create a manifest file that resides in the same directory as my executable. he gave me the syntax.
********************
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity
version="1.0"
processorArchitecture="X86"
name="my.exe"
type="win32" />
<description>my executable</description>
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="X86"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
</dependency>
</assembly>
IMPORTANT: Be sure to modify the values in the FIRST assemblyIdentity and Descriptions tags appropriately.
********************
but when i ran it under xp... it generates the error...
********************
this application has failed to start because the application configuration is incorrect.reinstalling the application may fix this problem.
********************
hope someone could explain this.
ill appreciate any help.
regards,
PUP, assembler newbie
where should i see program like trillian?
someone told me to create a manifest file that resides in the same directory as my executable. he gave me the syntax.
********************
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity
version="1.0"
processorArchitecture="X86"
name="my.exe"
type="win32" />
<description>my executable</description>
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="X86"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
</dependency>
</assembly>
IMPORTANT: Be sure to modify the values in the FIRST assemblyIdentity and Descriptions tags appropriately.
********************
but when i ran it under xp... it generates the error...
********************
this application has failed to start because the application configuration is incorrect.reinstalling the application may fix this problem.
********************
hope someone could explain this.
ill appreciate any help.
regards,
PUP, assembler newbie
In that case... check THIS LINK out :)
the manifest could be compiled into your exe too, put these lines ni your .rc file:
the manifest should look like above
this works fine for me, and all controls and the windows will have a XP look.
#define RT_MANIFEST 24
#define IDMF_MAIN 1
IDMF_MAIN RT_MANIFEST "yourname.exe.manifest"
the manifest should look like above
<?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="company.product.name"
type="win32"
/>
<description>some text with description</description>
<dependency>
<dependentAssembly>
<assemblyIdentity
name="Microsoft.Windows.Common-Controls"
processorArchitecture="X86"
version="6.0.0.0"
type="win32"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
</dependency>
</assembly>
this works fine for me, and all controls and the windows will have a XP look.
beaster,
thanks! :)
-PUP
thanks! :)
-PUP
PUP, next time read what people post, i said substitute "my" with the name of your executable, for crying out loud.
ehtyar,
i just did it.... it so happen that i copy paste it from your post... sorry for my mistake... i have substituted the name of my executable to what you have said but it still generates the error. i have done all your instruction.
i apologize to you if i have not post this on the other side....
-PUP
i just did it.... it so happen that i copy paste it from your post... sorry for my mistake... i have substituted the name of my executable to what you have said but it still generates the error. i have done all your instruction.
i apologize to you if i have not post this on the other side....
-PUP
PUP, next time read what people post, i said substitute "my" with the name of your executable, for crying out loud.
Ehtyar, please don't drag your arguments from the "other place" over to this forum. This will not be tolerated any further. Thanks. -SpooK
PUP, is this for an app you are compiling yourself, or for a third party one? morover, if the controls are user drawn, it will not work.
ehtyar,
dis is for an app im compiling for myself. thanks for the added info about userdrawn.
again i apologize for not giving you feedback about your response to my post. thanks for helping me out ehtyar :) thnks spook and beaster! :D
-PUP, assembler newbie
dis is for an app im compiling for myself. thanks for the added info about userdrawn.
again i apologize for not giving you feedback about your response to my post. thanks for helping me out ehtyar :) thnks spook and beaster! :D
-PUP, assembler newbie
yw, sorry for going off earlier, just getting tired of people who don't read, but you're forgiven :P