Board index » delphi » Mouse Cursor Size

Mouse Cursor Size


2003-11-07 09:48:08 PM
delphi265
Hi,
is it possible to obtain the width and height of the current mouse cursor?
Thanks,
Fabian
 
 

Re:Mouse Cursor Size

"Fabian Ottjes" <XXXX@XXXXX.COM>writes
3faba29e$XXXX@XXXXX.COM...
Quote
is it possible to obtain the width and height of the current mouse cursor?
All cursors have a maximum size of 32x32, but if you need the size of the
visible cursor image then you will need to use GetIconInfo and find the size
of the visible parts of the cursor and mask bitmaps.
Cheers,
Ignacio
--
The strange part isn't so much that he had an accent. No accent was
detectable. It was just sounds and burbs and gurgles coming from him. He
was a like a chubby, old R2-D2.
- La Üter
 

Re:Mouse Cursor Size

"Ignacio Vazquez" writes:
Quote
>is it possible to obtain the width and height of the current mouse
cursor?

All cursors have a maximum size of 32x32, but if you need the size of the
visible cursor image then you will need to use GetIconInfo and find the size
of the visible parts of the cursor and mask bitmaps.
Thanks, that helped.
Fabian