how to develop an overlay button that when pressed shows a popup

Hi, I’m investigating the SDK.

I would like to know, how can I develop an overlay button that when pressed show a popup with more options? I can not find any example or information. Could you help me?

Regards,

thank you very much.

The overlay buttons that are part of the Smart Client can not be used by MIP plug-ins.

It might be possible to to draw an overlay like the AnalyticsOverlay sample does, to detect mouse-clicks and then figure out whether the mouse-click is on the area of your overlay.

I would like to instead recommend that you make a toolbar button instead, see the Smart Client Toolbar Plug-in sample. See also - https://developer.milestonesys.com/s/question/0D50O000045MZeDSAW/how-can-i-create-toolbar-grouping-

Hello Andersen, thanks for answering.

I can not make the toolbar example work.

I have installed the sdk, Xprotect essencial + trial, the Xprotect smart client version is 2018 R! 12.1.a.

I can run some plugins but others do not. The .dll and the .def and the are in the MIPPlugins / SCToolbar folder, however the plugin does not appear. I would need the camera to be seen while the toolbar is in that same cell. it’s possible?

Thank you very much, I already understood the idea.

From the last post I assume you got the plugin running..

I would like to highlight this new knowledge base article. - https://developer.milestonesys.com/s/article/debugging-techniques-for-Smart-Client-plugins

Thank you very much, good information.

I have an other question. it is possible that the plug in uses an app.config file?