Hide overlay button when Smart Client is running

Hi,

I’m developing a plugin to SmartClient 2017 R2.

Can I control an overlay button visibility (show/hide) from within the plugin, according to internal state it has?

Thank you

No. The Smart Client overlay buttons cannot be controlled or used from a MIP plugin.

-

In MIP SDK 2018 R2 and Smart Client 2018 R2 Milestone will introduce something new which might fit instead of using Smart Client overlay buttons. Milestone will introduce ActiveElementsOverlay and this will enable development of another kind of buttons or similar.

Sneak peak of the introduction text:

ImageViewerAddOn now exposes three new methods (all starting with ‘ActiveElementsOverlay’) allowing for adding, updating and removing objects of classes that derive from the WPF class UIElement. Examples of such classes are Button, TextBlock and UserControls. This enables plug-ins to add interactive elements on top of the video.

MIP SDK 2018 R2 is planned to release June 7 and will include a sample showing this new functionality.