Hello,
How do I set the Mouse Cursor (AKA Pointer) to and Hourglass and then back to the Default again?
Thanks,
Michael
Mouse Cursor
Moderator: Rathinagiri
- srvet_claudio
- Posts: 2193
- Joined: Thu Feb 25, 2010 8:43 pm
- Location: Uruguay
- Contact:
Re: Mouse Cursor
See:melliott42 wrote:Hello,
How do I set the Mouse Cursor (AKA Pointer) to and Hourglass and then back to the Default again?
Thanks,
Michael
Code: Select all
SetWindowCursor (Form_1.HANDLE, IDC_HAND)
SetWindowCursor (Form_1.Control_1.HANDLE, IDC_HAND)
Code: Select all
// System Cursor ID
#define IDC_ARROW (32512)
#define IDC_IBEAM (32513)
#define IDC_WAIT (32514)
#define IDC_CROSS (32515)
#define IDC_UPARROW (32516)
#define IDC_SIZENWSE (32642)
#define IDC_SIZENESW (32643)
#define IDC_SIZEWE (32644)
#define IDC_SIZENS (32645)
#define IDC_SIZEALL (32646)
#define IDC_NO (32648)
#define IDC_HAND (32649)
#define IDC_APPSTARTING (32650)
#define IDC_HELP (32651)
#define IDC_ICON (32641)
#define IDC_SIZE (32640)
-
- Posts: 119
- Joined: Wed Feb 18, 2009 2:14 pm
Re: Mouse Cursor
srvet_claudio perfect.
Thanks!
Thanks!