THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 15/01/2011 at 20:18, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 12
Platform: Windows ;
Language(s) : C++ ;
---------
Does Anyone know how to check to see if the middle mousewheel is being spun?
Here's the code I'm trying but it doesn't work.
if (GetInputEvent(BFM_INPUT_KEYBOARD, state))
{
LONG key = state.GetLong(BFM_INPUT_QUALIFIER);
if((key & QCTRL)){
if (msg.GetLong(BFM_INPUT_CHANNEL) == BFM_INPUT_FINGERWHEEL)
{
GePrint("The Wheel is spinning");
}
}
}
It works if I use BFM_INPUT_MOUSELEFT but doesn't work with BFM_INPUT_FINGERWHEEL or BFM_INPUT_MOUSEWHEEL Any thoughts?
thanks,
Shawn