How to make Aero Glass
Heres your chance to share your own tutorials with the community. Just post them on here. If your lucky they may even be posted on the main site.
8 posts
Page 1 of 1
Imports System.Runtime.InteropServices
Public Class
<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")> _
Public Shared Function DwmExtendFrameIntoClientArea(ByVal hWnd As IntPtr, ByRef pMarinset As MARGINS) As Integer
End Function
Public Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim margins As MARGINS = New MARGINS
margins.cxLeftWidth = -1
margins.cxRightWidth = -1
margins.cyTopHeight = -1
margins.cyButtomheight = -1
Dim hwnd As IntPtr = Me.Handle
Dim result As Integer = DwmExtendFrameIntoClientArea(hwnd, margins)
End Sub
set the background color to black and it will work ! requiers vista / 7 i think
Public Class
<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")> _
Public Shared Function DwmExtendFrameIntoClientArea(ByVal hWnd As IntPtr, ByRef pMarinset As MARGINS) As Integer
End Function
Public Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim margins As MARGINS = New MARGINS
margins.cxLeftWidth = -1
margins.cxRightWidth = -1
margins.cyTopHeight = -1
margins.cyButtomheight = -1
Dim hwnd As IntPtr = Me.Handle
Dim result As Integer = DwmExtendFrameIntoClientArea(hwnd, margins)
End Sub
set the background color to black and it will work ! requiers vista / 7 i think
Hello Retherz123, I would recommend you try write this where your codes go:
['code'] ['/code'], and remove the ' ', and you'll see this:
['code'] ['/code'], and remove the ' ', and you'll see this:
Code: Select all
edit: this has been posted... Just search for Aero Code or something I don't remember which post it is.private sub...
Nice tut, but you got the code from here: my.opera.com/.../vb-net-vista-aero-glass-effect-window
LMAOSHMSFOAIDMT
Laughing my a** of so hard my sombrero fell off and I dropped my taco lmao;
Over 30 projects with source code!
Please give reputation to helpful members!
![Image]()
![Image]()
Laughing my a** of so hard my sombrero fell off and I dropped my taco lmao;
Over 30 projects with source code!
Please give reputation to helpful members!

MrAksel wrote:Nice tut, but you got the code from here: my.opera.com/.../vb-net-vista-aero-glass-effect-windowtrue you can see it without google that it isn't his code...
at least give a credit ;ts
or was it taken from nery
Nailing my feet to the floor is easier than using my own muscles to balance, but you don't see me doing that 

MrAksel wrote:Nice tut, but you got the code from here: my.opera.com/.../vb-net-vista-aero-glass-effect-windownever seen that
Retherz123 wrote:1. don't lie to usMrAksel wrote:Nice tut, but you got the code from here: my.opera.com/.../vb-net-vista-aero-glass-effect-windownever seen that
2. its possible someone copied it and then u copied it ...
YourSocksRoxx wrote:yeah i copied from my formRetherz123 wrote:1. don't lie to usMrAksel wrote:Nice tut, but you got the code from here: my.opera.com/.../vb-net-vista-aero-glass-effect-windownever seen that
2. its possible someone copied it and then u copied it ...
8 posts
Page 1 of 1
Copyright Information
Copyright © Codenstuff.com 2020 - 2023