Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

change cursor?

Posted on 2001-09-13
2
Medium Priority
?
225 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 200 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

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

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

Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
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…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
Suggested Courses

916 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