Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Programming Talk / C++ / C# - Windows GUI - Enabling visual styles in DBP from a plugin?

Author
Message
AndrewT
19
Years of Service
User Offline
Joined: 11th Feb 2007
Location: MI, USA
Posted: 3rd Jul 2009 04:07 Edited at: 3rd Jul 2009 04:07
I wasn't sure whether or not to put this in DLL Talk or Programming Talk.

I'm working on a Windows GUI plugin, and I want visual styles enabled. When I was creating a Windows application in C++ this was quite simple. However now I have to do this from a plugin and I can't seem to get it working. I've already went through this MSDN article and couldn't find anything that would help me.

i like orange
Diggsey
20
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 3rd Jul 2009 12:12
So you tried this?

- Add this to your code


- Add this to your linker input: ComCtl32.lib

- Include this header file: commctrl.h

- Call InitCommonControlsEx with the controls you are using

- Create your GUI

AndrewT
19
Years of Service
User Offline
Joined: 11th Feb 2007
Location: MI, USA
Posted: 3rd Jul 2009 16:06
Ahhhh! Thanks.

i like orange

Login to post a reply

Server time is: 2026-06-10 03:31:38
Your offset time is: 2026-06-10 03:31:38