how use xp style under win2000 |
Post Reply |
Author | ||
stephen_hyc
Newbie Joined: 27 January 2005 Status: Offline Points: 38 |
Post Options
Thanks(0)
Posted: 16 February 2005 at 8:02pm |
|
but i just want to use in dialog and change the default theme under 2000.
|
||
Ark42
Senior Member Joined: 20 October 2003 Status: Offline Points: 291 |
Post Options
Thanks(0)
|
|
Use the command bars edit or dropdown controls and they are themed as part of the command bars. |
||
stephen_hyc
Newbie Joined: 27 January 2005 Status: Offline Points: 38 |
Post Options
Thanks(0)
|
|
then how to apply 2003 theme.Derive from CXTEdit or CXTPEdit? It seems they dont work.
|
||
Ark42
Senior Member Joined: 20 October 2003 Status: Offline Points: 291 |
Post Options
Thanks(0)
|
|
My application is more of an graphics design tool that regular home users download from my website, so Office 2003 (set to blue, not grey, on Win2000 and below) is the default, and you can pick 2000 or XP if you want to still. |
||
gshawn
Senior Member Joined: 04 October 2004 Status: Offline Points: 227 |
Post Options
Thanks(0)
|
|
I agree that this is not a good idea at all. The con's far outweigh the pro's. Now, regarding your menu option to let the user pick his/her theme (2K/XP/2K3), this is something that I have been thinking about. On the one hand, it's neat to be able to offer different themes with pretty much 0 changes in code. On the other hand, my application is more of a "serious" application if you will (a developer tool) so I am afraid it will look a bit too "gimmicky." Is your application intended for use by individuals or professionals, and how do you get around this issue? Thanks |
||
Ark42
Senior Member Joined: 20 October 2003 Status: Offline Points: 291 |
Post Options
Thanks(0)
|
|
That is now, maybe what he wants, but what if you change your theme under XP? That control still won't change, it will always look like the default XP theme, but yes, it will look like that under any version of windows. He started out asking about why the XP manifest file doesn't work under 2000 and below though. Codejock provides an interface wrapper to hook into the XP theme manager and lets you draw some controls using the current theme under XP and higher, although most of what you need to do that is just to use the xml manifest resource. Personally, I put menu options in my program to let the user pick from 3 overall themes, using Office 2000, XP, or 2003, so if they like the 98/2000 style stuff, even under XP, they can pick Office 2000 style. |
||
gshawn
Senior Member Joined: 04 October 2004 Status: Offline Points: 227 |
Post Options
Thanks(0)
|
|
No, actually it's exactly what he's looking for.
Like this one? http://www.ciatheco.com/Products/XPSuite/XPText.htm. Note under the feature listing: "Windows XP Style regardless of the operating system." I know that's what he's looking for, because I used that toolset for over a year. But I still recommend against it, because of the reasons outlined above. Edited by gshawn |
||
Ark42
Senior Member Joined: 20 October 2003 Status: Offline Points: 291 |
Post Options
Thanks(0)
|
|
gshawn - you realize that what you pointed too is NOT XP themes at all, but Office 2003 style toolbars and such, which is exactly what Codejock does do, and NOT what stephen_hyc seems to want to do. |
||
gshawn
Senior Member Joined: 04 October 2004 Status: Offline Points: 227 |
Post Options
Thanks(0)
|
|
Actually, you can. http://www.ciatheco.com/Products/XPSuite/Index.html <- This is what I was using prior to switching to Xtreme Suite I would not recommend it for a few reasons: 1) If your customers run Win2000, then they expect the applications they run to look like Win2000. If your app is the only one that behaves differently, it will look odd, out of place, and simply unprofessional. 2) Some users *dislike* the XP Themes and disable them, even under Windows XP. Imagine what they will think of you when you force them to use the XP theme. 3) This specific set of controls is quite unstable and as far as I know is no longer being updated. Regardless, what you're trying to achieve is a bad idea mostly because of 1) and 2) |
||
Ark42
Senior Member Joined: 20 October 2003 Status: Offline Points: 291 |
Post Options
Thanks(0)
|
|
Yes, XP manifests and XP specific themes can only be used under XP. Codejock can be used for certain XP-like controls, such as Flat edit boxes or combo boxes. And you can use the blue-colored Office 2003 theme under other version of windows if you use a custom theme, but nothing you can ever do will get your title bar or regular buttons to look like they do by default under XP other then completely 100% owner-drawn code, which would still not obey theme changes, if other versions of windows even let you pick themes in control panel anywhere. |
||
ICBM
Groupie Joined: 15 January 2004 Location: New Zealand Status: Offline Points: 57 |
Post Options
Thanks(0)
|
|
Please, accept this: you can't use XP themes on Windows 2000, period. |
||
stephen_hyc
Newbie Joined: 27 January 2005 Status: Offline Points: 38 |
Post Options
Thanks(0)
|
|
then how to use xtreme to do that . For example,make an edit box to be in xp style. |
||
zaksoft
Senior Member Joined: 05 June 2003 Location: Italy Status: Offline Points: 162 |
Post Options
Thanks(0)
|
|
Simply you cant, I dont known any library that emulates themes. Like you cannot use security features in W98 since are part of NT, you cannot use themes in version earlier than XP ( or W2003 server)
|
||
VS2008 SP1 - VS2010 SP1 - VS2012 - MFC MBCS Statically linked
XTP 15.3.1 Static Link --------------------------------------------------------- Davide Zaccanti - ZakSoft - www.zaksoft.com |
||
stephen_hyc
Newbie Joined: 27 January 2005 Status: Offline Points: 38 |
Post Options
Thanks(0)
|
|
then how can i use xp style under 2000 system
|
||
zaksoft
Senior Member Joined: 05 June 2003 Location: Italy Status: Offline Points: 162 |
Post Options
Thanks(0)
|
|
It's a feature of the operating system, not of the library... XP search for a an external manifest file or a resource into the program and apply themes. Davide |
||
VS2008 SP1 - VS2010 SP1 - VS2012 - MFC MBCS Statically linked
XTP 15.3.1 Static Link --------------------------------------------------------- Davide Zaccanti - ZakSoft - www.zaksoft.com |
||
stephen_hyc
Newbie Joined: 27 January 2005 Status: Offline Points: 38 |
Post Options
Thanks(0)
|
|
it seems that manifest is only suitable under xp
|
||
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |