Solved

change cursor?

Posted on 2001-09-13
2
218 Views
Last Modified: 2010-04-02
Hi,

I used SetCursor(LoadCursor(NULL, IDC_WAIT)) to change my cursor and like what it says in MSDN: "If your application must set the cursor while it is in a window, make sure the class cursor for the specified window's class is set to NULL. If the class cursor is not NULL, the system restores the class cursor each time the mouse is moved. "  But how can I set the window's class cursor to NULL?  Can anyone give me a hint?  Thanks.

shanejin
0
Comment
Question by:shanejin
2 Comments
 
LVL 86

Accepted Solution

by:
jkr earned 50 total points
ID: 6479747
See http://support.microsoft.com/support/kb/articles/Q31/7/47.ASP ('INFO: Changing the Mouse Cursor for a Window')

If you're using MFC, http://support.microsoft.com/support/kb/articles/Q131/9/91.asp ('HOWTO: Change the Mouse Pointer for a Window in MFC') might be of interest
0
 

Author Comment

by:shanejin
ID: 6479789
Thank you very much, jkr.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
Introduction This article is a continuation of the C/C++ Visual Studio Express debugger series. Part 1 provided a quick start guide in using the debugger. Part 2 focused on additional topics in breakpoints. As your assignments become a little more …
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

685 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