P
Pete
Using the Visio Drawing Control, I need to know when the user closes a
floating window like the Shapes window or the Pan & Zoom window.
When the window is DOCKED, I get the event in
AxDrawingControl.ViewChanged, and can process it. But if the user has
detached the window so it is FLOATING, the ViewChanged event does not
fire when the floating window is closed by the user. Looking at the
Visio Event Monitor, I can see that an event "BeforeWindowClose" is
fired. However, the Visio Drawing Control only has an event
"BeforeWindowClosed" (with a 'D' at the end), which does NOT get
called while a floating window is being closed. I don't know if they
are supposed to be separate events, or if there was a spelling error,
or what. But I have not found a way to detect when a floating window
is closed.
Has anyone encountered this, or if any of the Microsoft people are
checking on this, is there a work-around?
Thanks,
Pete
floating window like the Shapes window or the Pan & Zoom window.
When the window is DOCKED, I get the event in
AxDrawingControl.ViewChanged, and can process it. But if the user has
detached the window so it is FLOATING, the ViewChanged event does not
fire when the floating window is closed by the user. Looking at the
Visio Event Monitor, I can see that an event "BeforeWindowClose" is
fired. However, the Visio Drawing Control only has an event
"BeforeWindowClosed" (with a 'D' at the end), which does NOT get
called while a floating window is being closed. I don't know if they
are supposed to be separate events, or if there was a spelling error,
or what. But I have not found a way to detect when a floating window
is closed.
Has anyone encountered this, or if any of the Microsoft people are
checking on this, is there a work-around?
Thanks,
Pete