C++ Windows Programming Question

  Nigel-331402 15:34 09 Sep 04

I've got this piece of code

LRESULT OnLButtonDown(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled)
return (0);

which gets called when I press the left mouse button over a particular window (this is Visual Studio 6 generated).

I need to know the relative coordinates (relative to window origin) of the mouse but for the life of me I can't see how to find it.

Can somebody offer any help ?

  Nigel-331402 15:10 10 Sep 04

Got it sorted now.

This thread is now locked and can not be replied to.

Hands-on: Acer Predator Triton 700 review

1995-2015: How technology has changed the world in 20 years

This poetic animation about monsters is illustrated in a Van Gogh painterly style

Apple predictions 2017