Tech Off Thread

4 posts

Forum Read Only

This forum has been made read only by the site admins. No new threads or comments can be added.

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

Back to Forum: Tech Off
  • User profile image

     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?



  • 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


    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.


  • User profile image

    I have been thinking about using Windows Vista but people tell me that these effects here 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:

Conversation locked

This conversation has been locked by the site admins. No new comments can be made.