View Single Post
  #9  
Old 02-17-2024, 12:02 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
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.
Attached Files
File Type: zip URCommands.zip (3.0 KB, 2723 views)
Reply With Quote