How to enable the xp theme in my application without manifest file...?

Discussion in 'MFC' started by basawaraj, May 22, 2008.

Thread Status:
Not open for further replies.
  1. basawaraj

    basawaraj New Member

    Joined:
    May 22, 2008
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    0
    Dear All,

    I am using C++ in VS2005 , I need to enable the xp theme in my application without manifest file,

    I have used compiler directive like below in code

    #pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")

    It works nicely in VS 2005 and later versions,but I need alternate solution which works independent of any Visual Studio versions( Including on VS2003,VS2004).


    Please help me ...

    Thanks in advance,
    Basawaraj Bijjaragi.
     
  2. NewsBot

    NewsBot New Member

    Joined:
    Dec 2, 2008
    Messages:
    1,267
    Likes Received:
    2
    Trophy Points:
    0
Thread Status:
Not open for further replies.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice