Sign in to follow this  
lucky6969b

Picking and raw input

Recommended Posts

WM_LBUTTONDOWN or WM_LBUTTONUP is usually the best time. Just make sure you use the mouse position that's passed in the LPARAM and not GetCursorPos() or similar - since the mouse may have moved between the time WM_LBUTTON* was sent and when it was processed by your window procedure.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this