D
Darwin
I think I'm having a problem with the "SlideShowBegin" event.
I am writing a PowerPoint COM AddIn using C# and when I trap the
"SlideShowBegin" event it is firing fine when a single file is open and I go
into "Slide Show" (F5) mode. No problem -- I am able to perform a test and
perform several initializations.
So here' the problem I'm having: If there are multiple ".ppt" files open,
when I go into "Slide Show" mode, the "SlideShowBegin" event (and therefore
my C# event handler method) is being called multiple times. Not good! (I
think it's called once per open ".ppt" file, but I haven't carefully tested
this to make sure).
Is this expected or correct behavior? Or could I be initializing something
incorrectly? Also, is there a better way to initialize something at the
beginning of every Slide Show?
Perhaps I could add some sort of flag to my "SlideShowBegin" event handler
method so that body of this method is only executed once. Then I would reset
it when the "SlideShowEnd" event is fired. However, this really seems like a
unnecessary hack.
Thank you in advance for your assistance with this most frustrating and
nagging problem I've been having.
I am writing a PowerPoint COM AddIn using C# and when I trap the
"SlideShowBegin" event it is firing fine when a single file is open and I go
into "Slide Show" (F5) mode. No problem -- I am able to perform a test and
perform several initializations.
So here' the problem I'm having: If there are multiple ".ppt" files open,
when I go into "Slide Show" mode, the "SlideShowBegin" event (and therefore
my C# event handler method) is being called multiple times. Not good! (I
think it's called once per open ".ppt" file, but I haven't carefully tested
this to make sure).
Is this expected or correct behavior? Or could I be initializing something
incorrectly? Also, is there a better way to initialize something at the
beginning of every Slide Show?
Perhaps I could add some sort of flag to my "SlideShowBegin" event handler
method so that body of this method is only executed once. Then I would reset
it when the "SlideShowEnd" event is fired. However, this really seems like a
unnecessary hack.
Thank you in advance for your assistance with this most frustrating and
nagging problem I've been having.