PPT - WindowBeforeDoubleClick & WindowBeforeRightClick don't work

D

David Thielen

Hi;

The events I set up as follows don't work:

Microsoft.Office.Interop.PowerPoint.EApplication_Event aee =
powerPointApp;
aee.WindowBeforeDoubleClick += Event_pptWindowBeforeDoubleClick;
aee.WindowBeforeRightClick += Event_pptWindowBeforeRightClick;

but these do:
aee.NewPresentation += Event_NewPresentation;
aee.PresentationOpen += Event_PresentationOpen;
aee.WindowActivate += Event_pptWindowActivate;

What do I need to do to get an event on a right click and double
click?

thanks - dave

david@[email protected]
Windward Reports -- http://www.WindwardReports.com
me -- http://dave.thielen.com

Cubicle Wars - http://www.windwardreports.com/film.htm
 
J

\Ji Zhou [MSFT]\

Hello Dave,

These two events WindowBeforeDoubleClick and WindowBeforeRightClick does
fire in my side. But the firing scenario is not as expected by us and
described by the document.

1.WindowBeforeRightClick fires when we right click on a slide, but not on
the shapes in that slide. This behavior is not consistent with the
PowerPoint 2003 and it is already logged in the internal bug database.
Thanks for your feedback again.

2.WindowBeforeDoubleClick fires only when we double click on the slide in
the slide sorter view. I am reporting this one internally.

Could you please let me know what objective you want to achieve by
listening these two events? Can we use the other events like the
WindowSelectionChange instead in our specific scenario? See some
discussions here,
http://www.eggheadcafe.com/software/aspnet/29622159/windowbeforedoubleclick-
e.aspx

Have a good day!

Best regards,
Ji Zhou ([email protected], remove 'online.')
Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subscriptions/aa948868.aspx#notifications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://support.microsoft.com/select/default.aspx?target=assistance&ln=en-us.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
D

David Thielen

We use right click to add to the RMB menu as we want to have 3 more
items in it.

We use double click to bring up our tag editor if the user double
clicks on a tag in the slide.

thanks - dave


Hello Dave,

These two events WindowBeforeDoubleClick and WindowBeforeRightClick does
fire in my side. But the firing scenario is not as expected by us and
described by the document.

1.WindowBeforeRightClick fires when we right click on a slide, but not on
the shapes in that slide. This behavior is not consistent with the
PowerPoint 2003 and it is already logged in the internal bug database.
Thanks for your feedback again.

2.WindowBeforeDoubleClick fires only when we double click on the slide in
the slide sorter view. I am reporting this one internally.

Could you please let me know what objective you want to achieve by
listening these two events? Can we use the other events like the
WindowSelectionChange instead in our specific scenario? See some
discussions here,
http://www.eggheadcafe.com/software/aspnet/29622159/windowbeforedoubleclick-
e.aspx

Have a good day!

Best regards,
Ji Zhou ([email protected], remove 'online.')
Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subscriptions/aa948868.aspx#notifications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://support.microsoft.com/select/default.aspx?target=assistance&ln=en-us.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.


david@[email protected]
Windward Reports -- http://www.WindwardReports.com
me -- http://dave.thielen.com

Cubicle Wars - http://www.windwardreports.com/film.htm
 
J

\Ji Zhou [MSFT]\

Hello Dave,

I intend to help and try to write some codes which register the
CommandBars.OnUpdate event. In the event handle, I try to find a context
menu command bar and want to add a button on it. But this approach is also
blocked. After some research on the net. I find the following msdn blog
article
http://blogs.msdn.com/acoat/archive/2008/05/16/unable-to-customise-context-m
enus-in-powerpoint-2007.aspx that describes the same requirement. As it
indicates, for the following three reasons, adding item to PowerPoint
context menu in 2007 version is not supported.

1. The sheer scope of designing and adding the right-click menu
customization feature and full legacy functionality exceeds the risk
capacity for post-release changes. Design changes of this scope typically
require a full product cycle in order to ensure end-to-end quality.

2. Office 2007 has a new object rendering engine, which could cause
inconsistencies if the submenu feature were implemented. A new solution
would have to handle all changes between the two code bases.

3. PowerPoint 2007 does not provide the same high-fidelity representation
of legacy Main Menu functionality that was available in PowerPoint 2003.
The layout of the controls in the Ribbon's Add-ins Tab is sub-optimal with
a highly complex add-in such as yours. To fully maximize the end-user
experience, the add-In would need to be upgraded to fully utilize the
Ribbon UI, as part of moving to Office 2007.

Thus, may I suggest to move the WindowBeforeRightClick and
WindowBeforeDoubleClick logic to the Office Ribbon? We can let the end user
achieve the same objective via the Ribbon UI. What do you think about it?


Best regards,
Ji Zhou ([email protected], remove 'online.')
Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).

This posting is provided "AS IS" with no warranties, and confers no rights.
 
C

Cindy M.

Hi Ji,
Thus, may I suggest to move the WindowBeforeRightClick and
WindowBeforeDoubleClick logic to the Office Ribbon? We can let the end user
achieve the same objective via the Ribbon UI. What do you think about it?
I hope you don't mind my commenting on this, as it's a basic design question
for *all* Office applications and something the team responsible for the
Office UI needs to (re-)consider.

I consider this inadequate, for the following reasons
- the Ribbon is often quite far away from where the user is working.
Having to run up the screen with the mouse for every action is distracting and
also a waste of time and energy

- many users (and I include my husband, who is a "computer dunce", in the
collection) rely on the right-click menus to provide the commands appropriate
to the current context. They don't know where to find (which menu/Ribbon tab)
the commands and don't want to be bothered with searching for them.

- If I needed a right-click menu in my app (for the above-stated reasons)
and couldn't have it, I'd be more inclined to consider a (floating) CTP than
using the Ribbon.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :)
 
D

David Thielen

Cindy - very well said - I agree 101%.

WTS, we do have the functionality in the Ribbon too and it looks like
we will have to live with that.

thanks - dave


Hi Ji,

I hope you don't mind my commenting on this, as it's a basic design question
for *all* Office applications and something the team responsible for the
Office UI needs to (re-)consider.

I consider this inadequate, for the following reasons
- the Ribbon is often quite far away from where the user is working.
Having to run up the screen with the mouse for every action is distracting and
also a waste of time and energy

- many users (and I include my husband, who is a "computer dunce", in the
collection) rely on the right-click menus to provide the commands appropriate
to the current context. They don't know where to find (which menu/Ribbon tab)
the commands and don't want to be bothered with searching for them.

- If I needed a right-click menu in my app (for the above-stated reasons)
and couldn't have it, I'd be more inclined to consider a (floating) CTP than
using the Ribbon.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :)


david@[email protected]
Windward Reports -- http://www.WindwardReports.com
me -- http://dave.thielen.com

Cubicle Wars - http://www.windwardreports.com/film.htm
 
C

Cindy M.

Hi David,
WTS, we do have the functionality in the Ribbon too and it looks like
we will have to live with that
Personally, I hoping that access to the right-click will be
expanded/reintroduced in the next version. And I hope assignment of
keyboard shortcuts to commands "outside" embedded VBA projects will
once become possible.

Yeah, I know, wish away... But Christmas IS just around the corner <g>

Cindy Meister
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top