To expand the selected item, it's
SendMessage(WM_COMMAND, ID_TREE_EXPAND)
WM_COMMAND = 0x0111 (273 decimal)
ID_TREE_EXPAND = 0x7D16 (32022 decimal)
For collapse, it's
SendMessage(WM_COMMAND, ID_TREE_COLLAPSE)
WM_COMMAND = 0x0111 (273 decimal)
ID_TREE_COLLAPSE = 0x7D17 (32023 decimal)
A complete list of commands is attached.
The char search functionality is implemented by the control handling keypress events and there isn't a specific command for it.
|