Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

changing class cursor for a CDialog ??

Status
Not open for further replies.

iza

Programmer
Apr 4, 2000
1,804
FR
i'm sure it's an easy question, but i can't figure how to do it ..
in the msdn doc, it is written "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."
and i must set the cursor while it's in the window ...and i don't know how to set the class cursor for the window to NULL.
My window is an instance of a class derived from CDialog.
i've tried SetCursor(NULL); in the constructor of the class, but it's doing nothing ...
where could i set that class cursor ? can someone help please ?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top