Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / May 2007

Tip: Looking for answers? Try searching our database.

Cursor is Black?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
gwoodhouse@gmail.com - 10 May 2007 14:00 GMT
Hello,

Im using VS 2005, ive created a cursor file, deleted all the "layers"
appart from 32x32 256 colors and added the image. I saved it and set
it to be embedded as a resource.

I use this line to call it:

this.Cursor = new Cursor(GetType(), "Pencil.cur");

But the cursor is a silloette of my image (seems to be displaying in
black/white). Why is this happening?

Thanks

Graeme
Nicholas Paldino [.NET/C# MVP] - 10 May 2007 15:35 GMT
Graeme,

   What platform are you running on?  It's probably because cursors don't
support that resolution/bits per pixel combination.

   You probably need something 16x16 and 256 colors (or even 16).

   Do you really need a cursor THAT big and with that many colors?

Signature

         - Nicholas Paldino [.NET/C# MVP]
         - mvp@spam.guard.caspershouse.com

> Hello,
>
[quoted text clipped - 12 lines]
>
> Graeme
gwoodhouse@gmail.com - 10 May 2007 16:55 GMT
I'm running on Windows XP.

I think the problem may be because im copy pasting from a 32bit source
and the editor in VS doesnt dampen the image down to the correct
color's.

Does anybody know any good (and free) programs that will allow me to
create .cur files?

Graeme

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.