Message 1 of 5
Multiple selection inputs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
My Add in has two SelectionInputs. I have a problem checking which SelectionInput has been selected. How do I use activeInput ()?
class MySelectHandler : public SelectionEventHandler
{
public:
void notify(const Ptr<SelectionEventArgs>& eventArgs) override
{
if (!eventArgs)
return;
Ptr<Selection> selection = eventArgs->selection();
if (!checkReturn(selection))
return;
// Get the value of the property.
Ptr<SelectionCommandInput> propertyValue = selection->activeInput();