Jump to content
Sign in to follow this  
sergeyWolf

Get State of handle window

Recommended Posts

sergeyWolf

$GUI_log =          GUICreate ("Log of actions", 400, 700, -1, -1, -1, -1, $GUI_main)

GUISetState (@SW_HIDE, $GUI_log)

i need some like

If GUICtrlGetState ($GUI_coord) = @SW_SHOW Then
;           ..something happen,,
EndIf

ps: this example doesn't work :mellow:


- I want program that crack all other programs...- Let's split up, i'll search this program and you'll find crack for it. ^_^'

Share this post


Link to post
Share on other sites
martin

$GUI_log =          GUICreate ("Log of actions", 400, 700, -1, -1, -1, -1, $GUI_main)

GUISetState (@SW_HIDE, $GUI_log)

i need some like

If GUICtrlGetState ($GUI_coord) = @SW_SHOW Then
;           ..something happen,,
EndIf

ps: this example doesn't work :mellow:

You need WinGetState.

EDIT: No you don't. I thought you were trying to get the state of a window.

Refer instead to monoscout999's post which follows.

Edited by martin

Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.

Share this post


Link to post
Share on other sites
monoscout999

@SW_SHOW Doesn`t work with controls look for the GUICtrlSetState() function in the help. there`s a list there where you can see the values you can get from GuiCtrlGetState() function.

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  

×