V
vojo
trying to show/hide shapes window reliably.
Visio.application.docmd (1669) does NOT work reliably
Works about 70%....hides 7 out of time times...always shows on return...
same drawing. I do realize it toggles the show/hide with every call
(10 times means 10 hides...do soemthing...10 shows).
Is there some modal orderness here with other commands like
showtoolbars or showstatus.
I tried adding doevents, updateUI, pause for 5 seconds....all in case it needs
time to work through the shapes hide.
Note I did try windowstate/UIobject approachs...different behavior (floating
window) but could not make shapewindow dissappear at all (0%).
What I am looking for is a VBA "hammer" hide this window reliably!!!!!
The showtoolbars and showstatus work 100% of the time.
VBA doc on shapes window is poor in this area.
(why have a command called openstencilwindow and not have a command
closestencilwindow)
Any all help appreciated.
Visio.application.docmd (1669) does NOT work reliably
Works about 70%....hides 7 out of time times...always shows on return...
same drawing. I do realize it toggles the show/hide with every call
(10 times means 10 hides...do soemthing...10 shows).
Is there some modal orderness here with other commands like
showtoolbars or showstatus.
I tried adding doevents, updateUI, pause for 5 seconds....all in case it needs
time to work through the shapes hide.
Note I did try windowstate/UIobject approachs...different behavior (floating
window) but could not make shapewindow dissappear at all (0%).
What I am looking for is a VBA "hammer" hide this window reliably!!!!!
The showtoolbars and showstatus work 100% of the time.
VBA doc on shapes window is poor in this area.
(why have a command called openstencilwindow and not have a command
closestencilwindow)
Any all help appreciated.