Hardware 3D (C++ DirectX Graphics) Tutorial 29
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.
- Hiding the cursor with
- Confining the cursor with
WM_ACTIVATEto handle window activation