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

  • Thread starter Thread starter George Hester
  • Start date Start date
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.
 
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.
 
Back
Top