还在苦苦敲代码开发APP?你out啦! 试试积木搭建APP吧~

如何把一个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...

MAKELPARAM(pt.x, pt.y);

反之:

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);
}

CPoint POINT lParam

注:本文为本站或本站会员原创优质内容,版权属于原作者及清泛网所有,
欢迎转载,转载时须注明版权并添加来源链接,谢谢合作! (编辑:admin)
分享到: