-
Dec 5th, 2021, 09:56 AM
#1
Thread Starter
Addicted Member
How to resize the mouse pointer
Hello friends, I want to resize the mouse pointer
I did not find any code or examples
Please help in this regard
-
Dec 5th, 2021, 10:51 AM
#2
Hyperactive Member
Re: How to resize the mouse pointer
The easiest way is to create your own cursor, remember the old one, set your own, and when the program exits, restore the previous cursor.
Functions required:
Code:
Private Declare Function SetCursor Lib "user32" (ByVal hcursor As Long) As Long
Private Declare Function LoadCursor Lib "user32" Alias "LoadCursorA" (ByVal hInstance As Long, _
ByVal lpCursorName As Any) As Long
Private Declare Function LoadCursorFromFile Lib "user32" Alias "LoadCursorFromFileA" (ByVal lpFileName As String) As Integer
Last edited by Argus19; Dec 5th, 2021 at 11:03 AM.
-
Dec 5th, 2021, 11:11 AM
#3
Re: How to resize the mouse pointer
Out of interest why do you need to do this? Are you wanting to do this for Windows entirely or just your own application?
-
Dec 7th, 2021, 07:24 AM
#4
Re: How to resize the mouse pointer
Originally Posted by Mojtaba
I want to resize the mouse pointer
I'd like to know precisely what you mean by this.
-
Dec 7th, 2021, 09:17 AM
#5
Re: How to resize the mouse pointer
theres an option to change mouse point in your components settings. just look there!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|