How can I get a message in a SC Background plugin to see if a floating window was closed on this SC?

I believe you can use the SelectedViewItemChangedIndication for this, please experiment using the Message Tester tool plugin sample to see how it looks.

http://doc.developer.milestonesys.com/html/index.html?base=samples/messagetester_sample.html&tree=tree_1.html

I found only “SelectedViewChangedIndication” and this will not work. If I close the window I get no message.

I get SelectedViewItemChangedIndication also when a window is closed, I have not tried to experiment and investigate whether I can tell the difference between the message and information I get on a regular change of selected view and a close down of a view.

You would need to have the Message Tester in a view that is not the one closing.

I suggest that you experiment further but I cannot guarantee where it will lead.

Sorry, but I don’t get this message. If I close a floating window I can see a “SelectedCameraChangedIndication”. Also I can’t find "SelectedViewItemChangedIndication " in the MessageIDs. What I can find is “SelectedViewChangedIndication”. But this message does not work for that.

I use XProtect Corporate 2017R3. Is this maybe a new function in 2018?

I spent a little more time on this and unfortunately I found that none of them give an indication that can be used to conclude a view has been closed!

Perhaps you can use one of the indications as trigger for an investigation. When triggered investigate whether you have the same views as before. To understand what view exists you can use the configuration. Here I will point to another tool plugin sample. With the Configuration dump sample you can in the Smart Client see what views are open.

-

This sounds good. I will try this. As tigger I can use “SelectedCameraChangedIndication”.

Solved, if I get a new Alarm I check if window is open. This meets my needs.