This page has been archived and is no longer  being actively maintained.
Outlook Developer Home
Outlook Programmer's Library
 
Outlook Technologies
Outlook Forms
Languages
Samples
Other Technologies

 

TIP: To change the mouse pointer from Outlook form code

Like BackColor, MousePointer is a property of the specific form page that you're displaying. If you want to incorporate a mouse pointer change into what happens when the user clicks a command button on a custom page named P.2, the code would look something like this:

If you have multiple pages on your form, you may want to set the pointer for all pages, in case the user clicks on a different page. Of course, this only works for customized pages, not for the built-in pages.

This

  Back to Top

Notes

This technique may have worked in early versions of Outlook, but apparently does not work in Outlook 2002 or 2003.

To change the pointer for any given control on an Outlook form, you can use the Advanced Properties dialog for the control to set the MousePointer property to set the pointer to any of the 15 built-in pointers or to 99 - Custom. If you choose 99 - Custom, you will also need to set the MouseIcon property to your icon or cursor file. (Look in c:\windows\cursors for starters for available mouse pointers.) You can also set both properties programmatically, which might be a good solution if you can't be certain that all users will have the icon or cursor file in the same place.

  Back to Top

More Information

 
   
© 2002-6 TurtleFlock, LLC
All right reserved.
About OutlookCode.com

Send comments to webmaster@outlookcode.com

Designed and Implemented by TerraLink USA 

FrontPage Integration
by RobsonDesignWorks

 
 
get Sue's code | forums | share your own code | registration