Opened on May 11, 2014 at 9:59:11 AM
Closed on May 20, 2014 at 6:26:50 PM
Last modified on May 24, 2014 at 2:42:25 PM
#2714 closed Feature Request (Rejected)
Help for GUICtrlCreateGraphic omits info for dynamic graphics.
| Reported by: | RichardL | Owned by: | |
|---|---|---|---|
| Milestone: | Component: | Documentation | |
| Version: | Severity: | None | |
| Keywords: | Cc: |
Description
See
Please replace the help example for GUICtrlCreateGraphic with the one from that topic (or better). Then people can have simple dynamic graphics without searching through the forum.
Attachments (0)
Change History (3)
comment:1 by , on May 14, 2014 at 6:57:17 PM
| Component: | AutoIt → Documentation |
|---|---|
| Type: | Bug → Feature Request |
| Version: | 3.3.8.1 |
comment:2 by , on May 20, 2014 at 6:26:50 PM
| Resolution: | → Rejected |
|---|---|
| Status: | new → closed |
comment:3 by , on May 24, 2014 at 2:42:25 PM
The main point is that anyone trying to use this dynamically, will see the flicker and assume it's faulty. They may search the forum, find all the advice to use something more complicated, and give up. There is a simple fix, is it possible to get an example of the dynamic action in the help file without going 'way beyond'?
Did you 'diff' the suggested new example v the current? The changes are
+ the bezier graphic from the GUICtrlSetGraphic help - this reduces the differences between the two help examples, which look like they started as one and diverged. 21 lines of code. (We could make it 14 lines but less pretty.)
+ a label by each graphic to make it easier to see which code makes each graphic. c. 6 lines of code.
+ a dynamic bar derived from Detefon's bar. - 21 lines of new code.
You could miss out the first two changes, and only put the dynamic bar.
The absolute minimum, would be to add the $WS_EX_COMPOSITED flag, then dynamic things will work correctly. Please consider doing this if nothing else.

Please adhere to the AutoIt standards for example creation. As it stands the example which was suggested is way beyond the scope of what the help file is intended for. Thanks.