Z
zippy
I want to get an event when the &File Popup Menu is accessed (top
left). At this point I will go in and get the Save &As... button and
hook up a sync. The reason I have to wait until the &File Popup Menu
is accessed is because Save &As... doesn't exist until &File is popped
up.
I have tried catching CommandBarsEvents::OnUpdate but it doesn't seem
to get called until after a button is selected or the popup
disappears. If this event did work, is there a way to query the
Explorer or CommandBars objects to know which Popup is active?
I have tried plugging into the CommandBarPopupPtr itself but it
doesn't have an IConnectionPointContainer interface.
I have tried using the Explorer to Execute the &File
CommandBarPopupPtr, get the Save &As... button and then attach my
sink, but I don't know how to make the Popup go away after I've done
my work.
I am pretty new to this stuff. I have searched the archives before
coming here to ask but did not find anything useful.
Thanks,
-zip
left). At this point I will go in and get the Save &As... button and
hook up a sync. The reason I have to wait until the &File Popup Menu
is accessed is because Save &As... doesn't exist until &File is popped
up.
I have tried catching CommandBarsEvents::OnUpdate but it doesn't seem
to get called until after a button is selected or the popup
disappears. If this event did work, is there a way to query the
Explorer or CommandBars objects to know which Popup is active?
I have tried plugging into the CommandBarPopupPtr itself but it
doesn't have an IConnectionPointContainer interface.
I have tried using the Explorer to Execute the &File
CommandBarPopupPtr, get the Save &As... button and then attach my
sink, but I don't know how to make the Popup go away after I've done
my work.
I am pretty new to this stuff. I have searched the archives before
coming here to ask but did not find anything useful.
Thanks,
-zip