Sign in to follow this  
Followers 0
koszmail2

How hide this Gui?

5 posts in this topic

My head script looks like that, i need hide my IE windows. Please don't ask why :doh:

#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)

Share this post


Link to post
Share on other sites



GUISetState ( @SW_HIDE ,$Form1 )

GUISetState ( @SW_HIDE ,$oIE1 )

I believe that will do it

Share this post


Link to post
Share on other sites

This is not working

Share this post


Link to post
Share on other sites

#4 ·  Posted (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 by koszmail2

Share this post


Link to post
Share on other sites

My bad,

GUICtrlSetState($oCtrl,$GUI_HIDE)

This one should work, per help file

GUISetState ( @SW_HIDE ,$Form1 )

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0