Solved

change cursor?

Posted on 2001-09-13
2
220 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
[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
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

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

623 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