|
-
Jan 9th, 2003, 10:30 AM
#1
Thread Starter
Hyperactive Member
Why r the cursors not displayed properly? look in for details
Hello every1,
I have a UserControl, I have to use custom cursors on it. I have some 3D style cursors with some embossed effects. Mind u, these cursors r in 16 bit color(or 256 i dont know but they r colored). In the mouseMove event i have set the cursor properties like
Usercontrol.MousePointer=99 'For custom cursors
and another statement to set the cursor(i dont remember the command, i think its MouseIcon)
It works and the cursor r displayed but they r not the same cursors. I mean the color is gone and they r displayed in full black. Why is this happening. Can any1 help plz.
If Not VB Then Exit
------------------------------------------------
visit me @ http://mzubair.50g.com/
-
Jan 9th, 2003, 11:00 AM
#2
Frenzied Member
Vb doesn't seem to handle cursors that have more than 2 colors (black and white), you must either run into a lot of trouble doing it with the windows API, or forget about that idea 
Unless it's very important for your program, you shouldn't use colored cursors,
-
Jan 9th, 2003, 11:13 AM
#3
Or you can use DX to do it...if that will help you...
-
Jan 9th, 2003, 05:47 PM
#4
-
Jan 10th, 2003, 04:12 PM
#5
Good Ol' Platypus
For this task I would suggest looking through the Microsoft Developer Network (MSDN). I did, and I found a topic which may be of relevance:
http://msdn.microsoft.com/archive/de...sdn_msdn42.asp
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
-
Jan 12th, 2003, 06:35 AM
#6
Addicted Member
Try saving the cursor as an icon, works fine over here.
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
|