A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Powerpoint, Publisher and Visio » Powerpoint
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Plugin events fire multiple times when multiple presentations are opened



 
 
Thread Tools Display Modes
  #1  
Old July 27th, 2006, 07:02 AM posted to microsoft.public.powerpoint
sandesh
external usenet poster
 
Posts: 1
Default Plugin events fire multiple times when multiple presentations are opened

Hello,

I am working on developing a powerpoint plugin. I have a plugin button
which on clicking, opens a form. When multiple windows are opened, the
button click event handler is added multiple times and multiple forms
are opened on the button click of any one of the presentation. Please
help me in resolving this issue. I need to fix this ASAP.

Thanks.

  #2  
Old July 27th, 2006, 08:36 PM posted to microsoft.public.powerpoint
Steve Rindsberg
external usenet poster
 
Posts: 9,366
Default Plugin events fire multiple times when multiple presentations are opened

In article .com, Sandesh
wrote:
Hello,

I am working on developing a powerpoint plugin. I have a plugin button
which on clicking, opens a form. When multiple windows are opened, the
button click event handler is added multiple times and multiple forms
are opened on the button click of any one of the presentation. Please
help me in resolving this issue. I need to fix this ASAP.


Sandesh,

Since you haven't posted the code that's causing problems, it's hard to suggest
anything useful other than "Find the part that doesn't do what you want it to.
Change it so it does." ;-)

Offhand, you may need to do something in your event handler to iterate the
windows collection each time the event triggers to determine whether the new
window contains a presentation that's already open in another window and skip
invoking the form if so.

-----------------------------------------
Steve Rindsberg, PPT MVP
PPT FAQ: www.pptfaq.com
PPTools: www.pptools.com
================================================


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PowerPoint should use multiple windows for multiple presentations Weglian Powerpoint 4 November 10th, 2006 02:43 PM
Phone call log, multiple fields for different times Philip Database Design 18 May 16th, 2006 01:27 AM
Multiple dates, times, or formulas in a single cell PM-S General Discussion 2 January 12th, 2006 04:19 AM
sorting multiple minimum times the swimmer General Discussion 2 December 23rd, 2005 02:32 AM
Hotmail emails from Outlook send multiple (multiple) times pullingouthair General Discussion 1 February 6th, 2005 03:07 PM


All times are GMT +1. The time now is 02:58 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.