Jump to content
io.kent

[AutoIt]Glass style window or border

Recommended Posts

Posted

Code

Func _CompExtendFrame($hWnd,$Left=-1,$Top=-1,$Right=-1,$Bottom=-1)
;by 1234hotmaster
If @OSVersion = Chr(87)&Chr(73)&Chr(78)&Chr(95)& _
Chr(55) Or @OSVersion = Chr(87)&Chr(73)&Chr(78)&Chr(95)& _
Chr(86)&Chr(73)&Chr(83)&Chr(84)&Chr(65) Then
$tRect = DllStructCreate(Chr(108)&Chr(111)&Chr(110)&Chr(103)& _
Chr(32)&Chr(76)&Chr(101)&Chr(102)&Chr(116)& _
Chr(59)&Chr(108)&Chr(111)&Chr(110)&Chr(103)& _
Chr(32)&Chr(84)&Chr(111)&Chr(112)&Chr(59)& _
Chr(108)&Chr(111)&Chr(110)&Chr(103)&Chr(32)& _
Chr(82)&Chr(105)&Chr(103)&Chr(104)&Chr(116)& _
Chr(59)&Chr(108)&Chr(111)&Chr(110)&Chr(103)& _
Chr(32)&Chr(66)&Chr(111)&Chr(116)&Chr(116)& _
Chr(111)&Chr(109))
DllStructSetData($tRect, Chr(76)&Chr(101)&Chr(102)&Chr(116), $Left)
DllStructSetData($tRect, Chr(84)&Chr(111)&Chr(112), $Top)
DllStructSetData($tRect, Chr(82)&Chr(105)&Chr(103)&Chr(104)& _
Chr(116), $Right)
DllStructSetData($tRect, Chr(66)&Chr(111)&Chr(116)&Chr(116)& _
Chr(111)&Chr(109), $Bottom)
Return DllCall(Chr(100)&Chr(119)&Chr(109)&Chr(97)& _
Chr(112)&Chr(105)&Chr(46)&Chr(100)&Chr(108)& _
Chr(108), Chr(108)&Chr(111)&Chr(110)&Chr(103), Chr(68)&Chr(119)&Chr(109)&Chr(69)& _
Chr(120)&Chr(116)&Chr(101)&Chr(110)&Chr(100)& _
Chr(70)&Chr(114)&Chr(97)&Chr(109)&Chr(101)& _
Chr(73)&Chr(110)&Chr(116)&Chr(111)&Chr(67)& _
Chr(108)&Chr(105)&Chr(101)&Chr(110)&Chr(116)& _
Chr(65)&Chr(114)&Chr(101)&Chr(97), Chr(104)&Chr(119)&Chr(110)&Chr(100),$hWnd , Chr(108)&Chr(111)&Chr(110)&Chr(103), DllStructGetPtr($tRect))
EndIf
EndFunc

iS0ncBQNqP4nE.png

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...