Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Systreeview32 search from subtree element
#6
I just figured out my own question by looking through the MS documentation here:

https://docs.microsoft.com/en-us/windows...-constants
Code:
Copy      Help
if a.State&STATE_SYSTEM_COLLAPSED
    out "Collapsed, expanding"
    a.DoDefaultAction
else
    out "Not Collapsed, doing nothing."
 

After looking at the object properties, I found out that the default action is "Expand" when the State is STATE_SYSTEM_COLLAPSED.  The default action flips to "Collapse" when it's expanded.


Messages In This Thread
RE: Systreeview32 search from subtree element - by netdude78 - 03-02-2021, 11:23 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)