please dont rip this site Prev Next

SetSystemCursor info  Overview  Group

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,
// then destroy this

    DWORD id

// system cursor specified by its identifier

   );

Parameters

hcur
Handle to a cursor. The function replaces the contents of the system cursor specified by id with the contents of the cursor handled by hcur. Then the function destroys hcur by calling DestroyCursor(hCursor).
id
A system cursor identifier. The function replaces the contents of this system cursor with the contents of the cursor handled by hcur.

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

Return Values

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.

See Also

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/11/26 17:34,
TOP NEW HELP FIND: 
3.149.253.73: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?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://ecomorder.com/techref/os/win/api/win32/func/src/f82_5.htm"> SetSystemCursor</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to ecomorder.com!

 

Welcome to ecomorder.com!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .