Solved

Hand cursor

Posted on 2000-04-10
3
945 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
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.
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

734 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