Sha256: 1ff588ccd9711b4027e4eb14a6894b0d2398f057fcabe97e661290199b243c4f

Contents?: true

Size: 760 Bytes

Versions: 2

Compression:

Stored size: 760 Bytes

Contents

#pragma once
using namespace System::Windows::Automation;

ref class ExpandCollapseHelper
{
public:
	void ExpandByValue(const HWND windowHandle, const char* whichItem);
	void ExpandByIndex(const HWND windowHandle, const int whichItemIndex);
	void CollapseByValue(const HWND windowHandle, const char* whichItem);
	void CollapseByIndex(const HWND windowHandle, const int whichItemIndex);

private:
	AutomationElementCollection^ ExpandableItems(const HWND windowHandle);
	AutomationElement^ ExpandableItem(const HWND windowHandle, const char* whichItem);
	void Expand(AutomationElement^ automationElement);
	void Collapse(AutomationElement^ automationElement);

	property PropertyCondition^ IsExpandable {
		PropertyCondition^ get();
	}
};

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rautomation-0.9.0 ext/UiaDll/UiaDll/ExpandCollapseHelper.h
rautomation-0.8.0 ext/UiaDll/UiaDll/ExpandCollapseHelper.h