|
-
Mar 16th, 2013, 05:32 PM
#1
Thread Starter
PowerPoster
[RESOLVED] Trying to get custom mouse cursor to load when the mouse is over a picture box?
Hello everyone! I am working on a simple tool to help draw the computer, so when I teach students I can use these touch screen computers they have now. So the students can see my mouse cursor easier, I would like to use a custom one that looks like a big pencil.
I can get the pencil to show up when I am on the form itself, but when I go over the picturebox to draw, it just gives me the default windows one.
I am using mouse down, and mouse move to "Draw", and this code to try to load the mouse cursor for the mouse move event, but still no change.
Picture1.MousePointer = LoadCursorFromFileW(StrPtr(App.Path & "\Pencil.cur"))
Has anyone else run across this problem? Can a picture box have a custom mouse over it? Thanks!
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
|