microsoft/winforms-designer-extensibility

How to change Cursor at client side when hovering over a component

Opened this issue · 5 comments

Hello @KlausLoeffelmann

I have design surface implemented for a report component, one of its features is to move report components such as textboxes/pictures/labels etc.

In net462 environment i was able to change the cursor when hovering over a component, with new SDK its not clear how to do this.

I could not find any API to change the cursor at client while processing mouse events at server, so I tried sending a notification with a cursor type to be displayed when mouse is over a component, using the notification API and receiving the notification at RootDesignerProxy.

At RootDesignerProxy i have tried appliying cursor type to both DesignerView and InputShield classes using reflection, but with no success.
Cursor

Could you please clarify how to change/update Cursor type displayed for InputShield?

Thanks

cc @merriemcgaw

Those are good points - we need to likely open up the internal API some more.
Let me finish what I am working on right now, and how we can get you an updated API ASAP - I'll start on that next week, and keep you posted.

@merriemcgaw, let's prioritize this. This is good feedback!

Hi @KlausLoeffelmann
Could you please provide me with an update on this issue?
I’d also appreciate you could provide some comments on other issues, just a few lines when you have a moment.

cc @merriemcgaw
Thanks,

Hi @valiahmetovv - @KlausLoeffelmann is on a well earned vacation for the rest of this week. Reviewing the APIs that we need to expose and the issues here is definitely on his radar for his return mid-next week.

Hi @merriemcgaw

Are there any news regarding ETA of new SDK version?

Thanks
cc @KlausLoeffelmann

I'm afraid we don't at this time. We're catching up on some high priority items that have to get in to .NET 9 early (relating to BinaryFormatter removal, the top priority). I wouldn't expect a new SDK corresponding with 17.11, but there is a good chance for 17.12. We're working out what we can do there.