How can I modify the default cursor for the image viewer control when a particular camera is chosen.

I’d like to change the cursor when it hovers over the default image viewer control in the Live workspace, depending on the specific camera selected.

could you please guide me how to achieve that using Plugin integration?

If you have your own ImageViewerWpfControl it is an UserControl and you can simply on MouseEnter change the Cursor.

If the view is a regular camera view item you can use the ActiveElements methods like in the Active Elements Overlay plugin sample.

https://doc.developer.milestonesys.com/html/index.html?base=samples/pluginsamples/activeelementsoverlay/readme.html&tree=tree_1.html

I would like to voice a word of caution. Milestone has carefully created the UI and inherently there is a lot of mouse changes, if the camera is a PTZ camera, if you do Digital Zoom and maybe more. You could be interfering with the cursors in a way that might not be optimal.

Thank you for the replay.

I am using regular camera view item.

With Active Elements overlay, background controls for the default Digital zoom are not working due to ZOrder of the Active Elements are rendered above zoom controls.

Any other solution which i can tryout with?

Did you experiment with the ZOrder?

https://doc.developer.milestonesys.com/html/index.html?base=miphelp/class_video_o_s_1_1_platform_1_1_client_1_1_active_elements_overlay_render_parameters.html&tree=tree_search.html?search=activeelements

If you did, I don’t see a solution where you can change the cursor without causing unwanted side effects.