win12.hlp (Table of Contents; Topic list)
WinDestroyCursor (1.2)
Function Group  Overview                          Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_WINCURSORS
 
BOOL WinDestroyCursor(hwnd)
HWND hwnd;    /* handle of the window */
 
The WinDestroyCursor function erases and destroys the current cursor, if it
belongs to the specified window.
 
This function has no effect if the current cursor does not belong to the
specified window.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
hwnd       Identifies the window to which the cursor belongs.
 
Return Value
 
The return value is TRUE if the function is successful or FALSE if an error
occurs.
 
Comments
 
It is not necessary to call the WinDestroyCursor function before calling the
WinCreateCursor function, as the WinCreateCursor function will automatically
destroy any existing cursor.
 
See Also
 
WinCreateCursor, WinQueryCursorInfo, WinShowCursor, WinDestroyAccelTable,
WinDestroyAtomTable, WinDestroyHeap, WinDestroyMsgQueue, WinDestroyPointer,
WinDestroyWindow