Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 08:08

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Loch in Gui

Discussion on Loch in Gui within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
SCORNI's Avatar
 
elite*gold: 26
Join Date: Jun 2009
Posts: 972
Received Thanks: 228
Loch in Gui

Loch in Gui
Ich weiß nicht ob das schon mal gepostet wurde SuFu hat mir nixt verraten.
Also, ich hab gegoogelt ob man 2 while schleifen gleichzeitig laufen lassen kann. Und bin dabei durch zufall auf das hier gestossen.
PHP Code:
#include <GuiConstants.au3>

$my_gui GUICreate("MyGUI"392323)

_GuiHole($my_gui8030200300)
GUISetState()
While 
1
   $msg 
GUIGetMsg()
   
Select
      
Case $msg $GUI_EVENT_CLOSE
         ExitLoop
      
Case Else
        ;;;
   
EndSelect
WEnd
Exit

Func _GuiHole($h_win$i_x$i_y$i_sizew$i_sizeh)
   
Dim $pos$outer_rgn$inner_rgn$wh$combined_rgn$ret
   $pos 
WinGetPos($h_win)
  
   
$outer_rgn DllCall("gdi32.dll""long""CreateRectRgn""long"0"long"0"long"$pos[2], "long"$pos[3])
    If 
IsArray($outer_rgnThen
        $inner_rgn 
DllCall("gdi32.dll""long""CreateEllipticRgn""long"$i_x"long"$i_y"long"$i_x $i_sizew"long"$i_y $i_sizeh)
        If 
IsArray($inner_rgnThen
            $combined_rgn 
DllCall("gdi32.dll""long""CreateRectRgn""long"0"long"0"long"0"long"0)
            If 
IsArray($combined_rgnThen
                DllCall
("gdi32.dll""long""CombineRgn""long"$combined_rgn[0], "long"$outer_rgn[0], "long"$inner_rgn[0], "int"4)
                
$ret DllCall("user32.dll""long""SetWindowRgn""hwnd"$h_win"long"$combined_rgn[0], "int"1)
                If 
$ret[0Then
                    
Return 1
                
Else
                    Return 
0
                
EndIf
            Else
                Return 
0
            
EndIf
        Else
            Return 
0
        
EndIf
    Else
        Return 
0
    
EndIf
  
EndFunc 
Ich weiß nicht ob es jemand gebrauchen könnte (ich brauche es für neues projekt)
Hier mal ein Pic davon
SCORNI is offline  
Old 08/11/2009, 12:07   #2
 
Syc0n's Avatar
 
elite*gold: 20
Join Date: Oct 2008
Posts: 1,835
Received Thanks: 1,638
Das ist eine UDF, die nennt sich GUI_Hole... und jetzt lass das C&P mal sein!
Syc0n is offline  
Old 08/11/2009, 14:40   #3
 
elite*gold: 0
Join Date: Jun 2009
Posts: 26
Received Thanks: 6
radiergummi?
push ebp is offline  
Reply


Similar Threads Similar Threads
Tunnels & Mausuleum vs Pit & Loch..
07/30/2010 - Diablo 2 - 15 Replies
Hi Leute, bin im mom schwer beschäftigt mit folgender Wahl. Hab 6 Zauberinen ( Blizzard ) die bisher unter anderen Tunnels und Mausuleum gemacht haben, wo hin und wieder halt ne High Rune drin war etc. ... Hab von den 6 SoSo´s jetzt 3 auf Light umgestellt die nun statt Tunnel & Maus. -> Pit & Loch machen. Wie sind Eure Erfahrungen da ? Wird dort auch gut gedropt. Meine SoSo 97 schaffen es komischerweise nicht Travi oder Diablo zu bestehen was ziemlich schade ist...
Metin2 SPAMER v2.0 by Loch°
06/28/2010 - Metin2 Hacks, Bots, Cheats, Exploits & Macros - 2 Replies
So, ca. 3 Stunden nachdem mein erster Spam-Bot online ist, kommt schon mein 2. :) Diesmal kann man sogar Zeit (Interval) einstellen ;) Hier Screens: So sieht er aus: http://img36.imageshack.us/img36/6637/45306978.jp g
Problem - Loch im Hals
10/16/2008 - World of Warcraft - 0 Replies
Vor dem Patch konnte ich das Problem, sobald man sein Model zu Ud's geändert hat und ein Loch im Hals hatte beheben. Nur jetzt funktioniert es nicht mehr wie früher. Hab es nach dem Patch nochmal neu gemacht, nur tuts sich da nichts. Hat wer vieleicht nen Tipp oder nen neuen Guide?



All times are GMT +1. The time now is 08:08.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.