Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / June 2007

Tip: Looking for answers? Try searching our database.

WindowSelectionChange cursor flicker

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
john - 29 Jun 2007 17:50 GMT
I have added a WindowSelectionChange event handler in Office 2007, and
noticed that when I use the arrow keys, the mouse cursor will flicker. In
other words, the cursor will alternate from the wait cursor to the I-Beam
cursor when I hold down one of the arrow keys.

I found this happens even if I have an empty WindowSelectionChange subroutine.

Any ideas on why this happens or what can be done about it?
Russ - 30 Jun 2007 03:33 GMT
> I have added a WindowSelectionChange event handler in Office 2007, and
> noticed that when I use the arrow keys, the mouse cursor will flicker. In
[quoted text clipped - 4 lines]
>
> Any ideas on why this happens or what can be done about it?

Even an empty WindowSelectionChange subroutine is telling MSWindows to watch
for that event. Delete the whole WindowSelectionChange subroutine to get
back to normal. A faster computer might make things less noticeable.

Signature

Russ

drsmN0SPAMikleAThotmailD0Tcom.INVALID

Russ - 30 Jun 2007 05:45 GMT
Another thing you can try is put the command DoEvents in your empty
WindowSelectionChange subroutine. DoEvents allows MsWindows Operating System
to take care of tasks that are queued for execution before returning to the
VBA subroutine. Please report whether that helped.

>> I have added a WindowSelectionChange event handler in Office 2007, and
>> noticed that when I use the arrow keys, the mouse cursor will flicker. In
[quoted text clipped - 9 lines]
> for that event. Delete the whole WindowSelectionChange subroutine to get
> back to normal. A faster computer might make things less noticeable.

Signature

Russ

drsmN0SPAMikleAThotmailD0Tcom.INVALID

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.