The SetSystemCursor function replaces the contents of the system cursor specified by id with the contents of the cursor specified by hcur, and then destroys hcur. This function lets an application customize the system cursors.
BOOL SetSystemCursor (
HCURSOR hcur, |
// set specified system cursor to this cursor’s contents, |
DWORD id |
// system cursor specified by its identifier |
); |
Following is a list of system cursor identifiers:
Value |
Description |
OCR_NORMAL |
normal arrow cursor |
OCR_IBEAM |
I-beam cursor |
OCR_WAIT |
larger hourglass cursor |
OCR_CROSS |
crosshair cursor |
OCR_UP |
up arrow cursor |
OCR_SIZE |
size cursor |
OCR_ICON |
icon cursor |
OCR_SIZENWSE |
NW to SE sizing cursor |
OCR_SIZENESW |
NE to SW sizing cursor |
OCR_SIZEWE |
horizontal sizing cursor |
OCR_SIZENS |
vertical sizing cursor |
OCR_SIZEALL |
horizontal and vertical sizing cursor |
OCR_SIZENO |
international no symbol cursor |
OCR_APPSTARTING |
smaller hourglass with arrow cursor |
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastError.
DestroyCursor, LoadCursor, LoadCursorFromFile, SetCursor
file: /Techref/os/win/api/win32/func/src/f82_5.htm, 5KB, , updated: 2001/6/24 06:00, local time: 2024/12/23 15:11,
18.222.67.8:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://massmind.ecomorder.com/Techref/os/win/api/win32/func/src/f82_5.htm"> SetSystemCursor</A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
Welcome to massmind.ecomorder.com! |
.