I would like to add a custom made mouse pointer to my powershell form.
Can anyone tell me if this is possible, en maybe how?
Add a custom mousepointer (*.cur)
Forum rules
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
- mxtrinidad
- Posts: 399
- Last visit: Tue May 16, 2023 6:52 am
Re: Add a custom mousepointer (*.cur)
Sounds like a very nice feature to include in our PowerShell Studio product.
Please, feel free to add your request in our "Feature Request" area and we'll take a look at it.
https://www.sapien.com/requests
Please, feel free to add your request in our "Feature Request" area and we'll take a look at it.
https://www.sapien.com/requests
Re: Add a custom mousepointer (*.cur)
You can do this via your script:
Code: Select all
$form1.Cursor = New-Object System.Windows.Forms.Cursor -ArgumentList 'Path to cursor'
David
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
Re: Add a custom mousepointer (*.cur)
Here is a good explanation of how to manage cursors in Net Forms
https://www.c-sharpcorner.com/UploadFil ... n-C-Sharp/
https://www.c-sharpcorner.com/UploadFil ... n-C-Sharp/