comparison win/dw.c @ 337:e9a424e641ff

Some pointer changes.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Thu, 10 Apr 2003 12:33:29 +0000
parents a2f72b5d5d0a
children 4482dd0bb87d
comparison
equal deleted inserted replaced
336:a2f72b5d5d0a 337:e9a424e641ff
3519 * handle: Handle to widget for which to change. 3519 * handle: Handle to widget for which to change.
3520 * cursortype: ID of the pointer you want. 3520 * cursortype: ID of the pointer you want.
3521 */ 3521 */
3522 void API dw_window_pointer(HWND handle, int pointertype) 3522 void API dw_window_pointer(HWND handle, int pointertype)
3523 { 3523 {
3524 SetCursor(LoadCursor(NULL, MAKEINTRESOURCE(pointertype))); 3524 SetCursor(pointer < 65536 ? LoadCursor(NULL, MAKEINTRESOURCE(pointertype)) (HCURSOR)pointertype);
3525 } 3525 }
3526 3526
3527 /* 3527 /*
3528 * Create a new Window Frame. 3528 * Create a new Window Frame.
3529 * Parameters: 3529 * Parameters: