Hello all,
Forgive me if this question has been asked already -- I looked around but couldn't find an answer.
How does one, from within an EB program, hide the mouse pointer in full-screen DirectX mode?
For 2D or 3D?
For 2D programs:
SETCURSOR FrontBuffer,@CSCUSTOM,0
Will do it and
SETCURSOR FrontBuffer,@CSARROW
Brings it back.
For 3D programs the commands are the same, just substitute your window variable name for FrontBuffer.
Paul.
can't you use the frontbuffer in a fullscreen d3d screen as well?
FrontBuffer/BackBuffer are reserved variable name only used for 2D screens (DX7). I was actually wrong about the 3D screen method, was thinking about the old 3D engine we used to have,
For a 3D screen use the m_win member variable of your screen object.
C3DScreen s
s.CreateWindowed(0,0,640,480,@CAPTION|@SIZE,"3D Test - ESC exits",NULL,false)
SETCURSOR s.m_win,@CSCUSTOM,0
...
SETCURSOR s.m_win,@CSARROW
Thank you!