Transparent Console Application! 07-26-2013, 01:54 PM
#1
I did not make the code, i simply added improvements.
Coded by my good friend Anon?M ID :angel:
Let's get started!
![[Image: AZmYiCx.png]](http://i.imgur.com/AZmYiCx.png)
2. Add this code right below the text "Module Module1"
3. And add this code to the Main Sub :
4. What's that? errors you say? just add this code on the top :
![[Image: xwk5.png]](http://img199.imageshack.us/img199/7430/xwk5.png)
Add your own codes, Debug, and done! this is the end result :
![[Image: RE9IIZQ.png]](http://i.imgur.com/RE9IIZQ.png)
Give credits to Anon?M ID if you'll use this :3
And leave positive feedback :angel:
Coded by my good friend Anon?M ID :angel:
Let's get started!
== Tutorial ==
1. Create a Console Application, name it whatever you want.![[Image: AZmYiCx.png]](http://i.imgur.com/AZmYiCx.png)
2. Add this code right below the text "Module Module1"
Code:
Private Enum DwmBlurBehindDwFlags
' Fields
DWM_BB_BLURREGION = 2
DWM_BB_ENABLE = 1
DWM_BB_TRANSITIONONMAXIMIZED = 4
End Enum
<DllImport("Kernel32.dll", CharSet:=CharSet.Ansi, SetLastError:=True, ExactSpelling:=True)> _
Private Function GetConsoleWindow() As IntPtr
End Function
Private Structure DWM_BLURBEHIND
Public dwFlags As DwmBlurBehindDwFlags
Public fEnable As Boolean
Public hRgnBlur As IntPtr
Public fTransitionOnMaximized As Boolean
End Structure
<StructLayout(LayoutKind.Sequential)> _
Public Structure MARGINS
Public cxLeftWidth As Integer
Public cxRightWidth As Integer
Public cyTopHeight As Integer
Public cyButtomheight As Integer
End Structure
<DllImport("dwmapi.dll", CharSet:=CharSet.Ansi, SetLastError:=True, ExactSpelling:=True)> _
Private Sub DwmEnableBlurBehindWindow(ByVal hwnd As IntPtr, ByRef blurBehind As DWM_BLURBEHIND)
End Sub
Code:
Dim blurBehind As New DWM_BLURBEHIND With { _
.dwFlags = DwmBlurBehindDwFlags.DWM_BB_ENABLE, _
.fEnable = True _
}
Module1.DwmEnableBlurBehindWindow(Module1.GetConsoleWindow, blurBehind)
Code:
Imports System.Runtime.InteropServices
== Finishing ==
Now, your code should look like this :
Now, your code should look like this :
![[Image: xwk5.png]](http://img199.imageshack.us/img199/7430/xwk5.png)
Add your own codes, Debug, and done! this is the end result :
![[Image: RE9IIZQ.png]](http://i.imgur.com/RE9IIZQ.png)
Give credits to Anon?M ID if you'll use this :3
And leave positive feedback :angel:
![[Image: Chimpss_zpscb47769c.png?t=1375837462]](http://i1339.photobucket.com/albums/o709/HomerChimpson/Chimpss_zpscb47769c.png?t=1375837462)