|
|
我想让 DIPROPDWORD 里的dwData 数据储存的 是鼠标的绝对坐标而不是相对坐标
应该怎么办?
通过艰难的看SDK发现了这个SetProperty函数...
但是用hr = m_pMouse->SetProperty(DIPROP_AXISMODE,DIPROPAXISMODE_ABS );
hr值为DIERR_INVALIDPARAM;
SDK 上面说Sets the axis mode. The value being set (DIPROPAXISMODE_ABS or DIPROPAXISMODE_REL) must be specified in the dwData member of the associated DIPROPDWORD structure.
很不懂,难道是要设置相关的DIPROPDWORD.dwData 值为DIPROPAXISMODE_ABS 么?还是没用啊
求解~ |
|