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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to Display Colored Cursors

Status
Not open for further replies.

AliBa

Programmer
Feb 11, 2002
1
DE
Hi,

i have an OCX wich displays diferent cursors. My problem is that it only displays the momochrome version of my cursors. Each cursor is also aviable in 16 or 256 colors.

I use this code to display the cursors:

1: HCURSOR hCurs1 = LoadCursor(AfxGetApp()-> m_hInstance,MAKEINTRESOURCE(IDC_CURSOR10));
2: static HCURSOR hc = SetCursor(hCurs1);

Is there something I've forgoten?
 
Do you need to register the window before you can customize the cursor?

-CDuddley
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top