[PATCH 2/2] regedit: Add 'Expand' and 'Collapse' options to the treeview pop-up menu

Nikolay Sivov bunglehead at gmail.com
Wed May 24 03:37:33 CDT 2017


On 24.05.2017 11:21, Hugh McMaster wrote:
> +    item.mask = TVIF_CHILDREN | TVIF_HANDLE | TVIF_STATE;
> +    item.stateMask = TVIS_EXPANDED | TVIS_EXPANDEDONCE | TVIS_EXPANDPARTIAL;
> +    SendMessageW(hwndTV, TVM_GETITEMW, 0, (LPARAM)&item)

Later you only test for TVIS_EXPANDED, is it necessary to request other
bits?



More information about the wine-devel mailing list