EnableVisualStyles in Loaded DLL

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hey all, quick question for you...my main application uses the
EnableVisualStyles functionality in .NETv1.1 and I load some dll's which
contain some windows forms which I would also like to EnableVisualStyles in,
but there is no "Application" to enable it within the dll code....how do I go
about enabling xp visual styles on the loaded dll forms? If at all possible,
I would like to not use a .manifest file.....
 
Jason,

A single call to EnableVisualStyles from the EXE should be enough, and
it should apply to all windows created on the main UI thread. Is that
not what you're seeing?



Mattias
 
Wow, you are right, for some reason I overlooked that fact....thanks for your
quick reply....

Jason
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top