Disable Windows Aero theme

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
I just read
http://social.msdn.microsoft.com/Forums/en-US/vbgeneral/thread/742df71d-bd50-456e-986f-6c73efdde245/ Disable aero in visual basic
http://support.esri.com/en/knowledgebase/techarticles/detail/38465 HowTo: How to programatically disable the Windows Aero theme for standalone ArcGIS applications
http://spazzarama.wordpress.com/2009/09/30/enable-or-disable-dwm-composition-aero/ C# â Enable / Disable DWM Composition (Aero)
Any of you whiz bang kids know how to accomplish this with VB6? (I realize this is not a VB6 forum but just curious if any of you VB.NET programmers know how to translate this into VB6
Thanks ahead of time for any suggestions.

Basically, this code ported to VB6
<pre lang="x-c# [DllImport("dwmapi.dll", PreserveSig = false)]
public static extern int DwmEnableComposition(bool fEnable);

static void Main(string[] args)
{
DwmEnableComposition(false);

// Your application here.
}
[/code]
<br/>

<
John Grove, MCC - Senior Software Engineer<br/>
<br/>
<br/>

View the full article
 
Back
Top