Modify

Opened 8 years ago

Closed 8 years ago

#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 8 years ago.

Download all attachments as: .zip

Change History (2)

Changed 8 years ago by InunoTaishou

comment:1 Changed 8 years ago by Jpm

  • Resolution set to Duplicate
  • Status changed from new to closed

Thanks
Already fix for next beta

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The ticket will remain with no owner.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.