Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Guild Wars > GW Bots
You last visited: Today at 09:46

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

Advertisement



Window Hider problem

Discussion on Window Hider problem within the GW Bots forum part of the Guild Wars category.

Reply
 
Old   #1
 
plachta1234's Avatar
 
elite*gold: 0
Join Date: Jan 2009
Posts: 25
Received Thanks: 0
Window Hider problem

Ich wollte mir grad ein kleines Tool bauen doch anstatt das angegebene Fenster zu Hiden, Hided es sich selber.
PHP Code:
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>

#Region ### START Koda GUI section ### Form=
$Form1 GUICreate("Window Hider"300179193125)
$Button1 GUICtrlCreateButton("Hide"3216217330)
$Button2 GUICtrlCreateButton("Show"3256217330)
$Input1 GUICtrlCreateInput("Window Name"409620921)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

$read1 GuiCtrlRead ($Input1)
$hWnd WinGetHandle ($read1)

While 
1
    $nMsg 
GUIGetMsg()
    Switch 
$nMsg
        
Case $GUI_EVENT_CLOSE
            
Exit
        Case 
$Button2
            _Show
()
        Case 
$Button1
            _Hide
()
    EndSwitch
WEnd

Func _Show
()
    
WinSetState($hWnd"", @SW_SHOW)
EndFunc   

Func _Hide
()
    
WinSetState($hWnd"", @SW_HIDE)
EndFunc 
Wo liegt mein Problem?
plachta1234 is offline  
Old 03/16/2009, 20:45   #2


 
buFFy!'s Avatar
 
elite*gold: 1826
Join Date: Mar 2009
Posts: 4,310
Received Thanks: 6,287
Quote:
Originally Posted by plachta1234 View Post
Ich wollte mir grad ein kleines Tool bauen doch anstatt das angegebene Fenster zu Hiden, Hided es sich selber.
PHP Code:
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>

#Region ### START Koda GUI section ### Form=
$Form1 GUICreate("Window Hider"300179193125)
$Button1 GUICtrlCreateButton("Hide"3216217330)
$Button2 GUICtrlCreateButton("Show"3256217330)
$Input1 GUICtrlCreateInput("Window Name"409620921)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

$read1 GuiCtrlRead ($Input1)
$hWnd WinGetHandle ($read1)

While 
1
    $nMsg 
GUIGetMsg()
    Switch 
$nMsg
        
Case $GUI_EVENT_CLOSE
            
Exit
        Case 
$Button2
            _Show
()
        Case 
$Button1
            _Hide
()
    EndSwitch
WEnd

Func _Show
()
    
WinSetState($hWnd"", @SW_SHOW)
EndFunc   

Func _Hide
()
    
WinSetState($hWnd"", @SW_HIDE)
EndFunc 
Wo liegt mein Problem?
Versuch einfach nicht soviele Variablen und Funktionen zu verschachteln..
benutzen wir einfach mal das von blauwiggle geliebte Wort "Stackoverflow".

Code:
#include <ButtonConstants.au3> 
#include <EditConstants.au3> 
#include <GUIConstantsEx.au3> 
#include <WindowsConstants.au3> 

#Region ### START Koda GUI section ### Form= 
$Form1 = GUICreate("Window Hider", 300, 179, 193, 125) 
$Hide = GUICtrlCreateButton("Hide", 32, 16, 217, 33, 0) 
$Show = GUICtrlCreateButton("Show", 32, 56, 217, 33, 0) 
$WINDOWNAME = GUICtrlCreateInput("Window Name", 40, 96, 209, 21) 
GUISetState(@SW_SHOW) 
#EndRegion ### END Koda GUI section ### 

While 1 
    $nMsg = GUIGetMsg() 
    Switch $nMsg 
        Case $GUI_EVENT_CLOSE 
            Exit 
        Case $Show
            WinSetState(GuiCtrlRead($WINDOWNAME), "", @SW_SHOW) 
        Case $Hide
            WinSetState(GuiCtrlRead($WINDOWNAME), "", @SW_HIDE)
    EndSwitch 
WEnd 

Func _Show() 
    WinSetState(GuiCtrlRead($WINDOWNAME), "", @SW_SHOW) 
EndFunc    

Func _Hide() 
    WinSetState(GuiCtrlRead($WINDOWNAME), "", @SW_HIDE) 
EndFunc
buFFy! is offline  
Old 03/16/2009, 21:13   #3
 
plachta1234's Avatar
 
elite*gold: 0
Join Date: Jan 2009
Posts: 25
Received Thanks: 0
oh danke schön es funktioniert perfekt
plachta1234 is offline  
Reply


Similar Threads Similar Threads
[Tool]Window Hider
01/02/2011 - SRO Hacks, Bots, Cheats & Exploits - 28 Replies
Silkroad Window Hider (UPDATED) by SpInKsTaR http://i39.tinypic.com/28m06xe.png No need for a crowded desktop anymore (: Things that you dont need to see in the taskbar can be Hidden Example: nuConnector, SrProxy, Silkroad
e*pvp CA window hider
12/16/2010 - Combat Arms - 24 Replies
Hey. Da in diesem Thread nach einem Programm gefragt wurde, mit dem man CA möglichst schnell verstecken kann, habe ich für alle Leute, deren Eltern ein Problem mit CA haben, mal eins geschrieben. Da mir eine GUI gerade mal zu umständlich war, habe ich es einfach als Konsolenanwenung gehalten ;) Screen: http://img229.imageshack.us/img229/2898/cahider.p ng Anleitung:
[Problem] Itunes window 7
08/26/2010 - Technical Support - 3 Replies
Hallo ich wollte ein Acc mit Itunes machen. Alles Perfekt. Bestätigungs mail bekommen aktiviert. Itunes Anmelden. "Da kommt klicken sie auf OK,um die Anleitung zur Bestätigung ihres Accounts zu lesen" Was soll ich machen.
Diablo 2 window problem
02/16/2010 - Diablo 2 - 5 Replies
sorry das ich extra einen fred erstelle aber ich wüsst sonst nich wo rein. ich habe folgendes problem mein windows7 ist nur halb aktiviert es geht zwar aber es kommt ca. alle halbe stunde ein fenster mit " windows aktivieren" und alle 2stunden öffnet sich eine internet seite deswegen. ich nutze kukbot und immer wenn sich so ein fenster vom windows öffnet minimiert sich das kuk fenster und der bot erstellt dann erstmal keine neuen games bis zum restart gibt es eine möglichkeit das...
Sbot & DCAL window Hider
12/24/2009 - SRO Hacks, Bots, Cheats & Exploits - 26 Replies
Created by Stephen from www.goafk.net forum ! All credits go to Stephen he made it all !! I just put it here . Status: Working for SBot v1.50a & DCAL 0.30b Current Version: v3.0 Credits to chakjii for the map idea... VIRUS TOTAL:



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


Powered by vBulletin®
Copyright ©2000 - 2026, 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 ©2026 elitepvpers All Rights Reserved.