Forcing Visio to repaint the screen

A

Andy

I'm still intermittently getting a problem with Visio 2003 not
correctly redrawing the screen and sometimes drawing part of a shape in
the wrong position.

These have been discussed on here before and a partial solution was
using the Ctrl-Alt-G key combination to force Visio to redraw the
screen which corrected the problems.

Is there a method that can be called from VBA to force this repaint, if
so I will set a timer and force a periodic refresh until these problems
have been resolved.

Thanks, Andy
 
A

Andy

Using sendkeys for ctrl-alt-g does not appear to cause anything to
happen. Is there a visio method i can call to force a refresh/repaint.
 
J

JuneTheSecond

Sendkey acts to the active window. If active window is a module window of VBA
editor, sendkey is going to act the module wiindow. So, would you please run
macro with the menu of the dtrawing window.
 
A

Andy

JuneTheSecond said:
Sendkey acts to the active window. If active window is a module window of VBA
editor, sendkey is going to act the module wiindow. So, would you please run
macro with the menu of the dtrawing window.
This still doesn't work for me. If I print the active window caption,
then it is my diagram window. If I tun the macro from the diagram it
still does not cause a refresh.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top