Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Suite Pro
  New Posts New Posts RSS Feed - support vista aero in client area for controls
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

support vista aero in client area for controls

 Post Reply Post Reply
Author
Message
gaudetm View Drop Down
Senior Member
Senior Member
Avatar

Joined: 23 September 2006
Location: Canada
Status: Offline
Points: 134
Post Options Post Options   Thanks (0) Thanks(0)   Quote gaudetm Quote  Post ReplyReply Direct Link To This Post Topic: support vista aero in client area for controls
    Posted: 28 October 2007 at 2:58pm
 
 
Private Type Margins
    Left As Long: Right As Long: Top As Long: Bottom As Long
End Type
 
Private Declare Function DwmExtendFrameIntoClientArea Lib "dwmapi.dll" (ByVal h As Long, m As Margins) As Long`
 
sub Form1_Load()
    Dim m As Margins
    m.Bottom = -1
    Me.BackColor = vbBlack
    'if osversion > 6 then
        'if DwmIsCompositionEnabled then 'Is Aero Turned On
            DwmExtendFrameIntoClientArea Form1.hwnd, m
        'end if
    'end if
End sub
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.109 seconds.