Hi I am having a problem with the calling of this function:
OnLButtonUp(UINT nFlags, CPoint point)
My GUI has a display area with some controls on it such as buttons, edit boxes etc. I am trying to trap the event when the user clicks the left mouse button and when the user lets go of the left mouse button. Things work fine if the user clicks on the display area but not if they click on a control. When the user clicks on a control, the OnLButtonDown and OnLbuttonUp functions are not being called. Can someone tell me why and how to fix this? Thanks.
OnLButtonUp(UINT nFlags, CPoint point)
My GUI has a display area with some controls on it such as buttons, edit boxes etc. I am trying to trap the event when the user clicks the left mouse button and when the user lets go of the left mouse button. Things work fine if the user clicks on the display area but not if they click on a control. When the user clicks on a control, the OnLButtonDown and OnLbuttonUp functions are not being called. Can someone tell me why and how to fix this? Thanks.