In D3D in Auroroa how do you detect the mouse button status? Button pressed or button down or button released?
Barry
You can:
1. Use a handler, Override OnLButtonDown, OnLButtonUp in the C3DScreen class which is derived from CWindow so can handle all of the messages a normal window can.
2. Use GETKEYSTATE as in the frags example. GETKEYSTATE(0x01) = left button, GETKEYSTATE(0x02) = right button, GETKEYSTATE(0x04) = middle button
3. Use the CDirectInput class.
Paul.