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.

Nintendo Switch review: Hands-on with the intuitive modular console and its disappointing games…

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

Method Studios' title sequence for BBC series Taboo is truly unsettling

Best Pages for iOS tips | How to use Pages for iPad & iPhone: 7 simple tips to get more out of…