Mouse stops responding after error handler

G

Greg Quick

A word document is ceasing to respond to mouse commands after an error
handler displays a msgbox. Cursor commands and keyboard still work in
the document. The mouse still works on toolbars and menus but not the
scroll bars. Very strange. Happens regurly with this template.

Only fix is to restart word.

Rebuilt the template with no change.
Started word with the /a switch, no change.
Ran WORD detect and repair with no change.

Have the members of this forum observed this behavior before?

Configuration:
XP with service pack 2
Word 2003

TIA

Greg

Code for the error handler shown below.
 
S

Shauna Kelly

Hi Greg

I've certainly experienced code that caused the mouse to stop operating so
that it was no longer possible to click within the document and/or to use
the scroll bars.

The only solution I've ever found is to test the code and identify the line
of code that is causing the problem. In your own case, that will include
investigating the routines that your code is calling.

Hope this helps.

Shauna Kelly. Microsoft MVP.
http://www.shaunakelly.com/word
 
G

Greg Quick

Shauna said:
Hi Greg

I've certainly experienced code that caused the mouse to stop operating so
that it was no longer possible to click within the document and/or to use
the scroll bars.

The only solution I've ever found is to test the code and identify the line
of code that is causing the problem. In your own case, that will include
investigating the routines that your code is calling.

Hope this helps.

Shauna Kelly. Microsoft MVP.
http://www.shaunakelly.com/word
The problem was an attempt to read a custom property in the attached
template was making the document unstable.

Thank you for your efforts.
 

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