Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
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
♦