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
Contributors
User avatar
Retherz123
Just Registered
Just Registered
Posts: 4
Joined: Fri Sep 17, 2010 5:40 pm

How to make Aero Glass
Retherz123
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
User avatar
Agust1337
Coding God
Coding God
Posts: 2456
Joined: Fri Feb 19, 2010 8:18 pm

Re: How to make Aero Glass
Agust1337
Hello Retherz123, I would recommend you try write this where your codes go:
['code'] ['/code'], and remove the ' ', and you'll see this:
Code: Select all
private sub... 
edit: this has been posted... Just search for Aero Code or something I don't remember which post it is.
Top-notch casual Dating
User avatar
MrAksel
C# Coder
C# Coder
Posts: 1758
Joined: Fri Mar 26, 2010 12:27 pm

Re: How to make Aero Glass
MrAksel
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
User avatar
Axel
Coding God
Coding God
Posts: 1928
Joined: Sun Jun 27, 2010 9:15 pm

Re: How to make Aero Glass
Axel
MrAksel wrote:
Nice tut, but you got the code from here: my.opera.com/.../vb-net-vista-aero-glass-effect-window
true you can see it without google that it isn't his code...
at least give a credit ;ts
http://vagex.com/?ref=25000
User avatar
zachman61
VIP - Donator
VIP - Donator
Posts: 1892
Joined: Wed Dec 16, 2009 9:56 pm

Re: How to make Aero Glass
zachman61
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 :)
User avatar
Retherz123
Just Registered
Just Registered
Posts: 4
Joined: Fri Sep 17, 2010 5:40 pm

Re: How to make Aero Glass
Retherz123
MrAksel wrote:
Nice tut, but you got the code from here: my.opera.com/.../vb-net-vista-aero-glass-effect-window
never seen that
User avatar
Axel
Coding God
Coding God
Posts: 1928
Joined: Sun Jun 27, 2010 9:15 pm

Re: How to make Aero Glass
Axel
Retherz123 wrote:
MrAksel wrote:
Nice tut, but you got the code from here: my.opera.com/.../vb-net-vista-aero-glass-effect-window
never seen that
1. don't lie to us
2. its possible someone copied it and then u copied it ...
http://vagex.com/?ref=25000
User avatar
Retherz123
Just Registered
Just Registered
Posts: 4
Joined: Fri Sep 17, 2010 5:40 pm

Re: How to make Aero Glass
Retherz123
YourSocksRoxx wrote:
Retherz123 wrote:
MrAksel wrote:
Nice tut, but you got the code from here: my.opera.com/.../vb-net-vista-aero-glass-effect-window
never seen that
1. don't lie to us
2. its possible someone copied it and then u copied it ...
yeah i copied from my form
8 posts Page 1 of 1
Return to “Tutorials”