Solved

Hand cursor

Posted on 2000-04-10
3
934 Views
Last Modified: 2013-11-20
Is there any hand cursors that I can display in my MFC app?
0
Comment
Question by:davidmorand
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 Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
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.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

758 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now