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 / .NET Framework / New Users / July 2007

Tip: Looking for answers? Try searching our database.

Embed a cursor

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Steven Edison - 02 Jul 2007 15:01 GMT
I have a managed C++ form app.
I'm trying to change to a custom cursor when a tool is
selected from a toolbar button.  I've seen MANY references
that say to add the custom cursor in Solution
Explorer, then right-click and select properties, then
change "Build Action" to "Embedded Resource".

I existing cursors I wanted to use, so I copied them
to my project folder, within Solution Explorer I added
existing items.  I now have "closehand.cur" and "openhand.cur"
in my solution under Resource Files.  If I go to the properties
of these cursors I have:

-Misc
 (Name)                   |  closehand.cur
 Content                   |  False
 File Type                 | Cursor
 Full Path                  |  (path here...)
 Included In Project  |  True
 Relative Path           |  .\closehand.cur

No "Build Actions".

I'm using VS2005.  I'm kinda stumped what I've done
wrong.  Even if I add a new cursor I have the same
properties.

Thanks,

Steven
Steven Edison - 02 Jul 2007 15:19 GMT
I performed this same action in a C# app, and it did have
"Build Actions".  So what next for a C++ app?

Steven

>I have a managed C++ form app.
> I'm trying to change to a custom cursor when a tool is
[quoted text clipped - 26 lines]
>
> Steven
Steven Edison - 02 Jul 2007 15:27 GMT
I found the solution online after many searches:

http://support.microsoft.com/kb/816181

>I performed this same action in a C# app, and it did have
> "Build Actions".  So what next for a C++ app?
[quoted text clipped - 31 lines]
>>
>> Steven

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.