By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,665 Members | 1,229 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,665 IT Pros & Developers. It's quick & easy.

Custom Cursor

P: n/a
Sam
Hi All

Has anyone ever created a custom cursor that is bigger than 32x32 pixels? Is
it possible?

Regards,

Sam
Nov 21 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Hi,

Real simple example.

Dim bm As New Bitmap(64, 64)

Dim g As Graphics = Graphics.FromImage(bm)

g.Clear(Color.Transparent)

g.DrawEllipse(Pens.Red, 0, 0, 64, 64)

g.Dispose()

Dim cur As New Cursor(bm.GetHicon)

Me.Cursor = cur

Ken

--------------------

"Sam" <qd*@datawave.ca> wrote in message
news:eh**************@TK2MSFTNGP09.phx.gbl...
Hi All

Has anyone ever created a custom cursor that is bigger than 32x32 pixels? Is
it possible?

Regards,

Sam

Nov 21 '05 #2

P: n/a
"Sam" <qd*@datawave.ca> schrieb:
Has anyone ever created a custom cursor that is bigger than 32x32 pixels?
Is it possible?


You can create a cursor file which is larger than 32 32 pixels with VS.NET
("File" -> "New" -> "File..." -> "General" -> "Cursor", then right-click the
left panel and choose "Add image type..." from the context menu.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #3

P: n/a
Sam
I followed your suggestions and I got my cursor set at 48x48. I did not know
that I could have my cursor greater than 32x32. This is awesome. Thanks guys

Regards,

Sam
"Sam" <qd*@datawave.ca> wrote in message
news:eh**************@TK2MSFTNGP09.phx.gbl...
Hi All

Has anyone ever created a custom cursor that is bigger than 32x32 pixels?
Is it possible?

Regards,

Sam

Nov 21 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.