Login Register






[AutoIt]Blur Behind Window filter_list
Author
Message
[AutoIt]Blur Behind Window #1
Minimum OS supported is Vista. So doesn't work on XP. This uses the Desktop Window Manager or DWM dynamic link library.

Code:
Func _BlurBehindWindow($hWnd,$Activate=1) Const $DWM_BB_ENABLE = 0x00000001 $Struct = DllStructCreate("dword;int;ptr;int") DllStructSetData($Struct,1,$DWM_BB_ENABLE) If $Activate = 1 Then DllStructSetData($Struct,2,"1") Else DllStructSetData($Struct,2,"0") EndIf DllStructSetData($Struct,4,"1") $dll = DllOpen("dwmapi.dll") DllCall($dll,"int","DwmEnableBlurBehindWindow","hwnd",$hWnd,"ptr",DllStructGetPtr($Struct)) DllClose($dll) EndFunc




Ex:
Code:
Run(@ComSpec) _BlurBehindWindow(WinGetHandle("[CLASS:ConsoleWindowClass]"),1) ;Enable Blur
[Image: j9UwYcSeyLpP2.png]


Ex:
Code:
RunWait(@ComSpec) If ProcessExists("cmd.exe") Then _BlurBehindWindow(WinGetHandle("[CLASS:ConsoleWindowClass]"),1) ;Enable Blur Sleep(2500) _BlurBehindWindow(WinGetHandle("[CLASS:ConsoleWindowClass]"),0);Disable Blur
[Image: jbeGDsJtSKxgYU.png]
(This post was last modified: 11-02-2011, 05:17 AM by Skullmeat.)
Pierce the life fibers with your drill.

Reply

[AutoIt]Blur Behind Window #2
Minimum OS supported is Vista. So doesn't work on XP. This uses the Desktop Window Manager or DWM dynamic link library.

Code:
Func _BlurBehindWindow($hWnd,$Activate=1) Const $DWM_BB_ENABLE = 0x00000001 $Struct = DllStructCreate("dword;int;ptr;int") DllStructSetData($Struct,1,$DWM_BB_ENABLE) If $Activate = 1 Then DllStructSetData($Struct,2,"1") Else DllStructSetData($Struct,2,"0") EndIf DllStructSetData($Struct,4,"1") $dll = DllOpen("dwmapi.dll") DllCall($dll,"int","DwmEnableBlurBehindWindow","hwnd",$hWnd,"ptr",DllStructGetPtr($Struct)) DllClose($dll) EndFunc




Ex:
Code:
Run(@ComSpec) _BlurBehindWindow(WinGetHandle("[CLASS:ConsoleWindowClass]"),1) ;Enable Blur
[Image: j9UwYcSeyLpP2.png]


Ex:
Code:
RunWait(@ComSpec) If ProcessExists("cmd.exe") Then _BlurBehindWindow(WinGetHandle("[CLASS:ConsoleWindowClass]"),1) ;Enable Blur Sleep(2500) _BlurBehindWindow(WinGetHandle("[CLASS:ConsoleWindowClass]"),0);Disable Blur
[Image: jbeGDsJtSKxgYU.png]
(This post was last modified: 11-02-2011, 05:17 AM by Skullmeat.)
Pierce the life fibers with your drill.

Reply

RE: [AutoIt]Blur Behind Window #3
Sweet, nice share!

Spoiler:

Reply

RE: [AutoIt]Blur Behind Window #4
Sweet, nice share!

Spoiler:

Reply

RE: [AutoIt]Blur Behind Window #5
Tnx! btw for the msgtooshort thingy i do something kewl... :>

Code:
[color=#FFFFF] [/color]

You can try :3
(This post was last modified: 10-30-2011, 12:00 PM by Skullmeat.)
Pierce the life fibers with your drill.

Reply

RE: [AutoIt]Blur Behind Window #6
Tnx! btw for the msgtooshort thingy i do something kewl... :>

Code:
[color=#FFFFF] [/color]

You can try :3
(This post was last modified: 10-30-2011, 12:00 PM by Skullmeat.)
Pierce the life fibers with your drill.

Reply

RE: [AutoIt]Blur Behind Window #7
Man, I would like Win7 or Vista =)
Hack Community - My 2nd family, my best friends, my 2nd school.

====================
====================

====================
====================
====================


Latvija.

Reply

RE: [AutoIt]Blur Behind Window #8
Man, I would like Win7 or Vista =)
Hack Community - My 2nd family, my best friends, my 2nd school.

====================
====================

====================
====================
====================


Latvija.

Reply

RE: [AutoIt]Blur Behind Window #9
Sad Don't worry I'm posting something cool which works on all OS's... I'm going to call it the WirelessInfo UDF ^_^
(This post was last modified: 10-30-2011, 08:53 PM by Skullmeat.)
Pierce the life fibers with your drill.

Reply

RE: [AutoIt]Blur Behind Window #10
Sad Don't worry I'm posting something cool which works on all OS's... I'm going to call it the WirelessInfo UDF ^_^
(This post was last modified: 10-30-2011, 08:53 PM by Skullmeat.)
Pierce the life fibers with your drill.

Reply