Link to home
Start Free TrialLog in
Avatar of bradsoblesky
bradsoblesky

asked on

resource files and cursors

Ok, you will never get this one. If I put a cursor in a resource file and then call it to be the cursor for that form it works fine and everything untill I press down the left mouse button and hold it then it blinks and you can hardly see it. Note: If I call the cursor from the regular location, Ex. form1.mouseicon = C:\windows\cursor\Pen.cur, then it works fine. Also this is after the program is made into a .exe, if it is run from VB it works. I want the cursor in the resource file though. How can I get it to work right?  Note2: This is in Visual Basic 6.0 with Win98 and plenty of memory and all that good stuff.
Avatar of bradsoblesky
bradsoblesky

ASKER

Adjusted points to 30
Adjusted points to 35
Why do you want the cursor in a resource file?
Because that way I don't have to distribute it with the program and It could be edited or deleted.

What code are you using now to load the cursor from the Resource file?
Form1.Mouseicon = loadrespicture (101, 1)
ASKER CERTIFIED SOLUTION
Avatar of chrisbolt
chrisbolt

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Wierd but it worked. Thanks