How can I get the mouse as an Hour glass when it is positioned over the client area during the runni

G

George Hester

The Sub in ThisOutlookSession is the Item_Add module. When a new email is receied the Item_Add goes into action. If the Client (Outlook 2002) is visible on the desktop and the mouse is positioned over that window I would like the mouse pointer to change to an Hour glass indicating something is running. What could I put in the Item_Add Sub to cause this and have it go back to a pointer when the Sub has finished? Thanks.

Windows 2000 Professional SP4 Internet Explorer 6 SP1 Microsoft Office XP SP2.
 
K

Ken Slovak - [MVP - Outlook]

The only way in VBA is to use Windows hooks to get the mouse move and
other mouse events, find out where the mouse is hovering and if its
where you want using Win32 API calls to change the mouse cursor. VBA
forms and code don't have the equivalent of a VB Form's Mouse
property.




The Sub in ThisOutlookSession is the Item_Add module. When a new
email is receied the Item_Add goes into action. If the Client
(Outlook 2002) is visible on the desktop and the mouse is positioned
over that window I would like the mouse pointer to change to an Hour
glass indicating something is running. What could I put in the
Item_Add Sub to cause this and have it go back to a pointer when the
Sub has finished? Thanks.

Windows 2000 Professional SP4 Internet Explorer 6 SP1 Microsoft Office
XP SP2.
 

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