Adblock breaks this site

VB.NET AeroGlass SourceCode Release

Discussion in 'Programming General' started by Hiatus, Apr 1, 2011.

  1. Hiatus

    Hiatus Member

    Joined:
    Feb 27, 2011
    Posts:
    29
    Referrals:
    0
    Sythe Gold:
    0
    VB.NET AeroGlass SourceCode Release

    [​IMG]

    Source Code :

    Code:
    
    Imports System.Runtime.InteropServices
    
    Public Class Form1
        <Runtime.InteropServices.StructLayout(Runtime.InteropServices.LayoutKind.Sequential)> Public Structure MARGINS
      Public LeftWidth As Integer
      Public RightWidth As Integer
      Public TopHeight As Integer
      Public Buttomheight As Integer
        End Structure
    
        <Runtime.InteropServices.DllImport("dwmapi.dll")> Public Shared Function DwmExtendFrameIntoClientArea(ByVal hWnd As IntPtr, ByRef pMarinset As MARGINS) As Integer
        End Function
    
        Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
      Try
        Me.BackColor = Color.Gray
        Dim margins As MARGINS = New MARGINS
        margins.LeftWidth = -1
        margins.RightWidth = -1
        margins.TopHeight = -1
        margins.Buttomheight = -1
        Dim result As Integer = DwmExtendFrameIntoClientArea(Me.Handle, margins)
      Catch ex As Exception
        Application.Exit()
      End Try
        End Sub
    End Class
    
     
  2. Harlem9191

    Harlem9191 Member

    Joined:
    Mar 10, 2009
    Posts:
    81
    Referrals:
    0
    Sythe Gold:
    0
    VB.NET AeroGlass SourceCode Release

    That's been lying around the internet for yonks.
    And credit the user who you got it from. Because that isn't yours.
     
  3. Hiatus

    Hiatus Member

    Joined:
    Feb 27, 2011
    Posts:
    29
    Referrals:
    0
    Sythe Gold:
    0
    VB.NET AeroGlass SourceCode Release

    I never said it was mine. I just posted it. And the author is visual studio. I know him in person. I've had college classes with him.
     
  4. Blupig

    Blupig BEEF TOILET
    $5 USD Donor

    Joined:
    Nov 23, 2006
    Posts:
    7,145
    Referrals:
    16
    Sythe Gold:
    1,609
    Discord Unique ID:
    178533992981594112
    Valentine's Singing Competition Winner Member of the Month Winner MushyMuncher Gohan has AIDS Extreme Homosex World War 3 I'm LAAAAAAAME
    Off Topic Participant
    VB.NET AeroGlass SourceCode Release

    Actually it's very possible that anyone could have come up with this, it's really not that complicated at all. Personally, I even made a whole library for it a while back and posted it (can't remember if I posted it on Sythe).

    What would be interesting to see would be your take on getting around the faulty rendering for colored labels and other controls that use the aero as a background.
     
  5. Crex

    Crex Newcomer

    Joined:
    Apr 15, 2011
    Posts:
    4
    Referrals:
    0
    Sythe Gold:
    0
    VB.NET AeroGlass SourceCode Release

    Not only has this been posted all over the internet, it's not hard at all :l.
    And it only works with 7 and Vista from what I remember
     
  6. General Trade

    General Trade Active Member
    Banned

    Joined:
    Apr 21, 2011
    Posts:
    131
    Referrals:
    0
    Sythe Gold:
    0
    VB.NET AeroGlass SourceCode Release

    Hey sorry for all those flamers but if you L2READS can't see its not his of course, hes not Bill Goats *cough* Gates for PEAT sake. Please don't flame him, at least he has the hulk testicles to post this unlike you lazy fucks. Okay I'd just like to say thanks for this!
     
< Buying a easy bot/program (up to 100m gp payment) | Any help? >


 
 
Adblock breaks this site