Noticed something odd recently, it might be ActiveX widget related, but also might be an internal WinCC OA bug (or a bug in how WinCC OA handles ActiveX objects). I've got a panel which holds an XpdfViewer ActiveX object:
https://www.glyphandcog.com/XpdfViewer.html
The object itself works fine, but when the panel containing it is opened, the mouse pointer turns into a pointing hand as if it's hovering over a clickable button. If one navigates from the panel, the pointer remains a hand, the only way to make it go back to a normal mouse pointer is to click on a non-navigational button or panel ref, but as soon as you navigate away from the panel where you do this, it goes back to a hand. It only really goes back to a standard mouse pointer if you restart the UI.
Any ideas why this is happening? Log doesn't show any errors / messages when the ActiveX holding panel is loaded and there's no errors shown at any point when navigating away from the panel.
mouse pointer turns into a hand (possibly ActiveX related)
- tpjctrl
- Posts:145
- Joined: Tue May 08, 2018 10:30 am
mouse pointer turns into a hand (possibly ActiveX related)
- tpjctrl
- Posts:145
- Joined: Tue May 08, 2018 10:30 am
Re: mouse pointer turns into a hand (possibly ActiveX related)
Some more info on this, the panel containing the ActiveX object is opened via a button in this particular scenario. As you hover over this button before clicking on it to open the panel, it changes into a hand - this is standard behavior on clickable buttons. It appears that whatever happens after this (ie. loading the ActiveX object) makes the mouse pointer get "stuck" in the hand shape rather than going back to a standard mouse pointer. If you assign a keyboard keypress to the button and launch the ActiveX containing panel this way, the mouse pointer doesn't change shape. Disabling the button right before calling the ActiveX containing panel also seems to be a good work around as it makes the pointer go from a hand to an arrow right before the panel with the ActiveX object gets called.