koszmail2 Posted August 15, 2012 Posted August 15, 2012 My head script looks like that, i need hide my IE windows. Please don't ask why expandcollapse popup#include <ButtonConstants.au3> #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #include <IE.au3> #include <GUIListBox.au3> #include <File.au3> #include <EditConstants.au3> Global $Paused,$X_Pytajnia_A,$X_Pytano_A,$X_ZadajPytanie_A,$X_ZadajPytanie_B $Form1 = GUICreate("Form1", 924, 568, 50, 20) Local $oIE = _IECreateEmbedded() Local $oIE1 = _IECreateEmbedded() GUICtrlCreateObj($oIE1, 10, 100, 195, 450) GUICtrlSetState(-1, $GUI_DISABLE) Local $oIE2 = _IECreateEmbedded() GUICtrlCreateObj($oIE2, 212, 100, 195, 450) Local $oIE3 = _IECreateEmbedded() GUICtrlCreateObj($oIE3, 407, 100, 195, 450) Local $oIE4 = _IECreateEmbedded() GUICtrlCreateObj($oIE4, 600, 100, 195, 450) $Tab1 = GUICtrlCreateTab(3, 60, 800, 500) GUICtrlSetFont(-1, 10, 800, 0, "Segoe Print") GUICtrlSetResizing(-1, $GUI_DOCKWIDTH+$GUI_DOCKHEIGHT) $TabSheet2 = GUICtrlCreateTabItem("Dodawanie pytań") $Button1 = GUICtrlCreateButton("PytaNo.pl", 8, 16, 90, 20) $Button3 = GUICtrlCreateButton("ZadajPytanie.pl ", 8, 36, 90, 20) $Button2 = GUICtrlCreateButton("PytajNia.pl", 98, 16, 90, 20) $Button4 = GUICtrlCreateButton("ZadajPytanie.pl 2", 98, 36, 90, 20) $TabSheet2 = GUICtrlCreateTabItem("Odpowiedzi") $Button5 = GUICtrlCreateButton("Ręcznie odpowiedz", 147, 40, 150, 20) HotKeySet("{PAUSE}", "TogglePause") GUISetState(@SW_SHOW)
Shane0000 Posted August 15, 2012 Posted August 15, 2012 GUISetState ( @SW_HIDE ,$Form1 ) GUISetState ( @SW_HIDE ,$oIE1 ) I believe that will do it
koszmail2 Posted August 15, 2012 Author Posted August 15, 2012 (edited) 24hours, i made it. this is not working ;( edit: or do it like:GUISetState ( @SW_HIDE ,$Form1 )GUISetState ( @SW_HIDE ,$oIE1&$oIE2&$oIE3&$oiE4 )This one will be working ? Edited August 15, 2012 by koszmail2
Shane0000 Posted August 16, 2012 Posted August 16, 2012 My bad, GUICtrlSetState($oCtrl,$GUI_HIDE) This one should work, per help file GUISetState ( @SW_HIDE ,$Form1 )
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now