Opened 18 years ago
Closed 18 years ago
#394 closed Bug (No Bug)
Strange TreeView behaviour, 2 different problems.
| Reported by: | Wooltown | Owned by: | |
|---|---|---|---|
| Milestone: | Component: | AutoIt | |
| Version: | 3.2.12.0 | Severity: | None |
| Keywords: | Cc: |
Description
In the treeview, the first time the WM Notify event is fired off, the first time I click on an item, and test for the Item ID using $hItem = _GUICtrlTreeView_GetSelection($TreeView) it is 0x00000000, error ?
In the Func TreeView_Click() I have added ;--- Change this on two lines to show what happens on the 10 root items if you click in the checkbox or on the text. If you have the first alternative active, if you click in the checkbox, it will always be checked, but if you click on the text it will always be unchecked.
If I use the other "Change this" line, the behaviour is reversed.
Testing on Windows 2000 SP4
Attachments (1)
Change History (2)
by , 18 years ago
| Attachment: | treetest.au3 added |
|---|
comment:1 by , 18 years ago
| Resolution: | → No Bug |
|---|---|
| Status: | new → closed |

There is a lot wrong with that code. You need support, not reporting a bug. Some things I see wrong off-hand:
Your code is a long way from being correctly written. Post on the forum to get support and get your code written correctly. Closing this as no bug because it's too hard to tell if the problem is you or AutoIt.