How to Change the Mouse Pointer to an Hourglass

ID: Q97064

2.50 2.50a WINDOWS kbinterop kbui

The information in this article applies to:

SUMMARY

Changing the mouse pointer to an hourglass requires the use of Windows application programming interface (API) calls. You cannot control the pointer's shape using FoxPro commands. The HOURGLAS.PRG program (located in the GOODIES\FOXTOOLS directory) contains an example of how to use Windows API calls for this purpose. However, it is important to note that if the mouse is moved, FoxPro's event handler takes over and the pointer reverts to the default shape.

MORE INFORMATION

The HOURGLAS.PRG example does not permanently change the pointer's shape. Permanently changing the pointer's shape requires the use of other Windows API calls or third-party applications. For more information using Windows API calls to permanently change the pointer's shape, refer to the Microsoft Windows Software Development Kit (SDK).

REFERENCES

"Microsoft Windows Software Development Kit Programmer's Reference, Volume 2: Functions"

Additional reference words: FoxWin 2.50 2.50a cursor hour glass KBCategory: kbinterop kbui KBSubcategory: FxinteropGeneral

Keywords          : kbcode FxinteropGeneral 
Version           : 2.50 2.50a
Platform          : WINDOWS

Last Reviewed: May 22, 1998