BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Mouse Cursor Size

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi VCL Components Writing
View previous topic :: View next topic  
Author Message
Fabian Ottjes
Guest





PostPosted: Fri Nov 07, 2003 1:48 pm    Post subject: Mouse Cursor Size Reply with quote



Hi,

is it possible to obtain the width and height of the current mouse cursor?

Thanks,
Fabian


Back to top
Ignacio Vazquez
Guest





PostPosted: Fri Nov 07, 2003 4:40 pm    Post subject: Re: Mouse Cursor Size Reply with quote



"Fabian Ottjes" <nospam (AT) nospam (DOT) com> wrote in message
3faba29e$1 (AT) newsgroups (DOT) borland.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'll 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



Back to top
Fabian Ottjes
Guest





PostPosted: Mon Nov 10, 2003 9:04 am    Post subject: Re: Mouse Cursor Size Reply with quote



"Ignacio Vazquez" wrote:

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'll need to use GetIconInfo and find the size
of the visible parts of the cursor and mask bitmaps.

Thanks, that helped.
Fabian



Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi VCL Components Writing All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.