Modify ↓
Opened on Aug 2, 2008 at 12:32:17 AM
Closed on Aug 2, 2008 at 1:15:15 AM
Last modified on Aug 2, 2008 at 2:00:12 AM
#490 closed Feature Request (Rejected)
Ability to have GUICtrlCreate... accept hide, show, enable and disable state options
| Reported by: | HeidiR | Owned by: | |
|---|---|---|---|
| Milestone: | Component: | AutoIt | |
| Version: | Severity: | None | |
| Keywords: | Cc: |
Description (last modified by )
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)
Attachments (0)
Change History (2)
comment:1 by , on Aug 2, 2008 at 1:15:15 AM
| Description: | modified (diff) |
|---|---|
| Resolution: | → Rejected |
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.

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.