Sign in to follow this  

Help on 256-Colour Cursors

Recommended Posts

I'm trying to create a custom cursor in VC++ .net Any cursor resources I create using 256 colours appear as completely transparent when I run my app. 16 colour cursors also appear as just monochrome black/white. I enter my cursor into the windows class using the code: // Register the window class WNDCLASS wndClass = { 0, WndProc, 0, 0, m_hAppInst, LoadIcon( m_hAppInst, MAKEINTRESOURCE(IDI_MAIN_ICON) ), LoadCursor( m_hAppInst, MAKEINTRESOURCE(IDC_CURSOR) ), (HBRUSH)GetStockObject(BLACK_BRUSH), NULL, _T("D3D Window") }; RegisterClass( &wndClass ); Did anyone have this problem before ? Big thanks for any help on this. Andrew

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this