How do I load and keep a NULL cursor? I'm using VC++6 and want to implement this for a non-scrnsave.lib screen saver. I can't seem to figure out how MS did it with the SAVER example.
Any ideas are greatly appreciated.
Thank you,
Marc
Printable View
How do I load and keep a NULL cursor? I'm using VC++6 and want to implement this for a non-scrnsave.lib screen saver. I can't seem to figure out how MS did it with the SAVER example.
Any ideas are greatly appreciated.
Thank you,
Marc
Try this:
SetClassLong(m_hWnd, GCL_HCURSOR, NULL);
It works in my window. Hope it works in your case too.
Thank you for the reply...this doesn't seem to work for me. Maybe I am using this in the wrong area of my program. Right now I have this under the InitInstance() func...is this wrong?
Thanks again,
Marc
You can load whatever cursor to the window class you register in th InitInstance(). But you need to SetClassLong(m_hWnd, GCL_HCURSOR, NULL) in the OnCreate() handler of the window after the window has been created.
Good luck