Change the cursor
Can someone tell me how can I change the default cursor in my Direct8 application, and put a cursor from a bitmap file...
Thanks
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
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
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement