Tech Off Thread

4 posts

Enabling Visual Styles for Windows.Forms Controls hosted by Explorer Bar ??

Back to Forum: Tech Off
  • User profile image
    zys

     Hello All,

    I have created an Explorer Bar in VC++ that hosts Windows.Forms controls (.Net 2.0).

    The problem is that these controls do not render as WinXP style but as classic Windows Style.

    PS. If the same controls are hosted by .Net 2.0 Windows Application, they render correctly. 

     

    Did anyone encounter such a problem before and/or  figured out a solution?

     

    Regards

  • User profile image
    Sven Groot

    Create a manifest indicating comctl32.dll v6 as usual and embed it into your DLL, but use resource id ISOLATIONAWARE_MANIFEST_RESOURCE_ID instead of the usual CREATEPROCESS_MANIFEST_RESOURCE_ID.

    If you add a manifest to a VC2005 DLL project it'll automatically be embedded this way.

  • User profile image
    zys

    Hi

    Thanks for the info, however I have already done that and I got the following post-compilation error:
    Error 13 error PRJ0050: Failed to register output. Please ensure you have the appropriate permissions to modify the registry.

    When I remove (ISOLATIONAWARE_MANIFEST_RESOURCE_ID RT_MANIFEST "MyApp.manifest") from the resource file, it compiles again !!???

    Any idea will be appreciated.

    Regards

  • User profile image
    usacomputer​tec

    I have been thinking about using Windows Vista but people tell me that these effects here http://www.youtube.com/watch?v=nCPh9qWikvk&eurl=http%3A%2F%2Fwww%2Emindblowingidea%2Ecom%2FComputerRescue%2Ehtml are better than areo in Vista and are more stable and that it dosen't get viruses and stuff. Is this true?
    The people here told me: http://www.thenixedreport.podshow.com/

Comments closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.