反之:
CPoint point(lParam);
里面的实现是:
CPoint(_In_ LPARAM dwPoint) throw();
...
ATLTYPES_INLINE CPoint::CPoint(_In_ LPARAM dwPoint) throw()
{
x = (short)GET_X_LPARAM(dwPoint);
y = (short)GET_Y_LPARAM(dwPoint);
}
如何把一个POINT转化为lParam参数
来源:清泛原创 2016-12-23 10:29:32 人气: 我有话说( 0 人参与)
MAKELPARAM(pt.x, pt.y);反之:CPoint point(lParam);里面的实现是:CPoint(_In_ LPARAM dwPoint) throw();...ATLTYPES_INLINE CPoin...