Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Events: Add support for listening to Shape-based events #1243

Open
Skaty opened this issue Mar 23, 2017 · 1 comment
Open

Events: Add support for listening to Shape-based events #1243

Skaty opened this issue Mar 23, 2017 · 1 comment

Comments

@Skaty
Copy link
Member

Skaty commented Mar 23, 2017

This would be useful for our existing and future features, as some features may go out of sync if a certain Shape is modified.

For instance: SyncLab will still show the copied attributes even though the shape is deleted via Undo.

@alexfjw
Copy link
Member

alexfjw commented Feb 24, 2018

We might be able to achieve this by exploring EApplication_WindowSelectionChangeEventHandler Delegate
We can probably poll a group of shapes whenever the window selection changes.
(word of caution, attaching event handlers is reserved for internal use)
https://msdn.microsoft.com/en-us/library/microsoft.office.interop.powerpoint.eapplication_windowselectionchangeeventhandler(v=office.14).aspx
https://msdn.microsoft.com/en-us/library/microsoft.office.interop.powerpoint.eapplication_event_members(v=office.14).aspx

I'm not exactly sure where we would use such a feature though.
For the given example on SyncLab, the user might still want the copied attributes even if he deletes the original shape.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants