View Full Version : Accessing High and Low Byte...
02-14-2001, 05:04 AM
How can I access high and low bytes of a message? In T-Pascal I used msg.lParamLo and msg.lParamHi (in this case to get mousecursor coordinates), but VC++ doesn't know these.
02-14-2001, 05:27 AM
HIWORD(msg.lParam) and LOWORD(msg.lParam)
should be what you need, assuming msg is of type MSG.
02-14-2001, 05:36 AM
Hey, that was fast! And exactly what I needed, thanx! http://www.opengl.org/discussion_boards/ubb/smile.gif
Powered by vBulletin® Version 4.2.2 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.