beaglebuddy
April 20th, 1999, 11:12 AM
I have a common control where I want to process left mouse clicks. According to the VC++ 6.0 documentation, the control receives a WM_NOTIFY message with a pointer to an NMHDR structure with the code data member set to NM_CLICK. I have not been able to determine the location of the mouse click from this message, which, to me, seems to be the whole point of processing mouse clicks.
Does anyone know how to get the location of the mouse click when some clicks the left mouse button for a common control?
The message handler function is prototyped as:
void Common_Control::OnLeftMouseClick(NMHDR* pNMHDR, LRESULT* pResult);
Does anyone know how to get the location of the mouse click when some clicks the left mouse button for a common control?
The message handler function is prototyped as:
void Common_Control::OnLeftMouseClick(NMHDR* pNMHDR, LRESULT* pResult);