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
Solved

change cursor?

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
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 additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

856 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