![]() |
support vista aero in client area for controls |
Post Reply ![]() |
Author | |
gaudetm ![]() Senior Member ![]() ![]() Joined: 23 September 2006 Location: Canada Status: Offline Points: 134 |
![]() ![]() ![]() ![]() ![]() 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
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |