Register for your free account! | Forgot your password?

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

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

Advertisement



2Pages in 1 exe

Discussion on 2Pages in 1 exe within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 17
Join Date: Apr 2010
Posts: 1,689
Received Thanks: 3,641
2Pages in 1 exe

Hi if anyone can help me?I want add 2 page in the hack.I mean the someone click the button,another page come.Maybe more checkbox or others checkbox with other functions..
~>Jάson<~ is offline  
Old 06/08/2011, 14:03   #2
 
BlackHybrid's Avatar
 
elite*gold: 52
The Black Market: 101/0/0
Join Date: Oct 2010
Posts: 1,998
Received Thanks: 389
You can try the Tab control.
BlackHybrid is offline  
Old 06/08/2011, 14:09   #3
 
elite*gold: 17
Join Date: Apr 2010
Posts: 1,689
Received Thanks: 3,641
Quote:
Originally Posted by BlackHybrid View Post
You can try the Tab control.
Well i don't really like it because i transpart the form
~>Jάson<~ is offline  
Old 06/08/2011, 16:18   #4
 
Ludder231's Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 880
Received Thanks: 113
Quote:
Originally Posted by ™Ichigo™ View Post
Well i don't really like it because i transpart the form
You have to do that:
PHP Code:
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 GUICreate("Form1"18668192124)
$Button1 GUICtrlCreateButton("Page 1"8167525)
$Button2 GUICtrlCreateButton("Page2"96167525)
GUISetState(@SW_SHOW$form1)
#Region ### START Koda GUI section ### Form=
$Form2 GUICreate("Form2"299173302218)
$Edit1 GUICtrlCreateEdit(""00297121)
GUICtrlSetData(-1"Edit1")
$Checkbox1 GUICtrlCreateCheckbox("Checkbox1"81289717)
$Checkbox2 GUICtrlCreateCheckbox("Checkbox2"81529717)
GUISetState(@SW_HIDE$Form2)

#Region ### START Koda GUI section ### Form=
$Form3 GUICreate("Form3"253118302218)
$Input1 GUICtrlCreateInput("Input1"8812121)
$Button3 GUICtrlCreateButton("Button1"8407525)
$Radio1 GUICtrlCreateRadio("Radio1"1044811317)
$Radio2 GUICtrlCreateRadio("Radio2"1048011317)
GUISetState(@SW_HIDE$Form3)
#EndRegion ### END Koda GUI section ###


While 1
    
     $nMsg 
GUIGetMsg(1)
    Switch 
$nMsg[1]
    Case 
$Form1 
         
                
Switch $nMsg[0]
                
                Case 
$GUI_EVENT_CLOSE
                    
exit
                    
                case 
$button1
                    GUISetState
(@SW_show$Form2)
                    
                case 
$button2
                    GUISetState
(@SW_show$Form3)
                    
                    
EndSwitch 
      
        
     Case 
$Form2 
            
Switch $nMsg[0]
            Case 
$GUI_EVENT_CLOSE
                GUISetState
(@SW_HIDE$Form2)
        
    EndSwitch


    Case 
$form3
          
Switch $nMsg[0]
          Case 
$GUI_EVENT_CLOSE
              GUISetState
(@SW_HIDE$Form3)
              
              
              
EndSwitch 
EndSwitch 
wend 
Ludder231 is offline  
Thanks
1 User
Old 06/08/2011, 16:36   #5
 
elite*gold: 17
Join Date: Apr 2010
Posts: 1,689
Received Thanks: 3,641
Quote:
Originally Posted by Ludder231 View Post
You have to do that:
PHP Code:
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 GUICreate("Form1"18668192124)
$Button1 GUICtrlCreateButton("Page 1"8167525)
$Button2 GUICtrlCreateButton("Page2"96167525)
GUISetState(@SW_SHOW$form1)
#Region ### START Koda GUI section ### Form=
$Form2 GUICreate("Form2"299173302218)
$Edit1 GUICtrlCreateEdit(""00297121)
GUICtrlSetData(-1"Edit1")
$Checkbox1 GUICtrlCreateCheckbox("Checkbox1"81289717)
$Checkbox2 GUICtrlCreateCheckbox("Checkbox2"81529717)
GUISetState(@SW_HIDE$Form2)

#Region ### START Koda GUI section ### Form=
$Form3 GUICreate("Form3"253118302218)
$Input1 GUICtrlCreateInput("Input1"8812121)
$Button3 GUICtrlCreateButton("Button1"8407525)
$Radio1 GUICtrlCreateRadio("Radio1"1044811317)
$Radio2 GUICtrlCreateRadio("Radio2"1048011317)
GUISetState(@SW_HIDE$Form3)
#EndRegion ### END Koda GUI section ###


While 1
    
     $nMsg 
GUIGetMsg(1)
    Switch 
$nMsg[1]
    Case 
$Form1 
         
                
Switch $nMsg[0]
                
                Case 
$GUI_EVENT_CLOSE
                    
exit
                    
                case 
$button1
                    GUISetState
(@SW_show$Form2)
                    
                case 
$button2
                    GUISetState
(@SW_show$Form3)
                    
                    
EndSwitch 
      
        
     Case 
$Form2 
            
Switch $nMsg[0]
            Case 
$GUI_EVENT_CLOSE
                GUISetState
(@SW_HIDE$Form2)
        
    EndSwitch


    Case 
$form3
          
Switch $nMsg[0]
          Case 
$GUI_EVENT_CLOSE
              GUISetState
(@SW_HIDE$Form3)
              
              
              
EndSwitch 
EndSwitch 
wend 
Thank for replay...but i need in the same form if is possible.
~>Jάson<~ is offline  
Old 06/08/2011, 17:26   #6
 
Ludder231's Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 880
Received Thanks: 113
it's not possible i think...
Ludder231 is offline  
Old 06/08/2011, 18:30   #7
 
BlackHybrid's Avatar
 
elite*gold: 52
The Black Market: 101/0/0
Join Date: Oct 2010
Posts: 1,998
Received Thanks: 389
You can lay a popup GUI over your main GUI or hide and show all controls with GUISetState and the states $GUI_HIDE and $GUI_SHOW.
BlackHybrid is offline  
Reply




All times are GMT +2. The time now is 05:49.


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