C++ Windows Programming Question

  Nigel-331402 15:34 09 Sep 2004
Locked

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

Best Black Friday Deals 2017

Black Friday Deals for Designers & Artists: Adobe, Apple, Corel Painter, Microsoft Surface, Wacom &e…

Best Black Friday Apple Deals 2017

Black Friday 2017 : date, sites participants & bonnes affaires