Change the cursor

Started by
0 comments, last by HiddenInBSP 21 years, 9 months ago
Can someone tell me how can I change the default cursor in my Direct8 application, and put a cursor from a bitmap file... Thanks
Advertisement
If it''s a full screen application, look at the DX8 docs for:

IDirect3DDevice8::SetCursorProperties
IDirect3DDevice8::SetCursorPosition
IDirect3DDevice8::ShowCursor


For a windowed application, that should still work within your window (IIRC).

Alternatively for a windowed application, look at MSDN docs for the following Win32 functions:

LoadCursor()
LoadCursorFromFile()
CreateCursor()
DestroyCursor()
SetCursorPos()
SetCursor()
SetSystemCursor()





--
Simon O''Connor
Creative Asylum Ltd
www.creative-asylum.com

Simon O'Connor | Technical Director (Newcastle) Lockwood Publishing | LinkedIn | Personal site

This topic is closed to new replies.

Advertisement