#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 Changed 11 years ago by BrewManNH
- Component changed from AutoIt to Documentation
- Type changed from Bug to Feature Request
- Version 3.3.8.1 deleted
comment:2 Changed 10 years ago by guinness
- Resolution set to Rejected
- Status changed from new to closed
comment:3 Changed 10 years ago by anonymous
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.
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.
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.