Modify

#3216 closed Bug (Duplicate)

WinGetState, none of the states are declared.

Reported by: InunoTaishou Owned by:
Milestone: Component: AutoIt
Version: 3.3.14.0 Severity: None
Keywords: Cc:

Description

From the help file for WinGetState:

Success: a value indicating the state of the window. Multiple values are added together so use BitAND() to examine the part you are interested in:
$WIN_STATE_EXISTS (1) = Window exists
$WIN_STATE_VISIBLE (2) = Window is visible
$WIN_STATE_ENABLED (4) = Window is enabled
$WIN_STATE_ACTIVE (8) = Window is active
$WIN_STATE_MINIMIZED (16) = Window is minimized
$WIN_STATE_MAXIMIZED (32) = Window is maximized 
Failure: 0 and sets the @error flag to non-zero if the window is not found. 

Constants are defined in "AutoItConstants.au3".

None of the these variables are declared in any of the files in the include folder.

Attachments (1)

WinGetState Example.au3 (631 bytes ) - added by InunoTaishou on Apr 1, 2016 at 6:15:36 AM.

Download all attachments as: .zip

Change History (2)

by InunoTaishou, on Apr 1, 2016 at 6:15:36 AM

Attachment: WinGetState Example.au3 added

comment:1 by Jpm, on Apr 1, 2016 at 7:06:39 AM

Resolution: Duplicate
Status: newclosed

Thanks
Already fix for next beta

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.