Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

change cursor?

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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
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.

704 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