Hardware 3D (C++ DirectX Graphics) Tutorial 29
From Chilipedia
We take the first step in creating a free mouse-look camera control by adding the ability to hide the Windows cursor as well as the ability to confine the cursor to our window.
Topics Covered
- Hiding the cursor with
ShowCursor
- Confining the cursor with
ClipCursor
- Using
WM_ACTIVATE
to handle window activation/deactivation