W
Wes
I am programmatically opening a stencil in a shapes window in a visio drawing
control at run time. This shapes window's state is visWSDockedBottom. That
works fine, but unfortunately everytime I open the stencil window at run
time, it obscures half of the drawing section of the visio component.
Is there any way that I can programmatically resize or make the shapes
window shrink to fit the stencil it contains at run time?
I can get a handle to the shapes window in code, but trying to use the
SetWindowRect method has no effect. I would really appreciate if someone
could help me out on this one, as it is something that has been bugging me
for months.
Thanks in advance
control at run time. This shapes window's state is visWSDockedBottom. That
works fine, but unfortunately everytime I open the stencil window at run
time, it obscures half of the drawing section of the visio component.
Is there any way that I can programmatically resize or make the shapes
window shrink to fit the stencil it contains at run time?
I can get a handle to the shapes window in code, but trying to use the
SetWindowRect method has no effect. I would really appreciate if someone
could help me out on this one, as it is something that has been bugging me
for months.
Thanks in advance