Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#490 closed Feature Request (Rejected)

Ability to have GUICtrlCreate... accept hide, show, enable and disable state options — at Version 1

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

Description (last modified by Valik)

Example:
GUICtrlCreateButton("", 10, 10, 60, 25, $GUI_HIDE)
GUICtrlCreateButton("", 10, 10, 60, 25, $GUI_SHOW)
GUICtrlCreateButton("", 10, 10, 60, 25, $GUI_ENABLE)
GUICtrlCreateButton("", 10, 10, 60, 25, $GUI_DISABLE)

Change History (1)

comment:1 Changed 16 years ago by Valik

  • Description modified (diff)
  • Resolution set to Rejected
  • Status changed from new to closed

To create a control disabled, use the WS_DISABLED style at creation time. Otherwise, the control is created enabled. AutoIt forces the control to be visible so there's no way to create a control that is initially not visible. However, you can just change the state before you show the GUI so I don't see much point in any of this.

Note: See TracTickets for help on using tickets.