Solved

Hand cursor

Posted on 2000-04-10
3
946 Views
Last Modified: 2013-11-20
Is there any hand cursors that I can display in my MFC app?
0
Comment
Question by:davidmorand
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 

Expert Comment

by:bertp
ID: 2701729
well there used to be...  A coworker once told me that ms got rid of the hand icon because mischievous developers
would whip out their resource editors and erase half of each finger but leave the middle one whole ;-)

If you need one (whole hand intact), there are many free icon libs on the web!
0
 
LVL 3

Expert Comment

by:akalmani
ID: 2702748
Hi !!
         If u want icons search in www.iconbazaar.com
0
 
LVL 5

Accepted Solution

by:
proskig earned 25 total points
ID: 2703055
You can use the following code to load hand cursor
CString strWndDir;
GetWindowsDirectory(strWndDir.GetBuffer(MAX_PATH), MAX_PATH);
strWndDir.ReleaseBuffer();

strWndDir += _T("\\winhlp32.exe");
// This retrieves cursor #106 from winhlp32.exe, which is a hand pointer
HMODULE hModule = LoadLibrary(strWndDir);
if (hModule) {
    HCURSOR hHandCursor = ::LoadCursor(hModule, MAKEINTRESOURCE(106));
    if (hHandCursor)
        m_hLinkCursor = CopyCursor(hHandCursor);
}
FreeLibrary(hModule);

0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

630 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question