 |
|
|
A long time ago I wrote a program using Visual C++ 6. Then when I bought .NET 2002, I used this instead, but my controls contnued to have that Windows 98 look.
I came across MakeXP today, and thought I would give it a try, as I still have the old .DSP file built by VC6.
It worked a treat. I now have an application that looks like XP style.
But is the new improved version still compatible with Windows 98? Will it still work on such an old system and revert to 98 style?
Shraddhan
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
Im using Dev-C++ to develop applications.
Must i get a copy of Visual C++ in order to make my apps use xp visual style?
seems a little bit odd...
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
Has anyone run into the problem of CAnimatCtrls not playing AVI's once you have 'manifested' your MFC app? I have been having the problem for a while now, and can't figure it out.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
I update sdk to Feb,2003 and set vc to use the new sdk; then i build a simple dialog based project,and use makeXP. And i add some code in initInstance() like this:
InitCommonControls(); //added #ifdef _AFXDLL Enable3dControls(); ......
but once i click build,a messagebox out said %MSSDK%\bin\rc.exe need windows to update .(i am using 98)
why?how to resolve?need i to update windows?
gkcc
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
I had a similar problem. Editing the .rc2 file by hand and a full rebuild for the project fixed it. I am not sure why VC++ does not pick the change to the file. If this still does not work, you can try to move the line
CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "res\\your_executable.exe.manifest" from the .rc2 file into the .rc file. The previous text must be on a single line.
Another solution is to copy the manifest file in your Debug or Release directory (or in the directory where your executable is placed). This is good for testing if the previous step does not work.
You can have a look at Using Windows XP Visual Styles[^] for more information.
Yves Tkaczyk.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
I want my DLL to have a XP look & feel. I tried with MakeXp but it does nothing. Could anyone help me?
.:MART!N:.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
It's me again. I think I found solution. The application which uses DLL has to have XP look & feel. So probably DLL has nothing to say to use or not XP style. But maybe I'm wrong...
.:MART!N:.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
I can't seem to make the manifest work for a DLL. Has anyone done this before, or have any clues?
Jim McCurdy
|
| Sign In·View Thread·PermaLink | 5.00/5 (1 vote) |
|
|
|
 |
|
|
Thanks for good article  It works fine with my applications. I have one question about manifest file. Is there any way to apply xp visual theme to only some type of controls in your application ?
For example I wish my application could use new buttons and property sheets but all the rest should stay in old outlook. Is that possible ? Thanks & best regards! Irek
Check out my software at: http://www.ireksoftware.com
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
Hi!, im Glad you found it usefull, About your question, I dont think that only applying to certain controls is possible, cause basically what the manifest does, is instruct the application to use the latest (newest) version of the common controls dll (ComCtl32.dll) it can find, wich is where the new "good looking" controls are, but i dont think that its possible to specify to only use some part of it.
Bye!
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
It is not possible to do this via including the manifest file in your compile. If you want to selectively enable themese on some controls, then you'll need to use the UxTheme API to draw your controls instead.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwxp/html/xptheming.asp describes this all.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
|
Mhh, thats odd, Did the App reported any errors?, Does MakeXP itself Look like XP style? (MakeXP was run on MakeXP) Was a MyApp.exe.manifest file added to your project? (see in files tab)
Please give me more information so i can see what went wrong
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
No, MakeXP doesn't look like XP style also. MyApp.exe was added to my project, but nothing happened.
|
| Sign In·View Thread·PermaLink | 1.00/5 (1 vote) |
|
|
|
 |
|
|
Hi again, Im sorry but it seems i left out a couple of things you need to use MakeXP.
1.- You need to have a recent Microsoft Platform SDK Update installed in the PC where you compile your apps.
2.- In you target application you need to link to ComCtl32.Lib (project - settings - link tab), and early in your app (like in Initinstance() ) you need to call InitCommonControls().
Sorry.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
Might be a silly question but you need to run MakeXP on a Windows XP box. If you run it on a Win2000 it won't have the look and feel.
This is only a manifest change so that when you run your program on WinXP it will get the new look but if you run it on Windows 2000 it will look like a regular Windows app.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
|
 |
|
|
I short, its a set of instructions that tell the app, "if avairable, use version x.xx of common controls". Windows XP uses a new version of the common controls .dll, wich is what makes controls in the app look diffrent.
|
| Sign In·View Thread·PermaLink | 2.00/5 (1 vote) |
|
|
|
 |
|
|
I don't have much of a problem. I just use the same manifest file (the app name is irrelevant in it, so I set it generic for every app), and import it as a custom resource with type 24 and value 1. Works wonderfully.
This is a good idea though.
Ryan
He who laughs last thinks too slowly.
|
| Sign In·View Thread·PermaLink | 4.40/5 (2 votes) |
|
|
|
 |
|
|
Seems like a good idea to me also, but MakeXP did not do anything to my apps. Even MakeXP does not have the XP style. I did use Ryans method though, importing the manifest as type 24 and ID 1, and it woked perfectly.
Thanks Ryan!
Rancid Crabtree of DiegoLogic
|
| Sign In·View Thread·PermaLink | 3.50/5 (5 votes) |
|
|
|
 |