C++ Windows Programming Question

  Nigel-331402 15:34 09 Sep 2004

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 2004

Got it sorted now.

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

Elsewhere on IDG sites

OnePlus 5 review

Alice Saey's mesmerising animation for Dutch singer Mark Lotterman

iPad Pro 10.5in (2017) review

Comment faire une capture d’écran sur un Mac ?